>>>>> On Sun, 24 Jul 2016 10:13:39 +0530, Charles  said:
> 
> On 23/07/16 12:53, Charles wrote:
> > Hello bacula-users :-)
> > 
> > For convenience when restoring, it is useful to re-create directories
> > which are used as mountpoints.  Can they be backed up?
> > 
> > Our FileSet backs up some useful empty directories and attempts to
> > backup a mountpoint:
> > 
> > FileSet {
> >     ...
> >         Options {
> >             # Directories to back up without their contents
> >             Exclude = yes
> >             regex = "^(/[^/]*)*/tmp/.*"
> >             regex = "^(/[^/]*)*/lost\\+found/.*"
> >             ...
> >             regex = "^/dev/.*"
> >         }
> >     ...
> > }
> > 
> > /dev is not backed up.
> > 
> > Is it possible to back up mountpoints?
> > 
> > Best
> > 
> > Charles
> > 
> 
> Solved by adding "File = /dev"

It may solve "/dev is not backed up" but beware that making a backup of /dev
is often not useful on Linux where its contents are created by udev.

Also, /dev doesn't normally contain mountpoints.

__Martin

------------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to