[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [rdiff-backup-users] File ownership on a portable drive
From: |
Grant |
Subject: |
Re: [rdiff-backup-users] File ownership on a portable drive |
Date: |
Mon, 3 Dec 2012 11:47:51 -0800 |
>> For a long time I had rdiff-backup push backups to an external hard disk
>> attached to my desktop. I moved and put the desktop in storage and now I'm
>> putting the backup system back together with my laptop taking the place of the
>> desktop. I noticed that ownership info seems to be lost from the repository
>> since the hard disk is attached to a different system now. Does rdiff-backup
>> preserve the ownership info in a different way or is it gone for good?
>
>
> All the owner and group IDs (both the names and the numeric IDs) are
> kept in the mirror_metadata files. By default, rdiff-backup will try to
> restore to the same owner and group _names_. You can use the
> "--preserve-numerical-ids" option to restore to the same numeric
> UIDs/GIDs.
That's great. Does the same sort of thing apply to file permissions? If so, I can mangle owners, groups, and permissions as badly as I want and they'll still be perfectly preserved when I restore?
- Grant