> 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
|