aboutsummaryrefslogtreecommitdiff
path: root/rsync-backup.sh
AgeCommit message (Collapse)Author
2019-04-04Add remote backup functionalityEinhard Leichtfuß
Create wrapper functions that take a host and a function with named arguments. The supplied function is the to be executed on the specified host, which may be the empty string signifying local execution. These wrapper functions essentially export the to be run function and any of its recursive dependencies, further the named arguments as variables, to the remote host, and run the function remotely. That is, if the host is non-local. Also, - use appropriate function names to differentiate between destination and source host wherever applicable. - add comments, - enhance TODO and README, - rename some variables in order to increase consistency, - move some global declarations further upward, - make variables readonly when reasonable, - use named return and exit codes, - add a general `ask'-function.
2018-12-26Fix license noteEinhard Leichtfuß
2018-12-01Fix by_number/Einhard Leichtfuß
Before, it did not work correctly for >= 100 backups. (There would only be prepended 0 or nothing to the unpadded number.)
2018-11-29https license linkEinhard Leichtfuß
2018-10-08Add `--acls' `--xattrs'Einhard Leichtfuß
E.g. /usr/bin/ping on Arch has capabilities, hence extended attributes set.
2018-10-08Apply generic filter after specific filterEinhard Leichtfuß
Also: - Remove `-vv'. - Add progress bar.
2018-04-08Update TODOEinhard Leichtfuß
2018-04-02Initial commitEinhard Leichtfuß