* Jean-Louis Martineau <[EMAIL PROTECTED]> [20081104 11:49]:
> Jean-Francois Malouin wrote:
> >Running amanda-2.6.0p2 an attempting to restore a run:
> >
> ># id
> >uid=0(root) gid=0(root) groups=0(root)
> ># amfetchdump -p -d tape:/dev/nst0 conf1 gustav | tar -xpGf -
> >amfetchdump: running as user "root" instead of "amanda"
> >
> >ugh?
> >jf
> >  
> amfetchdump must be able to access the amanda log and index. Only the 
> 'amanda' user can do it.
> 
> su amanda -c "amfetchdump -p -d tape:/dev/nst0 conf1 gustav" | tar -xpGf -

Is this a new feature? I've done restore as root in the past I'm sure
and never seen this before. Have been living blind all this time? :)
So I guess I was lucky enough to do the amfetchdump in a dir owned by
amanda and then it could recreate the dir structure and file
ownerships...

thanks,
jf

> 
> Jean-Louis

-- 
<° >< Jean-François Malouin <Jean-Francois.Malouin @ bic.mni.mcgill.ca>
System/Network Administrator      <http://www.bic.mni.mcgill.ca/~malin>
McConnell Brain Imaging Centre        Voice:             (514) 398-8924
Montréal Neurological Institute       Fax:               (514) 398-8948
3801 Rue University, Suite WB219      Montréal, Québec, H3A 2B4, Canada

Reply via email to