BackupPC-users

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

2008-12-08 11:28:32
Subject: [BackupPC-users] rsync - fileowner lost during backup or restore
From: Matthias Meyer <Matthias.Meyer AT gmx DOT li>
To: backuppc-users AT lists.sourceforge DOT net
Date: Mon, 08 Dec 2008 17:25:49 +0100
Hi,
I try to backup my windows clients with backuppc as well as cygwin/rsync.

The backup/restore with rsyncd at windows and rsync on linux (run as root)
works well. Only as normal (linux) user it didn't work because of
insufficient privileges for chmod and chgrp.

With backuppc (run as user backuppc) I have problems.
In the XferLOG the uid/gid of the files will be reported. But in the
backuppc datastore (/var/lib/backuppc/pc/...) the fileowner is set to
backuppc:backuppc.
After restore of files to the windows client they will be owned by the
rsyncd process owner (SYSTEM:SYSTEM).

I use the following flags for backup:
--super --numeric-ids --perms --owner --group -D --links --hard-links
--times --block-size=2048 --recursive --one-file-system --bwlimit=2840
and the following for restore:
--numeric-ids --perms --owner --group -D --links --hard-links
--times --block-size=2048 --relative --ignore-times --recursive

Did backuppc store the fileowner in the filesystem or in the attrib file?
Did backuppc need to be run as root to run chmod/chgrp succesfull?

Thanks in advance
Matthias
-- 
Don't panic


------------------------------------------------------------------------------
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>