I have recently installed on a Debian squeeze_64 server the Backupninja and Duplicity utilities. My goal is to backup /foo/bar/* to /desti/nation/ with full backup once a week and differentially once a day (say, sunday 01:00 the full and 01:00 daily). /desti/nation/ is a mounted nfs directory from 10.0.0.1:/qwe/rty.
root@toor:/etc/backup.d# ls
10-full.dup 15-incr.dup
root@toor:/etc/backup.d# cat *
options = --no-encryption --dry-run --verbosity 9
testconnect=yes
[source]
include=/foo/bar/
[dest]
incremental=no
increments=0
keep=60
desturl = file:///desti/nation
options = --no-encryption --dry-run --verbosity 9
testconnect=yes
[source]
include=/foo/bar/
[dest]
incremental=yes
increments=7
keep=60
desturl = file:///desti/nation
root@toor:/etc/backup.d# backupninja --debug --test --now
The output is fulfilled with boring debug messages, but it contains the following:
Info: >>>> starting action /etc/backup.d/10-full.dup (because of --now)
Debug: yes
Fatal: The password option must be set.
Fatal: <<<< finished action /etc/backup.d/10-full.dup: FAILED
And the same for 15-incr.dup, respectively.
Info: FINISHED: 2 actions run. 2 fatal. 0 error. 0 warning.
is the final line. Well, I configured it to work without gpg and any kind of authorization, but it still needs a password. What is my fault?
UPDATE
Added the following lines to the files:
[gpg]
sign=no
encryptkey=
signkey=
password=
but the problem is exactly the same.
SOLVED
I really don't know what happened, I set once the password to a random value in both of the files. Then suffered endlessly, changed almost everything, and now tried password=\0 and password="". IT WORKS. Well, the next step was like password=dfsgdhn and password=dsfdghfd. Works too.
So I didn't find the solution, it repaired itself or what.