2013-04-26 11:00:09 +02:00
|
|
|
sshbackup
|
|
|
|
=========
|
2012-08-27 11:13:24 +02:00
|
|
|
|
2012-08-27 11:22:24 +02:00
|
|
|
bash script which does incremental backups through ssh using rsync.
|
2012-12-18 21:10:38 +01:00
|
|
|
it is supposed to be amazingly easy to install, configure and maintain.
|
2012-08-27 11:20:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
installation/usage:
|
2012-12-18 21:10:38 +01:00
|
|
|
* put the file sshbackup.sh somewhere you like to have it and run it as root.
|
|
|
|
* root must have a sshkey to connect to remote machines.
|
|
|
|
* first option must be the sourcefile.
|
|
|
|
* sourcefile example can be found in sourcefile sample.
|
|
|
|
* logs go to /var/log/sshbackup.log
|
|
|
|
* configure a cron job for continuous backups
|
|
|
|
|
|
|
|
in order to have mail notifications working you need your cron system be able
|
|
|
|
to send mails with the MAILTO directive in crontab.
|
|
|
|
the sshbackup scripts only output to stdout will be when an error occures.
|
|
|
|
cron will send you a mail on output to stdout of a script which is run by it.
|
2012-08-27 11:20:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
bugs/features:
|
2012-12-18 21:10:38 +01:00
|
|
|
* the remote sourcepath must be able to be listed by the remote backup user
|
2012-08-27 11:20:22 +02:00
|
|
|
|
|
|
|
|
2012-12-18 21:10:38 +01:00
|
|
|
todo/wanted: (roadmap)
|
|
|
|
* deploy feature (deploy required settings to remote machine)
|
|
|
|
* better notification system (for now its just crons mail on output feature)
|
|
|
|
* check if destination is full
|
2012-08-27 11:20:22 +02:00
|
|
|
|
|
|
|
|
|
|
|
license:
|
2012-12-18 21:10:38 +01:00
|
|
|
* public domain (do whatever, i'm not claiming anything)
|
|
|
|
|
|
|
|
|
|
|
|
|