Commit Graph

108 Commits

Author SHA1 Message Date
Janek Bevendorff c502982cac Add systemd service and timer for client 2015-10-16 13:22:04 +02:00
Janek Bevendorff 785c0245f0 Simplify code 2015-10-14 20:35:55 +02:00
Janek Bevendorff a87b975a72 Bump version to 0.2.4 2015-10-14 19:50:51 +02:00
Janek Bevendorff fea3b8e4cd Fix SFTP not working for non-standard sftp-server locations 2015-10-14 19:50:23 +02:00
Janek Bevendorff 8b7a244c27 Share version information between client and server scripts and update to 0.2.3 2015-10-14 19:11:46 +02:00
Janek Bevendorff 876a1968da Copy updated config file to /etc/rs-backup/client-config.new if contents differ 2015-10-14 18:37:18 +02:00
Janek Bevendorff 0e70386f81 Change default user include file location to .rs-backup/include 2015-10-14 18:29:46 +02:00
Janek Bevendorff c02c79108e Ignore log and runfiles 2015-10-14 18:16:01 +02:00
Janek Bevendorff 62a83a2a6c Only log error messages from rsync, not the whole file list 2015-10-14 17:58:33 +02:00
Janek Bevendorff d70dda84e3 Handle external interrupts through SIGHUP, SIGINT and SIGTERM 2015-10-14 17:41:09 +02:00
Janek Bevendorff 3ee4d4b71e Fix inconsistent path in rsnapshot config template, resolves issue #9 2015-03-22 11:59:51 +01:00
Janek Bevendorff 5f85b35a22 Avoid using BusyBox stat on Synology DSM 2015-03-19 20:06:03 +01:00
Janek Bevendorff f3182973d9 Replace parsed `ls` with `stat` - less portable, but safe 2015-03-19 19:27:59 +01:00
Janek Bevendorff 75d2c11ace Fix error when no display number present in janek :0 2014-11-10 15:56
janek    pts/0        2014-11-10 15:57 (:0)
janek    pts/1        2014-11-10 15:57 (:0) output, closes #8
2014-11-10 19:07:55 +01:00
Janek Bevendorff 181b05d116 Make read-only bind mount work with unpatched kernels (i.e. uglify mount commands by a lot) 2014-10-15 01:47:28 +02:00
Janek Bevendorff 755f2c62a0 Add ro mount option to bind mounts as extra security measure 2014-10-15 00:59:12 +02:00
Janek Bevendorff 801366d781 Re-add /bin to chroot mounts 2014-10-15 00:34:20 +02:00
Janek Bevendorff b5cd13472f Update README.md
Remove trailing slash from /etc/fstab
2014-10-15 00:27:23 +02:00
Janek Bevendorff ad633b262a Replace spaces with tabs in fstab and move mounts to /etc/rc on Synology DSM 2014-10-15 00:21:53 +02:00
Janek Bevendorff 1c2933e48c Reload crond on Synology DSM after installing crontab entries 2014-10-08 01:31:39 +02:00
Janek Bevendorff 6baf317f41 Fix typo in variable name 2014-10-07 01:37:28 +02:00
Janek Bevendorff 64a7c12886 Add newlines to the end 2014-10-07 01:29:25 +02:00
Janek Bevendorff 715c1d393c Separate entries by tabs instead of spaces and replace @ directives with classic cron fields 2014-10-07 01:26:32 +02:00
Janek Bevendorff 8b41ff5c86 Add sudo to commands that need to be run as root 2014-10-07 01:00:01 +02:00
Janek Bevendorff 62e4dc4c99 Add sudo to rs-setquota command 2014-10-07 00:55:28 +02:00
Janek Bevendorff 15d6f110ca Add documentation for quota support 2014-10-07 00:50:37 +02:00
Janek Bevendorff 39680df809 Re-implement quota support 2014-10-07 00:11:49 +02:00
Janek Bevendorff 1d1a09f89a Use absolute paths to rsnapshot if possible 2014-10-06 13:55:06 +02:00
Janek Bevendorff 917966b2af Add short note for usage on Cygwin 2014-10-06 13:17:31 +02:00
Janek Bevendorff e8dd2d3ed9 Don't show notifications on Cygwin 2014-10-06 13:05:38 +02:00
Janek Bevendorff 15356c8ce5 Don't check for UID 0 on Cygwin 2014-10-06 12:44:48 +02:00
Janek Bevendorff a2b5ac8d87 Add short guide for installing rs-backup-suite on Synology DSM 2014-10-06 02:28:18 +02:00
Janek Bevendorff a7d5ef2f06 Update old path 2014-10-06 02:13:26 +02:00
Janek Bevendorff 0984a79fee Bump version number to 0.2.2 2014-10-06 02:03:57 +02:00
Janek Bevendorff d1196fa3db Remove vim fail. :-) 2014-10-06 01:56:14 +02:00
Janek Bevendorff 3bd8fbc511 Create (commented) mount options in /etc/fstab automatically 2014-10-06 01:52:59 +02:00
Janek Bevendorff 65ec9170de Create all necessary directories on Synology DSM, skip the rest 2014-10-06 00:57:32 +02:00
Janek Bevendorff bfcdf48381 Fix rsync session terminating 2014-10-06 00:49:39 +02:00
Janek Bevendorff 66e3839f55 Make sftp access compatible with Synology DSM and apply some general optimization 2014-10-05 23:52:40 +02:00
Janek Bevendorff b81371afca Add support for libnotify / notify-send 2014-10-05 21:57:48 +02:00
Janek Bevendorff f8c24cb457 Improve script compatibility by replacing PCRE grep with awk (resulting in overall nicer code) 2014-10-05 19:38:21 +02:00
Janek Bevendorff 9705fa78dc Do not overwrite any existing global rsnapshot config 2014-10-05 18:51:48 +02:00
Janek Bevendorff dc8a35e78d Replace incompatible busybox /usr/bin/logger with /opt/bin/logger on Synology DSM (now requires util-linux-ng to be installed via ipkg) 2014-10-05 18:41:15 +02:00
Janek Bevendorff c68fbedb26 Create correct perl5 mount directory on Synology DSM 2014-10-05 18:09:03 +02:00
Janek Bevendorff 031c437f5b Fix typo in variable name preventing rsync options to be loaded from config file and add (commented) example config that also works on Synology DSM 2014-10-05 18:03:50 +02:00
Janek Bevendorff 86f5ccdef3 Move --acls option to config file since not all servers support it (e.g. Synology DSM doesn't) 2014-10-05 17:54:53 +02:00
Janek Bevendorff 0a7ba16686 Make Synology OS detection work in chroot 2014-10-05 17:32:21 +02:00
Janek Bevendorff 8221e5acb3 Fix script not working in chroot due to missing /etc/profile 2014-10-05 17:18:00 +02:00
Janek Bevendorff b719226c73 Make passwd parsing more generic to improve compatibility 2014-10-05 16:43:57 +02:00
Janek Bevendorff 33f85d5d93 Correct initial rsnapshot config adjustment (again) 2014-10-05 16:43:57 +02:00