projects
/
matthijs
/
upstream
/
backupninja.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
56617bf
)
dup: actually allow to backup only VServers, by relaxing $include test
author
intrigeri
<intrigeri@boum.org>
Tue, 24 Jun 2008 15:39:03 +0000
(15:39 +0000)
committer
intrigeri
<intrigeri@boum.org>
Tue, 24 Jun 2008 15:39:03 +0000
(15:39 +0000)
ChangeLog
patch
|
blob
|
history
handlers/dup.in
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index c32acb85f580ada0a5cd1460ca8b22056bfa5f35..d139bf8655ce96e85e845231b52e4d8816fa5db8 100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-15,6
+15,7
@@
version 0.9.6 -- unreleased
new syntax.
. Support every duplicity-supported transport with new configuration
option desturl (Closes: #483712, #346040, Trac#2).
new syntax.
. Support every duplicity-supported transport with new configuration
option desturl (Closes: #483712, #346040, Trac#2).
+ . Actually allow to backup only VServers, by relaxing $include test.
ldap:
. support HDB backend just as the BDB one, and make message clearer
when no supported backend is found (Closes: #476910)
ldap:
. support HDB backend just as the BDB one, and make message clearer
when no supported backend is found (Closes: #476910)
diff --git
a/handlers/dup.in
b/handlers/dup.in
index 0f4e58e0a65fa466ca297a297fc68766a5583b34..2854974d43a49e906ef735571e44a0ba325f4f31 100644
(file)
--- a/
handlers/dup.in
+++ b/
handlers/dup.in
@@
-35,7
+35,7
@@
destdir=${destdir%/}
### SANITY CHECKS ##############################################################
[ -n "$desturl" -o -n "$destdir" ] || fatal "The destination directory (destdir) must be set when desturl is not used."
### SANITY CHECKS ##############################################################
[ -n "$desturl" -o -n "$destdir" ] || fatal "The destination directory (destdir) must be set when desturl is not used."
-[ -n "$include" ] || fatal "No source includes specified"
+[ -n "$include"
-o -n "$vsinclude"
] || fatal "No source includes specified"
[ -n "$password" ] || fatal "The password option must be set."
### VServers
[ -n "$password" ] || fatal "The password option must be set."
### VServers