On Tue, Mar 3, 2015 at 8:47 PM, higuita <higu...@gmx.net> wrote: > Hi > > I love backuppc, is very flexible and works very well... but i > miss one feature: Exec backup type > > I want to execute a remote script to do a backup. The backup will > not be store in backuppc, so all i need is to execute a script and save > the status and the script log. > > Right now i workaround with tar, i replace the tar command > with a script that will execute my command and then tars the log, so > backuppc can see the backup status and a user can checkout the log. > It works, but is a pain to have to play with tar command, the full > and incremental options to do what i need. > > A simple ssh $host $script $options would be perfect, where > the $options get their parameters from the full and incremental > backup.
You should be able to use the DumpPreUserCmd for that, then perhaps back up a directory containing the log of the operation. You'd get scheduling and the ability to see failures in one place. > Restore could also be a script. The script status code and > stdout and stderr should be captured and logged by backuppc. No files > are transfered to backuppc, so the size for this type of backups could > always be zero in the status (or show it inside a [], to flag a remote > backup) Not sure how you would control what was restored, though. -- Les Mikesell lesmikes...@gmail.com ------------------------------------------------------------------------------ Dive into the World of Parallel Programming The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ BackupPC-devel mailing list BackupPC-devel@lists.sourceforge.net List: https://lists.sourceforge.net/lists/listinfo/backuppc-devel Wiki: http://backuppc.wiki.sourceforge.net Project: http://backuppc.sourceforge.net/