Add warning for users of older versions, bump version number to 0.2.0

This commit is contained in:
Janek Bevendorff 2014-09-12 19:05:12 +02:00
parent 76bf848c4f
commit 4131c01600
2 changed files with 8 additions and 3 deletions

View File

@ -132,3 +132,8 @@ Be aware that both access methods are strictly read-only! Write access is only g
## Side note
Because rs-backup-suite uses rsync for the client-server communication you don't necessarily need both parts. As long as you have a working rsync server on your NAS you can use the client script to push files to it. On the other hand you can use the rs-backup-suite server part with any other rsync client, as well.
## Warning to users of older versions
`rs-backup` used to reside in `/usr/local` instead of `/usr`. With the addition of a proper Makefile in version 0.2.0 this has changed. The consequence is that older setups won't work with the new version without modifications. In order to update your setup you need to update the path to `rs-run-ssh-cmd` (now at `/usr/bin/rs-run-ssh-cmd`) inside your users' `~/.ssh/authorized_keys` files as well as the path to `rs-rotate` (`/usr/bin/rs-rotate`) inside their `rsync.conf` files. Alternatively just create symlinks to the old locations.
Moving `rs-backup` to `/usr` also means that for chroot setups the `/bkp/usr/local` mountpoint is no longer needed.

View File

@ -1,7 +1,7 @@
#!/bin/bash
##
# rs-backup-run
# Copyright (C) 2013 by Janek Bevendorff
# Copyright (C) 2013-2014 by Janek Bevendorff
# Website: http://www.refining-linux.org/
#
# Script to push backups to a remote rsync backup server.
@ -21,7 +21,7 @@
# Additional internal config
###############################################################################
_VERSION=0.1.1
_VERSION=0.2.0
_GLOBAL_INCLUSION_PATTERN_FILE="/etc/rs-backup/include-files"
_FORCED_INCLUSION_PATTERN_FILE=""
_SKIP_HOME_DIRS=false
@ -44,7 +44,7 @@ _ERROR_COUNT=0
print_help() {
cat << HELP
rs-backup-run version ${_VERSION}
Copyright (C) 2013 by Janek Bevendorff
Copyright (C) 2013-2014 by Janek Bevendorff
Web site: http://www.refining-linux.org/
Push backup to rsync backup server over SSH.