Hash: SHA1

No, rsync would store the files with the numeric UID and GID as is on
the source without regard to the existence or non-existence of a
matching account.  This could mean that ls would show numbers in those
columns, or incorrect names in those columns, or (perhaps by
coincidence) show the correct names in those columns.  The important
thing is that if you backup and restore with --numeric-ids you will
get back what you started with regardless of what the backup system
thinks about the data.

On 05/18/2015 09:16 PM, Michael wrote:
> Kevin Korb <kmk <at> sanitarium.net> writes:
>> 3) --numeric-ids copies both as the number.  This is what you
>> normally want for backups.  This way you have the exact UID and
>> GID stored on the backups regardless of what those numbers mean
>> to the backup system.  Just remember to use --numeric-ids when
>> you restore.  This is especially important if you have to restore
>> from a live environment that has completely different UIDs and
>> GIDs than your normal system. That environment would have no idea
>> how to translate names from option #2 during a restore.
> Hi Kevin,
> Regarding the option --numeric-ids, how would rsync manage the
> situation where the UID and GID(s), of a file being copied to a
> Remote system, have been reserved on the Remote system. Does rsync
> search for and allocate the next available IDs?
> Thanks, Michael.

- -- 
        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.
Version: GnuPG v2

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