Bacula-users

Re: [Bacula-users] Question about file permissions after restore.

2008-07-03 13:11:32
Subject: Re: [Bacula-users] Question about file permissions after restore.
From: Thomas Mueller <thomas AT chaschperli DOT ch>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 3 Jul 2008 17:10:49 +0000 (UTC)
> I restored /home/user/bin directory to /home/user/restored directory.
> When I looked at /home/user/restored directory I expected to see just
> bin directory (/home/user/restored/bin/*), this is what Veritas
> Netbackup does, but I see /home/user/restored/home/user/bin/*. The bad
> part is that /home/user/restored/home is owned by root because /home is
> owned by root. Because of that user cannot delete
> /home/user/restored/home directory after the files are moved.
> 
> I think, that if the files are not restored to the original directory
> then bacula should not create parent directories.

see "RegexWhere" (StripPrefix, AddPrefix, etc). 

http://bacula.org/en/rel-manual/Restore_Command.html#filerelocation

think this does what you need.

- Thomas



-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
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>