dan wrote:

i run this command as per the directions(needed to su backuppc!)

Yes, I said you needed to run these commands as the backuppc user. I meant it, I wasn't joking. :o)

./BackupPC_zipCreate -h hostname -n -1 -c 3

but it does not have an option of where to save the zip for OR how to specify all files.

This is what I see when I use these commands:

----
$ bin/BackupPC_zipCreate
usage: bin/BackupPC_zipCreate [options] files/directories...
  Required options:
     -h host         host from which the zip archive is created
     -n dumpNum      dump number from which the tar archive is created
                     A negative number means relative to the end (eg -1
means the most recent dump, -2 2nd most recent etc).
     -s shareName    share name from which the zip archive is created

  Other options:
     -t              print summary totals
     -r pathRemove   path prefix that will be replaced with pathAdd
     -p pathAdd      new path prefix
     -c level        compression level (default is 0, no compression)
     -e charset      charset for encoding file names (default: value of
                     $Conf{ClientCharset} when backup was done)

$ bin/BackupPC_tarCreate
usage: bin/BackupPC_tarCreate [options] files/directories...
  Required options:
     -h host         host from which the tar archive is created
     -n dumpNum      dump number from which the tar archive is created
                     A negative number means relative to the end (eg -1
means the most recent dump, -2 2nd most recent etc).
     -s shareName    share name from which the tar archive is created

  Other options:
     -t              print summary totals
     -r pathRemove   path prefix that will be replaced with pathAdd
     -p pathAdd      new path prefix
-b BLOCKS BLOCKS x 512 bytes per record (default 20; same as tar)
     -w writeBufSz   write buffer size (default 1048576 = 1MB)
     -e charset      charset for encoding file names (default: value of
                     $Conf{ClientCharset} when backup was done)
----

This tells you to specify the files/directories as the last argument. You can redirect standard output to a file to create a zip file.

$ bin/BackupPC_zipCreate [options] files/directories > /path/to/ filename.zip $ bin/BackupPC_tarCreate [options] files/directories > /path/to/ filename.tar

Nils Breunese.

Attachment: PGP.sig
Description: Dit deel van het bericht is digitaal ondertekend

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
BackupPC-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/backuppc-users
http://backuppc.sourceforge.net/

Reply via email to