duplicity-talk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Duplicity-talk] Restore numeric owner?


From: Dylan Martin
Subject: Re: [Duplicity-talk] Restore numeric owner?
Date: Wed, 29 Oct 2008 09:30:58 -0700

Okay, I'm going to take a peek at the code and if it's not over my
head, I'll send a patch.  Otherwise I'll make that request.

On Tue, Oct 28, 2008 at 6:00 PM, Kenneth Loafman <address@hidden> wrote:
> Dylan Martin wrote:
>> When restoring a tar backup, you can specify --numeric-owner (at least
>> with GNU tar) and files will keep the numeric uid/gid from the
>> archive, even if they map to the different user names on the running
>> system.  This is useful if you're doing the restore on a different
>> system than the files will actually be used on.
>>
>> I'll explain my question another way in case I'm not making sense:
>> When I restore a system, I normally boot up with a CD or other media.
>> I then mount the hard drive of the victim machine and restore files
>> onto that hard drive.  If the /etc/passwd file on the CD is not the
>> same as the /etc/passwd file on the system I'm restoring, files will
>> belong to the wrong user when I finally reboot the system on it's own.
>>  Using tar, I can get around this with the --numeric-owner switch.
>>
>> Is there a way to do this with duplicity?  If not, It's a feature I'd
>> love to see.  Is there a best way to handle this situation?  Right
>> now, I think I'll have to restore to a directory, chroot, and then do
>> a complete restore again to reset all the uids and gids.
>
> I understand what you want to do, but at the moment duplicity does not
> support that.  It would be a good idea to submit a support request on
> the web for the new feature.
>
> ...Ken
>
>
>
> _______________________________________________
> Duplicity-talk mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/duplicity-talk
>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]