> John, > > I have tried using the device names (i.e. /dev/nst2 and /dev/nst3) > instead and receive the same error. > > Jack > > > On Mon, Apr 30, 2012 at 11:11 AM, Jack Cobb<jc...@skylinecorp.com> wrote: >> Hello everyone, >> >> I am wanting to copy data from one tape to a second tape so I have >> one offsite and the other onsite. I am using the bcopy utility but >> when I enter the following command I receive an error message: >> >> bcopy -c /etc/bacula/bacula-sd.conf -i LTO-4-0 -o LTO-4-1 -v >> bcopy: bcopy.c:163 Wrong number of arguments: >> Copyright (C) 2002-2010 Free Software Foundation Europe e.V. >> >> Version: 5.0.1 (24 February 2010) >> >> Usage: bcopy [-d debug_level]<input-archive> <output-archive> >> -b bootstrap specify a bootstrap file >> -c<file> specify a Storage configuration file >> -d<nn> set debug level to<nn> >> -dt print timestamp in debug output >> -i specify input Volume names (separated by |) >> -o specify output Volume names (separated by |) >> -p proceed inspite of errors >> -v verbose >> -w<dir> specify working directory (default /tmp) >> -? print this message >> >> I have the bacula services turned off and am referencing the device >> names in bacula-sd.conf. The storage devices are tape drives in a >> Dell TL-2000 tape library and I have tapes mounted in their >> respective drives. If anyone could offer some assistance I would appreciate it. > Thanks. >> > > It looks from that you are missing the input-archive and output-archive. > Although I am not at the moment sure what is expected for these > (device names? /dev/nst0 ...) > > John
> Hi, > Could you try something like this: > > bcopy -c /etc/bacula/bacula-sd.conf -i LTO-4-0 -o LTO-4-1 /dev/nst2 > /dev/nst3 > > I have never used bcopy with two tape drives. In the bcopy documentation is a note about that > this compliance with two tape drives has been never tested. > In addition I suggest to add debug to your bcopy command, eg. > bcopy -d 400 -c /etc/bacula/bacula-sd.conf -i LTO-4-0 -o LTO-4-1 > /dev/nst2 /dev/nst3 > Good luck! :) > Gani Gani, Thanks for the reply. I created a bootstrap file with the tape volume names in it separated by a | symbol and then used the following command which was successful: bcopy -b /etc/bacula/list.bsr -c /etc/bacula/bacula-sd.conf /dev/nst3 /dev/nst2 Jack Cobb ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users