martin f krafft <madd...@madduck.net> wrote on 12/02/2015 05:20:31 PM:
> I am looking for a way to automate sending an archive (tarball) of
> the latest backup of each of my hosts to an offsite machine, using
> scp and GnuPG for encryption. Can this be done within BackupPC and
> scheduled regularly, or is this a cronjob I'd need to hack up?
Well... BackupPC can generate tarballs. That's about it. Everything
else you've described is left as an exercise for the reader: how to
execute this via a schedule (such as cronjob as you surmised), how to
encrypt it, how to get it to the remote machine (scp, or using a
NFS/CIFS/SSHFS mount, etc.) and any other features you may like.
Personally, I simply archive them to a local machine with a removable
tray, so I don't have to worry about scp to another machine -- and I
believe in keeping archives as *simple* (and disaster-recoverable) as
possible, so no GnuPG. So I use a cronjob to generate a file and submit
that file to BackupPC using BackupPC_serverMesg. This is the same method
that is used when you run a manual archive job using the Web GUI: I just
reverse-engineered it from the source. Others use BackupPC_tarCreate by
hand. That's probably a better choice if you'll be piping the output
somewhere instead of simply writing it to the filesystem like I do.
Tim Massey
Out of the Box Solutions, Inc.
Creative IT Solutions Made Simple!
http://www.OutOfTheBoxSolutions.com
tmas...@obscorp.com
22108 Harper Ave.
St. Clair Shores, MI 48080
Office: (800)750-4OBS (4627)
Cell: (586)945-8796
------------------------------------------------------------------------------
Go from Idea to Many App Stores Faster with Intel(R) XDK
Give your users amazing mobile app experiences with Intel(R) XDK.
Use one codebase in this all-in-one HTML5 development environment.
Design, debug & build mobile apps & 2D/3D high-impact games for multiple OSs.
http://pubads.g.doubleclick.net/gampad/clk?id=254741911&iu=/4140
_______________________________________________
BackupPC-users mailing list
BackupPC-users@lists.sourceforge.net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/