Bacula-users

Re: [Bacula-users] preserving ownership of restored files

2009-05-14 08:00:47
Subject: Re: [Bacula-users] preserving ownership of restored files
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 14 May 2009 12:56:14 +0100
>>>>> On Wed, 13 May 2009 18:57:43 -0700, David Newman said:
> 
> A server crashed here after an upgrade/reboot. Much mayhem and sleep
> deprivation ensued. Ugh.
> 
> Bacula came through with most of the files needed, but restored
> everything as root:wheel. This was from running bconsole, running
> restore, picking the Job IDs, and selecting files.
> 
> The UID/GIDs did not exist on the new system at the time of the restore,
> but they do now. In this case I needed the files first so I'd know what
> UIDs/GIDs to use on the new system.
> 
> How to preserve ownership/groups during a restore?

I would expect restore to do that automatically, using the numeric UIDs/GIDs.
This should work even if they aren't in the user/group databases.

Did you restore all files in the backup?

Does bls show non root:wheel ownership for the files on these volumes?

__Martin

------------------------------------------------------------------------------
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-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users