Frank Sweetser wrote:
> On Thu, Jan 11, 2007 at 02:45:12PM +0100, Mikael Kermorgant wrote:
> 
>>I've tried the method A on a 3Gb logical volume. I believed I would
>>obtain a smaller file (as there's only 500Mb of data on it) for the
>>backup pool but it became a 3.1 Gb file. Is this something that can be
>>improved ?
> 
> 
> Why not just run a file daemon on the guest image?  That way you don't
> even have to shut it down.
> 


Have you ever thought about snapshots? For a while we used a setup like 
this:

a) a local script is run as ClientRunBeforeJob by the bacula-fd on Dom0
b) this script creates a snapshot for each DomU, mounts it and rsync's 
it to an attached ide-disk (just one plain disk) mounted somewhere in Dom0
c) the fileset associated with this job only contains /var/xen_backup/ 
(the mounted extra-disk; it contains a subfolder for each DomU - name 
taken from logical volume name)

I am well aware that this kind of setup is kinda tautologous, but i 
definatly don't want bacula to backup directly from mounted snapshots. 
Thats why I do the rather fast rsync first, remove the snapshots and 
finally let bacula backup from the plain ide-disk. There's only one 
major drawback: if you back of lots of DomU's with lots of files, you 
will have them all in one single backup job...which might increase 
restore times slightly.. ;)

BUT: if you choose to work with snapshots, make sure your DomU has at 
least 200-256 mb ram. Snapshots are still somewhat experimental and 
sometimes (e.g. with ~128MB ram) cause the running DomU to detect an fs 
error and remount its root filesystem read-only!

-- 
Mit freundlichen Gruessen / with kind regards
  Rudolph Bott

-------------------------------------------------------------------
Megabit Informationstechnik GmbH  Karstr.25  41068 Moenchengladbach
Tel: 02161/308980      [EMAIL PROTECTED]       http://megabit.net
-------------------------------------------------------------------

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to