mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-10 04:42:31 +01:00
add patch to ignore rdiff minor version levels
This commit is contained in:
parent
2b52278576
commit
e3454782c5
1
AUTHORS
1
AUTHORS
@ -22,3 +22,4 @@ Martin Krafft madduck@debian.org -- admingroup patch
|
|||||||
Anarcat -- lotsa patches
|
Anarcat -- lotsa patches
|
||||||
Jamie McClelland -- cstream patches
|
Jamie McClelland -- cstream patches
|
||||||
ale -- ldap cleanup
|
ale -- ldap cleanup
|
||||||
|
Sami Haahtinen <ressu@ressukka.net>
|
@ -24,6 +24,7 @@ version 0.9.5 -- unreleased
|
|||||||
rdiff:
|
rdiff:
|
||||||
. Added cstream support to allow for bandwidth limiting
|
. Added cstream support to allow for bandwidth limiting
|
||||||
. Handle "keep = yes" to disable old backups removal (Closes: #424633)
|
. Handle "keep = yes" to disable old backups removal (Closes: #424633)
|
||||||
|
. Ignore rdiff-backup minor versions (thanks Sami Haahtinen)
|
||||||
rub
|
rub
|
||||||
. Fixed typo in rub handler that caused it to not work
|
. Fixed typo in rub handler that caused it to not work
|
||||||
. Changed to use lib/vserver code
|
. Changed to use lib/vserver code
|
||||||
|
@ -32,12 +32,12 @@ function get_version() {
|
|||||||
# if user or host is missing, returns the local version.
|
# if user or host is missing, returns the local version.
|
||||||
if [ "$#" -lt 2 ]; then
|
if [ "$#" -lt 2 ]; then
|
||||||
debug "$RDIFFBACKUP -V"
|
debug "$RDIFFBACKUP -V"
|
||||||
echo `$RDIFFBACKUP -V`
|
echo `$RDIFFBACKUP -V | cut -d. -f1,2`
|
||||||
else
|
else
|
||||||
local user=$1
|
local user=$1
|
||||||
local host=$2
|
local host=$2
|
||||||
debug "ssh $sshoptions $host -l $user '$RDIFFBACKUP -V'"
|
debug "ssh $sshoptions $host -l $user '$RDIFFBACKUP -V'"
|
||||||
echo `ssh $sshoptions $host -l $user "$RDIFFBACKUP -V | grep rdiff-backup"`
|
echo `ssh $sshoptions $host -l $user "$RDIFFBACKUP -V | grep rdiff-backup | cut -d. -f1,2"`
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user