On Wednesday 14 August 2013 11:04 PM, Kevin Korb wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The point of --fake-super is that when you restore the file with
- --fake-super it will restore with the original ownership.  Of course
that means that the restore has to be run with super privs on the
target and --fake-super on the source.

 This doesn't work on remote stores . It doesn't restore the ownerships.




On Wednesday 14 August 2013 11:04 PM, Kevin Korb wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

The point of --fake-super is that when you restore the file with
- --fake-super it will restore with the original ownership.  Of course
that means that the restore has to be run with super privs on the
target and --fake-super on the source.

On 08/14/13 13:30, Sherin A wrote:
On Wednesday 14 August 2013 10:25 PM, Kevin Korb wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1

As has been pointed out to you your problem is not hard links.
Your problem is the indiscriminate use of a root operation (a
chown) during the restoration process.

You should be solving this by either: A) backing up and restoring
the original owner of the files (directly or via --fake-super)
This won't work ,

root@source [~]# id dom2inho uid=507(dom2inho) gid=508(dom2inho)
groups=508(dom2inho) root@source[~]# rsync  -avp -e 'ssh '
--fake-super /home/dom2inho backup@10.0.0.10:/home/backup/ In
storage server , [root@dest dom2inho]# id backup uid=505(backup)
gid=506(backup) groups=506(backup) [root@dest dom2inho]# pwd
/home/backup/dom2inho [root@dest dom2inho]# ll -d
/home/backup/dom2inho/shadow --w------- 1 backup backup 1344 Aug 13
12:52 /home/backup/dom2inho/shadow   => not preserving  uids or
gids [root@da dom2inho]#

If I am doing something wrong please let  me know.


B) backing up each user's files and only their files.
I don't see an option in the rsync man to copy only  each users
files , can  you please point me to  that option


Thanking you for your valuable time and help .

- -- ~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
        Kevin Korb                      Phone:    (407) 252-6853
        Systems Administrator           Internet:
        FutureQuest, Inc.               ke...@futurequest.net  (work)
        Orlando, Florida                k...@sanitarium.net (personal)
        Web page:                       http://www.sanitarium.net/
        PGP public key available on web site.
~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~'`^`'~*-,._.,-*~
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.20 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iEUEARECAAYFAlILv6EACgkQVKC1jlbQAQf+RwCXRhBVbovjHaHvlMIGAbn2mhoo
EgCbBPIU5nPzyC+yK0fedItirQyGHBA=
=rc63
-----END PGP SIGNATURE-----


--
--------------------------------------
Regards
Sherin A
http://www.sherin.co.in/

--
Please use reply-all for most replies to avoid omitting the mailing list.
To unsubscribe or change options: https://lists.samba.org/mailman/listinfo/rsync
Before posting, read: http://www.catb.org/~esr/faqs/smart-questions.html

Reply via email to