Commit Graph

134 Commits

Author SHA1 Message Date
Janek Bevendorff 8416d9a088 Bump version to 0.3.0 2016-11-18 02:44:29 +01:00
Janek Bevendorff 4f35991986 Implement pre and post hooks, resolves #10 2016-11-18 02:39:14 +01:00
Janek Bevendorff 51f514506c Add note about logging and chroot 2016-11-18 01:29:48 +01:00
Janek Bevendorff 5f03542d07 Log backup success and failure 2016-11-18 01:29:48 +01:00
Janek Bevendorff 1a0c1b984f Add logging 2016-11-18 01:29:48 +01:00
Janek Bevendorff 78853b7703 Fix /tmp logfile fallback path 2016-11-17 03:41:09 +01:00
Janek Bevendorff fbe3702c90 Remove LOG_FILE and USER_LOG_FILE config directives and allow user to force logging into specific file instead of syslog by using the --log-file parameter 2016-11-17 03:32:56 +01:00
Janek Bevendorff f22b634607 Add color formatting to console output 2016-11-17 02:55:18 +01:00
Janek Bevendorff 0f1b35e57c Use syslog for logging if available 2016-11-17 02:45:22 +01:00
Janek Bevendorff 4b84ad5997 Make rs-rm command more generic 2016-11-17 02:12:28 +01:00
Janek Bevendorff 2c4d2915e5 Fix regexp 2016-11-17 02:05:17 +01:00
Janek Bevendorff 52d0a17cae Add upgrade progress status message 2016-11-17 01:58:44 +01:00
Janek Bevendorff 9c9eb7b98a Update rm and cp paths in global rsnapshot config when upgrading from older version 2016-11-17 01:57:25 +01:00
Janek Bevendorff 3fae0fa63a Use /usr/bin/rm also on Synology, add wrapper for /usr/bin/rm for deleting files in read-only directories 2016-11-17 01:47:46 +01:00
Janek Bevendorff e68fed9277 Fix desktop notification not shown when DBUS_SESSION_BUS_ADDRESS environment variable is not set 2016-11-17 00:14:21 +01:00
Janek Bevendorff 18a2cc2774 Update version to 0.2.6 2016-11-16 22:42:59 +01:00
Janek Bevendorff 2ac6c3fb6c util-linux-ng still needed on DSM 6.x for logger binary 2016-11-16 22:28:59 +01:00
Janek Bevendorff fe570455cf Update dates in license headers 2016-11-16 22:15:30 +01:00
Janek Bevendorff 6ba2d541fa Use bash instead of POSIX shell, since scripts aren't POSIX-compliant anyway. Fixes issue #7 2016-11-16 22:10:30 +01:00
Janek Bevendorff 585cfa4a81 Also try /usr/lib/openssh/sftp-server
Suggested by kmyid <591fdb4a16>
2016-11-16 22:04:05 +01:00
Janek Bevendorff d6e66ec303 Add chroot SSHD config 2016-11-16 21:57:59 +01:00
Janek Bevendorff 0f0f43fc47 Add bind option to remounts 2016-11-16 21:47:57 +01:00
Janek Bevendorff 71a5983d27 Update mount listing 2016-11-16 21:41:55 +01:00
Janek Bevendorff 5da9c7f6a7 Update README for Synology DSM 6.x 2016-11-16 21:40:36 +01:00
Janek Bevendorff e9dc07e3e2 Bump version to 0.2.5 2015-10-16 13:31:58 +02:00
Janek Bevendorff 0f1cb0be0d Update README to include documentation about systemd timer 2015-10-16 13:31:42 +02:00
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