On 10/18 08:55 , dan wrote:
> i run this command as per the directions(needed to su backuppc!)
> 
> ./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.


I've never used BackupPC_zipCreate; but I'll presume it's like 
BackupPC_tarCreate.

/usr/share/backuppc/bin/BackupPC_tarCreate -h <hostname> -n <backupnumber>
-s <sharename> <path of files within that share> > <output filename>

The bits you're missing are:

-s <sharename> <path of files within that share>

and the redirection to the file you want to be the output. Alternatively,
you can pipe to another program, and send the stream across the network with
netcat or the like.


Here's an example:

/usr/share/backuppc/bin/BackupPC_tarCreate -h host.example.tld -n -1 -s / 
/var/samba/cadshare/cadbackup |gzip -1 |nc host.example.tld 8888 

Of course on the other side you have another netcat process listening for
the connection and piping the output to a tar command. (or dd, if you just
wanted to capture an image of the tarfile).

-- 
Carl Soderstrom
Systems Administrator
Real-Time Enterprises
www.real-time.com

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