From: Roy K. <rk...@ps...> - 2006-01-30 06:27:17
|
Mr. Barratt, Excellent. I'll begin playing around with it this week. Thanks, Roy Keene Planning Systems Inc On Sun, 29 Jan 2006, Craig Barratt wrote: > Roy Keene writes: > >> I've got the development snapshot of BackupPCd to a point where it >> would be useful to have the BackupPC/perl portion implemented to continue >> development. The arguments I'm going to need are: the directory where the >> pool is; the directory where the last run was; the boolean value >> indicating whether or not the pool is compressed or not; and the >> directory where the new run should occur (currently it assumes ".") > > I checked new code into CVS that provides basic support for > BackupPCd. It is a new XferMethod, and the code is in > lib/BackupPC/Xfer/BackupPCd. There are 4 new config > variables for specifying the share, the executable path, > and the backup and restore commands. The backup command > is run and the stdout/stderr is captured and placed into > the XferLOG file. Code needs to be added to parse the > output to get Xfer stats, errors and bad files. > > A comment about the arguments: I assume the "directory where the > last run was" is the last full? I haven't implemented that yet. > Do you also need a flag for full vs incremental for the new > backup? We'll also need a way to get the exclude/include > arguments passed (and we need to decide what they mean). > We could make them the same as rsync. > > Anyhow, check it out and it will be easy to add additional > features or to change the way the interface works. > > Craig > |