Bacula-users

Re: [Bacula-users] Problems restoring ownership and group

2013-03-16 05:32:09
Subject: Re: [Bacula-users] Problems restoring ownership and group
From: Christoph Litauer <litauer AT uni-koblenz DOT de>
To: bacula-users <bacula-users AT lists.sourceforge DOT net>
Date: Sat, 16 Mar 2013 10:28:25 +0100
Radoslaw,

Am 15.03.2013 um 16:08 schrieb Radosław Korzeniewski <radoslaw AT korzeniewski 
DOT net>:

> 
> I would give you any log you need ... but what logs are required?
> 
> What is your restore session? How do you select a jobid, how do you mark a 
> directory... etc... 

I exactly did a 
restore
select 5
select my client and FileSet
waited for the prompt and changed to /export/user2/litauer/mgmt/backend
mark live mailman
done
Recover to the original fs in the original place

> 
> lsmark shows:
> 
> *live/
> 
> So, now you should be able to recover a "live" directory with all required 
> permissions/ownership.
> 
> If not, it means that you have no "live" directory on your backup (jobid) and 
> this directory is recovered only with default permissions. Then you have to 
> check your FileSet definition or jobid's used for recovery. Check estimate 
> listing or you can use bls command to check if your backup has directory 
> "live".

I think I found the reason:
While recovering my default config for "replace" was "ifnewer". Changing this 
to "always" recovers correct ownership and permissions ...

But ... isn't this a bug? My target directory did not exist. So I would expect 
that everything is exacly restored even if I don't want newer files to be 
overridden -- there were no files or directories in place.

--
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_mar
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>