Hi Kleber,
thanks for your response.
Yes, I am restoring to the same server the backup was taken from. Parts of the
restore got the correct user and group mapping ...
Am 12.11.2012 um 11:35 schrieb Kleber Leal <kleber.leal AT gmail DOT com>:
> Hi Christoph,
> Are you restoring on the same server you got the backup?
>
> If not, you should have to keep the uid and gid across all servers to have
> the same user and group mapping when copying files preserving ownerships.
>
> Kleber Leal
>
> Em 12/11/2012 06:32, "Christoph Litauer" <litauer AT uni-koblenz DOT de>
> escreveu:
> Dear bacula users,
>
> I am using bacula backups for some years now. Great system! I nearly never
> had problems to restore something ...
> For some time now, parts of my restores have the wrong ownership.
> Example:
>
> baculas restore command lists:
> $ dir
> drwxr-xr-x 6 litauer 1050 83 2012-11-09 10:25:23
> /export/profiles2/Win2K/litauer/Application Data/
> drwxr-xr-x 2 litauer 1050 4096 2012-11-09 10:25:23
> /export/profiles2/Win2K/litauer/Cookies/
> drwxr-xr-x 2 litauer 1050 6 2012-11-09 10:25:23
> /export/profiles2/Win2K/litauer/Desktop/
> drwxr-xr-x 4 litauer 1050 61 2012-11-09 10:25:23
> /export/profiles2/Win2K/litauer/Favorites/
> drwxr-xr-x 2 litauer 1050 22 2012-11-09 10:25:23
> /export/profiles2/Win2K/litauer/IETldCache/
> drwxr-xr-x 4 litauer 1050 46 2012-11-09 10:25:23
> /export/profiles2/Win2K/litauer/My Documents/
> -rwxr--r-- 1 litauer 1050 2097152 2012-11-09 10:25:22
> /export/profiles2/Win2K/litauer/NTUSER.DAT
>
> 1050 is group employee. When I restore these files, I get
>
> drwxr-x--x 6 root bacula 83 Nov 12 10:03 Application Data
> drwxr--r-- 2 litauer employee 4096 Nov 12 10:03 Cookies
> drwxr-xr-x 2 litauer employee 6 Mar 30 2006 Desktop
> drwxr-x--x 4 root bacula 61 Nov 12 10:03 Favorites
> drwxr--r-- 2 litauer employee 22 Nov 12 10:03 IETldCache
> drwxr-xr-x 4 litauer employee 46 Nov 12 10:03 My Documents
> -rwxr--r-- 1 litauer employee 2097152 Nov 9 10:25 NTUSER.DAT
>
> As you can see, some directories belong to root/bacula. The restore log
> stated "Restore OK" ...
>
--
Kind regards
Christoph
_________________________________________
Christoph Litauer
Uni Koblenz, Computing Centre, Office A 022
Postfach 201602, 56016 Koblenz
Fon: +49 261 287-1311, Fax: -100 1311
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_nov
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|