Bacula-users

[Bacula-users] File sets, are excluded directories created, but their contents omitted?

2011-01-13 06:11:11
Subject: [Bacula-users] File sets, are excluded directories created, but their contents omitted?
From: Mister IT Guru <misteritguru AT gmx DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 13 Jan 2011 11:09:11 +0000
I want to create two file sets for my virtualisation hosts.

FileSet {

   Name = "XEN-NoImages"

   Include

     {

         File = /

     File = /boot

     }



     Exclude {

     File = /backup

     File = /.fsck

     File = /.journal

     File = /tmp

     File = /proc

     File = /tmp

     File = /var/lib/bacula
     File = /var/lib/xen/images

   }

  }


FileSet {

   Name = "XEN-ImagesOnly"

   Include

     {

         File = /var/lib/xen/images

     }



     Exclude {

     File = /backup

     File = /.fsck

     File = /.journal

     File = /tmp

     File = /proc

     File = /tmp

     File = /var/lib/bacula
   }

  }


When I think about this, I shouldn't even really need to include the 
Exclude section of the XEN-ImagesOnly fileset, none of those paths cross 
the include paths


My question is, A full backup using XEN-NoImages file set, will it make 
the directories /tmp,  /var/lib/xen/images and co, because my plan is in 
case of emergency to restore the XEN-NoImages file set, followed by the 
images file set. If not, will that make the second restore fail? I'd 
like to know so that I can write the required scripts to create the 
directories with the right permissions before restore jobs are run. Any 
hints and tips are always appreciated, and replied to.

Thanks!

-- 
The Solo System Admin - Follow me - I follow you
http://solosysad.blogspot.com/
Latest Entry - Smooth Sailing with CentOS
--
Mister IT Guru At Gmx Dot Com


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
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>