Add warning for users of older versions, bump version number to 0.2.0
This commit is contained in:
parent
76bf848c4f
commit
4131c01600
|
@ -132,3 +132,8 @@ Be aware that both access methods are strictly read-only! Write access is only g
|
||||||
|
|
||||||
## Side note
|
## 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.
|
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.
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
##
|
##
|
||||||
# rs-backup-run
|
# rs-backup-run
|
||||||
# Copyright (C) 2013 by Janek Bevendorff
|
# Copyright (C) 2013-2014 by Janek Bevendorff
|
||||||
# Website: http://www.refining-linux.org/
|
# Website: http://www.refining-linux.org/
|
||||||
#
|
#
|
||||||
# Script to push backups to a remote rsync backup server.
|
# Script to push backups to a remote rsync backup server.
|
||||||
|
@ -21,7 +21,7 @@
|
||||||
# Additional internal config
|
# Additional internal config
|
||||||
###############################################################################
|
###############################################################################
|
||||||
|
|
||||||
_VERSION=0.1.1
|
_VERSION=0.2.0
|
||||||
_GLOBAL_INCLUSION_PATTERN_FILE="/etc/rs-backup/include-files"
|
_GLOBAL_INCLUSION_PATTERN_FILE="/etc/rs-backup/include-files"
|
||||||
_FORCED_INCLUSION_PATTERN_FILE=""
|
_FORCED_INCLUSION_PATTERN_FILE=""
|
||||||
_SKIP_HOME_DIRS=false
|
_SKIP_HOME_DIRS=false
|
||||||
|
@ -44,7 +44,7 @@ _ERROR_COUNT=0
|
||||||
print_help() {
|
print_help() {
|
||||||
cat << HELP
|
cat << HELP
|
||||||
rs-backup-run version ${_VERSION}
|
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/
|
Web site: http://www.refining-linux.org/
|
||||||
|
|
||||||
Push backup to rsync backup server over SSH.
|
Push backup to rsync backup server over SSH.
|
||||||
|
|
Loading…
Reference in New Issue