Bacula-users

Re: [Bacula-users] [SOLVED] Re: Is it possible to back up mountpoints?

2016-07-28 11:16:30
Subject: Re: [Bacula-users] [SOLVED] Re: Is it possible to back up mountpoints?
From: Martin Simmons <martin AT lispworks DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Thu, 28 Jul 2016 16:15:36 +0100
>>>>> 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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>