Commit Graph

53 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 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 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 6baf317f41 Fix typo in variable name 2014-10-07 01:37:28 +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 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 c8eb94bd95 Add license headers 2014-10-05 01:09:30 +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 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
Janek Bevendorff 5a8bf42c05 Set date of backup root to backup date, closes #4 2013-10-16 12:27:56 +02:00
Janek Bevendorff c358958a96 Also rotate when transfer is not complete due to vanished source files 2013-10-01 16:47:14 +02:00
Janek Bevendorff e1e9ff4972 Remove gid from rsync.conf template (not needed, can cause problems) 2013-10-01 16:32:42 +02:00
Janek Bevendorff 9bd20fefa1 Minor fixes before merging pull request 2013-09-17 15:49:52 +02:00
Hannes Riehl d0b14bd268 Update rs-add-user 2013-07-15 18:51:04 +02:00
Hannes Riehl ab79f60792 Update rs-add-user 2013-07-15 11:59:17 +02:00
Hannes Riehl 0ff64aa68a Added: create target directory 2013-07-10 18:26:27 +02:00
Hannes Riehl 6c293921b2 Changed interpreter to #!/bin/bash for portability 2013-07-10 17:49:03 +02:00
Hannes Riehl 88c8dc024a Changed interpreter to #!/bin/bash for portability 2013-07-10 17:48:35 +02:00
Hannes Riehl 93dfcd1dfd Changed interpreter to #!/bin/bash for portability 2013-07-10 17:48:15 +02:00
Hannes Riehl 7367e1795b Changed interpreter to #!/bin/bash for portability 2013-07-10 17:47:38 +02:00
Hannes Riehl 523bbb2da4 Changed interpreter to #!/bin/bash for portability 2013-07-10 17:47:18 +02:00