Re: Copy a tape with a single drive...
Bill Arlofski via Bacula-users <[email protected]>
| Newsgroups | gmane.comp.bacula.user |
|---|---|
| Message-ID | <[email protected]> |
On 1/31/25 3:48 AM, Martin Simmons wrote: >>>>>> On Thu, 30 Jan 2025 17:20:21 +0000, Bill Arlofski via Bacula-users said: >> >> If I understand correctly, you just want to copy an entire tape to another tape but only have one tape drive? >> >> If yes, you can do this entirely outside of Bacula by using `dd` to read the entire tape to a file on disk, then use `dd` >> again to read the file and write to the new tape. > > I suspect that isn't easy, because tapes are split into logical files > (BaculaSD's "MaximumFileSize"). > > That means you have to run dd repeatedly (to separate disk files) to get every > tape logical file, then the same number of dds to write those logical files to > the new tape and then maybe use mt weof the correct number of times at the end > to match BaculaSD's "TWO EOF" setting? > > __Martin Ahhh! Yes, you are exactly correct Martin! I hadn't considered the file markers! 🤦 Best regards, Bill -- Bill Arlofski [email protected] _______________________________________________ Bacula-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/bacula-users
signature.asc
(application/pgp-signature, 509 B)
-----BEGIN PGP SIGNATURE----- Version: ProtonMail wsBzBAEBCAAnBQJnnRGZCRBIDTDab9XDQBYhBMuLnlBaSQiuSUbb6UgNMNpv 1cNAAAADyAf9FV7yQ0cJySW/V+5Kwt9MlDEWQexNDFw74xm9WB+IMJzJLD2T Wb038yIi9Li6Jwm/H3FvDp4SWCScT7JxJqXKS3ilxV3O0PxQJ+kYefch+owj vZ6rwcnbTwpy1GsOxOnNDLjcY0xniO3xi1nJyQdTwZxo6rBEId7JbB1U9hDM 0bqWd/Cdrw4+31Jqb4773B4Ulj5R4Ud+dVWdODXaIN+Da+pQgJvkWo+X5Vcc r1gVbR7Jq8MrdOjXIQFtzUIOuV1BL6r5kTD3A7Y9KmHAC/Jp/616Q+ZvX0m8 /QGYPIXfeZodIcNv2Qq1cFy0x3lnja7+wCugIGQEenzjuPwakmdpOA== =odGi -----END PGP SIGNATURE-----