Re: Copy a tape with a single drive...

Martin Simmons <[email protected]>
Newsgroups gmane.comp.bacula.user
Message-ID <[email protected]>
>>>>> 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.