Re: [Bacula-users] Copy a tape with a single drive...

2025-03-17 Thread Marco Gaiarin
Mandi! Marco Gaiarin In chel di` si favelave... > I've done a quick test, and seems work... but still i ask for feedback. OK, definitively work; supposing to have a tape storage 'LTO5Storage' and a media labelled 'PPPVE3_0001', you need firstly to create the boostrap file: echo 'volume

Re: [Bacula-users] Copy a tape with a single drive...

2025-03-06 Thread Marco Gaiarin
> So, a 'bacula tape copy machine' will have to, theoretically: > + for every job in tape: >- copy bootstrap file from director for that job >- dump that jobs in tape to disk volume >- dump disk volume to 'copy tape' >- purge and truncate disk volume >- repeat > ...seems pret

Re: [Bacula-users] Copy a tape with a single drive...

2025-03-06 Thread Marco Gaiarin
> so, i can use a command (bscan?) to scan a media, build a BSR file and then > use it to copy ALL jobs within the media? Eric add in bug: >> I think you need to put >> volume=AA >> in a text file, and use -b in the command line Looking at: https://www.bacula.org/9.4.x-manuals/

Re: [Bacula-users] Copy a tape with a single drive...

2025-02-22 Thread Marco Gaiarin
> I've still two question. More question rised. Seems that, even using a temporary file media, copy is more performative then a full backup. For example, on a test system with an LTO5 tape, full backup took 14 hour, while copy tape to file media took 4 hour, and file back to tape 3 hour; so, m

Re: [Bacula-users] Copy a tape with a single drive...

2025-02-19 Thread Marco Gaiarin
Mandi! Marco Gaiarin In chel di` si favelave... > I've tried also here: > > https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/issues/2745 OK, bug fixed in current community version. I've still two question. 1) as a workaround the bootstrap 'bsr' file can be used t

Re: [Bacula-users] Copy a tape with a single drive...

2025-02-14 Thread Marco Gaiarin
> but my C and bacula knowledge is minimal... I've tried also here: https://gitlab.bacula.org/bacula-community-edition/bacula-community/-/issues/2745 Thanks. -- ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://

Re: [Bacula-users] Copy a tape with a single drive...

2025-02-10 Thread Marco Gaiarin
>> 04-Feb 15:02 bcopy JobId 0: Warning: vol_mgr.c:386 Could not reserve volume >> "PPPVE3LTOCopy_0001" for append, because it will be read. > Googling about this lead me to only two result: I've run it under heavvy debug: root@pppve3:~# bcopy -d999 LTO5Storage FileStorage -i PPPVE3_0004 -o

Re: [Bacula-users] Copy a tape with a single drive...

2025-02-09 Thread Marco Gaiarin
> 04-Feb 15:02 bcopy JobId 0: Warning: vol_mgr.c:386 Could not reserve volume > "PPPVE3LTOCopy_0001" for append, because it will be read. Googling about this lead me to only two result: https://sourceforge.net/p/bacula/mailman/bacula-users/thread/53C0253A.1010801%40intelesyscorp.com/

Re: [Bacula-users] Copy a tape with a single drive...

2025-02-04 Thread Marco Gaiarin
Mandi! Bill Arlofski via Bacula-users In chel di` si favelave... > I guess you could simply set up a disk-based storage and pool, bcopy from > tape to file-based media in this new pool, then > bcopy from that disk-based media to another tape. OK, done but i catch some mysterious error... I'v

Re: [Bacula-users] Copy a tape with a single drive...

2025-01-31 Thread Bill Arlofski via Bacula-users
On 1/31/25 9:46 AM, Marco Gaiarin wrote: > > As stated by Marcin, and to stay in the «there's everyday a new thing to learn in bacula», heh.. Yes this is true. We show a humorous image (origin unknown) during the Bacula Admin I course. It is titled something like "The Bacula Learning Curve", a

Re: [Bacula-users] Copy a tape with a single drive...

2025-01-31 Thread Bill Arlofski via Bacula-users
On 1/31/25 2:19 PM, Michel Figgins wrote: Just a general question: Why would dd if=/dev/nst0 of=somefile care about tape logical files? - Michel Hello Michel, That's just how `dd` works from my experience. It will stop when it reaches an EOF marker, so Martin was right. Best regards, Bill

Re: [Bacula-users] Copy a tape with a single drive...

2025-01-31 Thread Michel Figgins
] Copy a tape with a single drive... On 1/31/25 3:48 AM, Martin Simmons wrote: >>>>>> On Thu, 30 Jan 2025 17:20:21 +, Bill Arlofski via Bacula-users said: >> >> If I understand correctly, you just want to copy an entire tape to another >> tape but only have o

Re: [Bacula-users] Copy a tape with a single drive...

2025-01-31 Thread Marco Gaiarin
Mandi! Bill Arlofski via Bacula-users In chel di` si favelave... > If I understand correctly, you just want to copy an entire tape to another > tape but only have one tape drive? Exactly. > If yes, you can do this entirely outside of Bacula by using `dd` to read the > entire tape to a file

Re: [Bacula-users] Copy a tape with a single drive...

2025-01-31 Thread Bill Arlofski via Bacula-users
On 1/31/25 3:48 AM, Martin Simmons wrote: On Thu, 30 Jan 2025 17:20:21 +, 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

Re: [Bacula-users] Copy a tape with a single drive...

2025-01-31 Thread Jose Alberto
Yes, you must have 2 different storage media. disk to tape disk to disk tape to tape tape to disk On Thu, Jan 30, 2025 at 1:11 PM Marco Gaiarin wrote: > > I need to 'copy' a tape, bt using a single drive. > > There's something 'smart' i can do, or the only option is to build two > jobs, > one t

Re: [Bacula-users] Copy a tape with a single drive...

2025-01-31 Thread Martin Simmons
> On Thu, 30 Jan 2025 17:20:21 +, 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

Re: [Bacula-users] Copy a tape with a single drive...

2025-01-30 Thread Marcin Haba
On Thu, 30 Jan 2025 at 18:21, Bill Arlofski via Bacula-users wrote: > > On 1/30/25 4:43 AM, Marco Gaiarin wrote: > > > > I need to 'copy' a tape, bt using a single drive. > > > > There's something 'smart' i can do, or the only option is to build two jobs, > > one that copy the media in a different

Re: [Bacula-users] Copy a tape with a single drive...

2025-01-30 Thread Bill Arlofski via Bacula-users
On 1/30/25 4:43 AM, Marco Gaiarin wrote: I need to 'copy' a tape, bt using a single drive. There's something 'smart' i can do, or the only option is to build two jobs, one that copy the media in a different type (eg, files) and then migrate it on tape? Thanks. Hello Marco, If I understand