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

Marco Gaiarin <[email protected]>
Newsgroups gmane.comp.bacula.user
Organization Il gaio usa sempre TIN per le liste, fallo anche tu!!!
Message-ID <[email protected]>
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 to make bcopy work;
 but the bootstrap file is a 'director' thing, while copy a media is a
'storage' thing.
There's some preferred/smarter way to get bsr file from director in a storage?

2) test copy from tape to file done; print some warning:

 root@pppve3:~# bcopy LTO5Storage FileStorage -i PPPVE3_0001 -o PPPVE3LTOCopy_0001 -b /tmp/FVG-PP-PPPVE3.bsr
 bcopy: butil.c:292-0 Using device: "LTO5Storage" for reading.
 18-Feb 18:58 bcopy JobId 0: Ready to read from volume "PPPVE3_0001" on Tape device "LTO5Storage" (/dev/nst0).
 bcopy: butil.c:290-0 Using device: "FileStorage" for writing.
 18-Feb 18:58 bcopy JobId 0: Wrote label to prelabeled Volume "PPPVE3LTOCopy_0001" on File device "FileStorage" (/rpool-backup/bacula)
 18-Feb 18:58 bcopy JobId 0: Forward spacing Volume "PPPVE3_0001" to addr=0:1
 bcopy: read_records.c:204-0 invalid: rec=1023952 block=0 state=partial,empty
 bcopy: read_records.c:341-0 The record 4 in block 0 SI=207 ST=1738676785 FI=145389 was marked as invalid
 bcopy: read_records.c:204-0 invalid: rec=1023952 block=0 state=partial,empty
 bcopy: read_records.c:341-0 The record 4 in block 0 SI=207 ST=1738676785 FI=319423 was marked as invalid
 bcopy: read_records.c:204-0 invalid: rec=1023952 block=0 state=partial,empty
 bcopy: read_records.c:341-0 The record 4 in block 0 SI=207 ST=1738676785 FI=472239 was marked as invalid
 bcopy: read_records.c:204-0 invalid: rec=1023952 block=0 state=partial,empty
 bcopy: read_records.c:341-0 The record 10 in block 0 SI=207 ST=1738676785 FI=1024818 was marked as invalid
 18-Feb 22:54 bcopy JobId 0: End of Volume "PPPVE3_0001" at addr=0:0 on device "LTO5Storage" (/dev/nst0).
 bcopy: bcopy.c:287-0 EOT label not copied.
 bcopy: bcopy.c:210-0 4 Jobs copied. 27815967 records copied.

i need to be scared about?


Thanks.

--
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.