Are you trying to restore in-place? If so, try restoring someplace else and moving files into place.

---- _  _ _  _ ___  _  _  _
|Y#| |  | |\/| |  \ |\ |  | | Ryan Novosielski - User Support Spec. III
|$&| |__| |  | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630


Marcel Gsteiger wrote:
Hi all

I'm trying to use bacula for backup of my linux-vservers. These reside under a directory /vservers 
in their own ext3 filesystem. The /vservers directory is chmod 0000 (the chroot barrier) and either 
has "chattr +t" or "setattr --barrier" (depending on the linux-vserver version 
being used).

Backup seems to work, at least the files are counted and can be found within the catalog. 
But when I try to restore some file below /vservers, the director reports "ok" 
and counts the file, but then no file has been written to the restore location.

I think that the chmod 0000 of the /vservers directory (or the setattr --barrier) is the problem, but I'm unsure.
Is there a way to tell bacula to ignore the attributes when restoring? Did 
anybody succeed doing linux-vserver backup/restore from the host server using 
bacula? I'm also unsure whether bacula saves/restores the UID/GID of the files 
numerically (as it hopefully does, as each vserver has different UID/GID 
assignments).

Of course, I could install a bacula-fd within each VServer and create 
individual jobs, but backing up the entire /vservers partition at once would 
save me a lot of configuration.

Any ideas?

Regards
--Marcel





-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=k&kid0944&bid$1720&dat1642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to