[PATCH] Add user/group support to brackup

Kostas Chatzikokolakis kostas at chatzi.org
Fri May 28 21:42:12 UTC 2010

> Yes, good point, I didn't think about the uid-without-a-name case, should
> handle that, although it's presumably fairly uncommon?

There are two different issues:
1. a file might have a uid without name in the original system. I guess
this should be uncommon (although weird systems do exist).

2. the name might not exist in the system where you do the restore. This
is not uncommon, as other people mentioned.

Here's a simple scenario: you backup the whole filesystem, including
/etc/passwd. Then you restore using a live cd or something, so the
usernames at the time of the restore have nothing to do with the backed
up system. What you should do in this case is restore the original uids,
and when you reboot all usernames should be back to normal. In fact, you
should use --numeric-owner so that the uid is always restored even if
some username does exist in the live cd by coincidence.

So, IMHO, it's worth the extra complexity.


More information about the brackup mailing list