BackupPC-users

Re: [BackupPC-users] rsync - fileowner lost during backup or restore

2008-12-10 03:33:40
Subject: Re: [BackupPC-users] rsync - fileowner lost during backup or restore
From: Jean-Michel Beuken <jean-michel.beuken AT uclouvain DOT be>
To: Matthias.Meyer AT gmx DOT li
Date: Wed, 10 Dec 2008 09:31:46 +0100
Hello Matthias,

I have exactly the same problem...
> I found my mistake:
> Parameter for backup should be:
> --numeric-ids --perms --owner --group -D --links --hard-links --times
> --block-size=2048 --recursive --one-file-system
> and for restore it should be:
> --super
> --numeric-ids --perms --owner --group -D --links --hard-links --times
> --block-size=2048 --relative --ignore-times --recursive
>
> All the famous defaults from backuppc but additional --super.
>   

but this "recipe" doesn't work for me...

the version of rsync under cygwin/Windows is 3.0.4
under the server :   BackupPC 3.1  and    "rsync --version :  rsync  
version 2.6.8  protocol version 29"


>---------- under a bash in cygwin -  4294967295:513  =>  beuken:None 
-------

$ ls -aln desktop.ini
-rwx------+  1 4294967295 513 62 Dec  9 16:17 desktop.ini
-----------------------------------------------------------------


->----------------- the file "desktop.ini" restored in a folder named 
"BackupPC" -   18:513 =>  SYSTEM:None ----------------------

$ ls -aln /cygdrive/d//BackupPC/
total 1
-rwx------  1  18 513 77 Dec  9 16:18 desktop.ini
-----------------------------------------------------------------


>----------------------  /data/BackupPC/pc/1h0.030/RestoreLOG.3.z  
-----   you see :    4294967295:513  and --super  
--------------------------------------

Connected to 130.104.231.24:873, remote version 30
Negotiated protocol version 28
Connected to module RESTORE_1H0.030
Sending args: --server --super --numeric-ids --perms --owner --group -D 
--links --hard-links --times --block-size=2048 --relative --ignore-times 
--recursive . RESTORE_1H0.030/
Sending /beuken/My Documents/desktop.ini (remote=/desktop.ini) type = 0
 restore   700 4294967295/513          77 /desktop.ini
Done: 1 files, 77 bytes
---------------------------------------------------------------------------------------

any idea ?

regards

jmb



------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
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/

<Prev in Thread] Current Thread [Next in Thread>