[Freeipa-devel] [PATCHES] 0264-0267 backup, restore: Don't overwrite /etc/{passwd, group}

Petr Viktorin pviktori at redhat.com
Tue Jul 29 16:03:42 UTC 2014


On 07/29/2014 05:02 PM, Petr Viktorin wrote:
> Hello,
>
> The first patch here consolidates our system user creation code a bit.
>
> The second patch fixes an oversight in the restore script.
>
> The third changes the backup script to not include /etc/{passwd,group},
> and the restore script to create the PKI user if a CA is being restored.
> Note that the DS user is already created early in the restore process.
> (In the future we may want a nice generic framework for restoring users,
> but I'd like to extrapolate from more than one data point when designing
> it.)

Another note: tar uses owner user/group names by default, so no 
additional chowning is required even if the IDs change between backup & 
restore.

>
> The fourth patch adds a log entry I find very useful in testing
> backup/restore.
>


-- 
Petr³




More information about the Freeipa-devel mailing list