****This is an edited version of a previous post****
Thanks so much for your help!
> Can you
>
> backuppc < at > backuppc-server% rsync root < at > 192.168.1.2:truc.txt
> tmp/
>
> without any problem, manual interaction or extraneous output?
>
Yes, it works perfect. No particular output, no needed interactions.
[...]
> You aren't running rsyncd, so the server is "rsync --server" in
> both cases.
> BackupPC uses File::RsyncP and starts the server over an ssh
> connection (see
> your log excerpt above). "rsync root < at > bla:truc.txt tmp/"
> automatically runs
> "rsync --server ..." over "ssh root < at > bla". If you want to test the
> command
> BackupPC runs, try, *as the backuppc user on the BackupPC server*,
>
> % rsync --numeric-ids --perms --owner --group -D --links --hard-links
> --times --block-size=2048 --recursive --ignore-times
> root < at > 192.168.1.2:/home/temp/ /tmp/anywhere-you-like
>
> Does that work as expected? Does it ask any questions? Does it
> output anything
> strange? Anything at all?
>
thanks for this useful-debug-tool-command line!
May I suggest that this command will be added somewhere in the
Backuppc wiki, in a "check what's wrong" section....
I've tried this command and I get an error about write permission
[see below], so I change the user from backuppc to root, do the ssh
key exchange for root, and finally it WORKS! I've changed the user in
the etc/BackupPC/hosts file, replacing backuppc by root, started a
backup throught the web interface, and a backup has started. Cool!
So here comes another question :
I get a write permission error coming from the BackupServer because
the user backuppc on the BackupServer as no write permission on a
backuped folder. i.e :
root < at > MainServer% ls -la /home/
d---r-xr-x 5 bruno bruno 4096
2007-10-09 14:07 wikiinterne
So when this folder was copied on the BackupServer, the backuppc user
had no write permission to create the subfolder contained in the
wikiinterne folder, that's why the backup failed. Of course now that
it is root the user on the BackupServer, he has all rights to create
everything.
I believe I will keep running backuppc using the root user on both
side, but is there a workaround? Because I don't want backuppc to
have write access on all files on my MainServer...
Anyway thank you so much for your help!
I will keep experiencing after my vacation and I will fill the wiki
with an "howto install backuppc on a DNS-323 with rsync".
Best regards,
Bruno.
+----------------------------------------------------------------------
|This was sent by brunal2496 AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/
|