david/sshbackup
david
/
sshbackup
Archived
1
0
Fork 0
bash script for performing incremental backups.
This repository has been archived on 2023-12-23. You can view files and clone it, but cannot push or open issues or pull requests.
Go to file
david e4d95f75f0 added sshbackupv03 draft with a nice little unfinished option handler 2013-03-15 12:20:52 +01:00
README.md working.. 2012-12-18 21:10:38 +01:00
deploy.sh working.. 2012-12-20 16:31:35 +01:00
sourcefile_sample added script, sample config and readme content 2012-08-27 11:20:22 +02:00
sshbackup.sh working.. 2012-12-20 16:31:35 +01:00
sshbackup_v0.3.sh added sshbackupv03 draft with a nice little unfinished option handler 2013-03-15 12:20:52 +01:00

README.md

#sshbackup

bash script which does incremental backups through ssh using rsync. it is supposed to be amazingly easy to install, configure and maintain.

installation/usage:

  • 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.

bugs/features:

  • the remote sourcepath must be able to be listed by the remote backup user

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

license:

  • public domain (do whatever, i'm not claiming anything)