Commit Graph

67 Commits

Author SHA1 Message Date
Janek Bevendorff 8416d9a088 Bump version to 0.3.0 2016-11-18 02:44:29 +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 4b84ad5997 Make rs-rm command more generic 2016-11-17 02:12:28 +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 18a2cc2774 Update version to 0.2.6 2016-11-16 22:42: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 0f0f43fc47 Add bind option to remounts 2016-11-16 21:47:57 +01:00
Janek Bevendorff e9dc07e3e2 Bump version to 0.2.5 2015-10-16 13:31:58 +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 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 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 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 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 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 0984a79fee Bump version number to 0.2.2 2014-10-06 02:03:57 +02:00
Janek Bevendorff 3bd8fbc511 Create (commented) mount options in /etc/fstab automatically 2014-10-06 01:52:59 +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 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 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 cf078a123c Don't ignore client-config and server-config 2014-10-05 16:11:50 +02:00
Janek Bevendorff c8eb94bd95 Add license headers 2014-10-05 01:09:30 +02:00
Janek Bevendorff fe1fbf4628 Replaced Makefile with proper install/uninstall script removing the need for config example files 2014-10-05 00:52:58 +02:00
Janek Bevendorff c01c60bab2 Add support for Synology DSM, make user group configurable and create it if it does not exist 2014-09-15 18:01:55 +02:00
Janek Bevendorff bb74287f66 Add distribution check script 2014-09-15 18:01:16 +02:00
Janek Bevendorff 7568fb93ef Explicitly source /etc/profile to circument environment issues with ipkg-installed packages on Synology DSM 2014-09-15 15:51:51 +02:00
Janek Bevendorff 98ae2c9392 Don't hardcode rsync path 2014-09-15 15:35:04 +02:00
Janek Bevendorff c7b40ab809 Add version and copyright info to the scripts 2014-09-13 01:31:40 +02:00
Janek Bevendorff a149713993 Revert to using /bin/sh instead of /bin/bash to improve compatibility with embedded systems such as Synology Diskstation 2014-09-13 01:18:40 +02:00
Janek Bevendorff 76bf848c4f Update paths within script files 2014-09-12 18:51:30 +02:00
Janek Bevendorff 6160ff9aa4 Move server config examples and templates from /usr/etc/rs-backup to /etc/rs-backup 2014-09-12 18:26:08 +02:00
Janek Bevendorff 79a18312e5 Move rs-backup-run from /bin to /usr/bin 2014-09-12 18:10:21 +02:00
Janek Bevendorff e014176d7b Move files and folders from /usr/local to /usr 2014-09-12 15:34:40 +02:00
Janek Bevendorff 7d91290118 Make sure passwd file exists before writing to it 2013-11-20 14:43:30 +01:00
Janek Bevendorff fcbb1ddecd Change default backup user shell from /bin/sh to /bin/bash for compatibility reasons 2013-11-20 14:43:00 +01:00