From: Stephen Joyce <stephen@ph...> - 2006-09-27 14:39:05
Has anyone implemented a "generic" Xfer method for BackupPC? If not, would
anyone consider doing so?
Basically I want a method capable of running any user-specified command
(like dump, for example, but not limited to that) and storing the raw
output in a single backup file/archive--keyed on date or some other
user-specified attribute. Of course, the method also has to be able to dump
that raw file back to the client using a user-specified command
(ufsrestore, for instance).
I have considered using the pre and post dump commands to do this:
generating a file and then using the tar Xfer method to backup that file,
and that should be possible.
But to me it just seems a lot less clean (and requires a lot more overhead)
- create archive
- backup archive using backuppc
- delete archive
than it does to create archive and stream to backuppc. Especially if the
volume of data being backed up runs into the multi-gigabyte range and
considering that these files, as the raw output of a user command, are
probably never going to duplicate.
Am I way off base here?