#291 Issue closed: include filsystem in backup when AUTOEXCLUDE_MULTIPATH=y

Labels: support / question

MalfuncEddie opened issue at 2013-08-12 10:51:

I've got a server with the OS on internal disks. There are a lot of san disks that don't need to be included in the backup. These have been excluded with AUTOEXCLUDE_MULTIPATH=y.

Unfortunately I do need one file system that is defined on the san/multipath volume. Is there a way that I can include this file system.

Or do I have to manually fill the exclude list with all filesystems on the san except the file system I need ?

gdha commented at 2013-08-13 08:12:

You could use in the /etc/rear/local.conf file the following settings (example only):

AUTOEXCLUDE_MULTIPATH=n
ONLY_INCLUDE_VG=( "vg00" "vg01" )
EXCLUDE_MOUNTPOINTS=( /san1 /san2 )

You must mention all mountpoints you want to exclude. You could use EXCLUDE_VG instead of ONLY_INCLUDE_VG, but that is up to you what you prefer.

MalfuncEddie commented at 2013-08-13 14:07:

Tnx,

Will try it this week.

jhoekx commented at 2013-08-13 14:15:

It guess it's also useful to mention that the local.conf file is sourced as a shell script. That means you can generate the list in EXCLUDE_MOUNTPOINTS if you want to...

gdha commented at 2013-11-04 15:40:

@MalfuncEddie where your tests successful?
Can we close this issue?

MalfuncEddie commented at 2013-11-04 20:48:

It took what time and some clever implementation of the options but it
worked.

On Mon, Nov 4, 2013 at 4:40 PM, gdha notifications@github.com wrote:

@MalfuncEddie https://github.com/MalfuncEddie where your tests
successful?
Can we close this issue?


Reply to this email directly or view it on GitHubhttps://github.com/rear/rear/issues/291#issuecomment-27694511
.

gdha commented at 2013-11-05 08:14:

@MalfuncEddie Could you explain what you mean with clever implementation of the options?


[Export of Github issue for rear/rear.]