On Thu, May 14, 2009 at 05:19:29PM +0200, Kern Sibbald wrote: > On Thursday 14 May 2009 16:58:42 Phil Stracchino wrote: > > Pasi Kärkkäinen wrote: > > > Option to restore by numeric uid/gid values would be nice, if it's not > > > possible already atm.. > > > > > > Think about 'disaster recovery' case.. Your server crashes.. > > > to recover you do: > > > > > > - Install new minimal base OS > > > - Install bacula agent > > > - Restore the latest backup using Bacula > > > > > > /etc/passwd won't have user information when the restore is started.. > > > so files will be restored with wrong owner/group.. > > > > > > Restoring with numerical uid/gid would be correct in this case. > > > > Surely the simple solution here is: > > > > - Install new minimal base OS > > - Install bacula agent > > - Restore /etc/passwd, /etc/group, /etc/shadow > > - Restore everything else > > > > > > To speed this up, you could even have a separate backup of an "auth" > > fileset containing only those three files. > > > > ...Matter of fact, I think I'm going to do that right now. > > Probably not necessary. Bacula saves and restores only numeric ids. In report > output, it will print real user names if they are available otherwise it > reverts to printing the numeric value. >
Good. No problems with the restores then :) I was actually already wondering why I haven't seen this problem earlier.. but didn't have time to test yet (only to figure out it used UIDs/GIDs after all). -- Pasi ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Bacula-devel mailing list Bacula-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-devel