Hi All

I have created a little bash script that sits in /usr/local/sbin and is
owned by backuppc:backuppc I copied the command that is used to run the
archive through the cgi but I think I am missing something, following is the
command that I am running but it seems to try and backup * in the pwd of my
bash script? I am not too sure where the files are that the archive sends to
tape

# begin bash script

#!/bin/sh
/bin/mt -f /dev/st0

/usr/share/backuppc/bin/BackupPC_archiveHost
/usr/share/backuppc/bin/BackupPC_tarCreate /usr/bin/split /usr/bin/par2 host
18 /bin/gzip .gz 0000000 /dev/st0 0 *

/bin/mt -f /dev/st0 rewoffl

#end bash script

Thank you,

Mark Adrian Coetser
[EMAIL PROTECTED]
http://www.tux-edo.co.za, http://www.thummb.com
cel: +27 76 527 8789
 


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to