rdiff-backup-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[rdiff-backup-users] rdiff-backup does not accept destination directory


From: Moritz Naumann
Subject: [rdiff-backup-users] rdiff-backup does not accept destination directory
Date: Thu, 08 Sep 2005 02:52:13 +0200
User-agent: Mozilla Thunderbird 1.0.6 (X11/20050802)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I assume I'm just missing something stupid, but I just don't get what it is.

I'm trying to backup from server "vserver811" (aka "schizo") to server
"kaotix", using Backupninja [1]. On kaotix, user "backupschizo" is
supposed to store the files to /home/backupschizo.

Some details were [replaced] to protect my privacy.

vserver811:~# backupninja -d -n
[lines_without_warnings_removed]
Info: >>>> starting action /etc/backup.d/90-transfer.rdiff (because of
- --now)
Debug: yes
Debug: ssh -o PreferredAuthentications=publickey [FQDN_of_kaotix] -l
backupschizo 'echo -n 1'
Warning: Permanently added the RSA host key for IP address
'[IP_address_of_kaotix]' to the list of known hosts.
host is alive
Debug: Connected to [FQDN of kaotix] as backupschizo successfully
Debug: ssh -o PreferredAuthentications=publickey [FQDN_of_kaotix] -l
backupschizo '/usr/bin/rdiff-backup -V'"
Debug: rdiff-backup --force --remove-older-than 60D
address@hidden::/home/backupschizo/schizo
Warning: Fatal Error: Bad directory /home/backupschizo/schizo. It
doesn't appear to be an rdiff-backup destination dir
Warning: Failed removing backups older than 60D.
Debug: /usr/bin/rdiff-backup  --print-statistics --include
'/var/spool/cron/crontabs' --include '/var/backups' --include '/etc'
- --include '/root' --include '/home' --include '/usr/local/bin' --include
'/usr/local/sbin' --include '/var/lib/dpkg/status' --include
'/var/lib/dpkg/status-old' --exclude '/*' /
address@hidden::/home/backupschizo/schizo
Warning: su: Permission denied
Warning: Failed backup up source 'schizo'
Warning: <<<< finished action /etc/backup.d/90-transfer.rdiff: WARNING
Debug: send report to root
Info: FINISHED: 4 actions run. 0 fatal. 0 error. 5 warning.


So, the real (first) problem seems to be this:
rdiff-backup --force --remove-older-than 60D
address@hidden::/home/backupschizo/schizo
Warning: Fatal Error: Bad directory /home/backupschizo/schizo. It
doesn't appear to be an rdiff-backup destination dir
Warning: Failed removing backups older than 60D.

While the second warning makes sense (rdiff-backup never wrote anything
to this directory as it thinks it is not able to), the first one make me
puzzle.

Looking at this error message, it seems like address@hidden cannot
write to /home/backupschizo/schizo

However, it can:
address@hidden:~$ touch /home/backupschizo/schizo/test
address@hidden:~$

address@hidden:~$ ls -lah /home/backupschizo/schizo/test
- -rw-r--r--  1 backupschizo backupschizo 0 2005-09-06 22:38
/home/backupschizo/schizo/test

address@hidden:~$ ls -lah /home/backupschizo/*
insgesamt 8,0K
drwxr-xr-x  2 backupschizo backupschizo 4,0K 2005-09-06 22:38 .
drwxr-xr-x  4 backupschizo backupschizo 4,0K 2005-09-06 22:37 ..
- -rw-r--r--  1 backupschizo backupschizo    0 2005-09-06 22:38 test

I also tried removing /home/backupschizo/schizo/ and then retrying
rdiff-backup with the usage given by backupninja. However, this gave
exactly the same errors.

rdiff-backup is the same version on bother servers:

vserver811:~# rdiff-backup --version
rdiff-backup 0.13.4

address@hidden:~$ rdiff-backup --version
rdiff-backup 0.13.4

I'm also wondering how or whether it is possible to use rdiff-backup on
a different port than 22?

Thanks in advance for your help!
Moritz

[1] Backupninja: http://dev.riseup.net/backupninja/


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFDH4s9n6GkvSd/BgwRAmoxAJ0UNAEI5nYT5YgzwcWvLLN1Bg70qgCdHL1Z
SwRvMoikEAPZCf00WEh9Lpc=
=5QlM
-----END PGP SIGNATURE-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]