some refactoring + support for multiple directories with and without incremental backups

This commit is contained in:
Von Random 2014-12-22 17:28:49 +03:00
parent 2e0cd8f7af
commit 54436c3cf2
2 changed files with 62 additions and 49 deletions

View file

@ -1,5 +1,4 @@
protocol=ssh # ftp, sftp, ftps, ssh or local
source_dir=/home/user/source
remote_host=hostname.tld
backup_dir=relative_or_full_path
#snap_file=/var/backup/snapshot.list
@ -7,3 +6,6 @@ backup_dir=relative_or_full_path
compress_format=xz # gz, bz2, xz or empty for non-compressed
remote_user=username
remote_pass=PassWd
source_dirs=( '/home/user/source1:/var/backup/snapshot.list' )
# vim: ft=zsh