s***@gmail.com
2018-08-07 13:34:54 UTC
Hi,
Using the following fileset, /home and /var directories on hosts with these
directories on separate partitions do not get backed up ("/var is a
different filesystem. Will not descend from / into it."). Since OneFS is
set to No, I can't see the reason why this doesn't work. Does anyone have
any idea how to proceed (apart from manually adding /home and /var as
includes)?
Thanks
---------------------------------------------------------
FileSet {
Name = "LinuxAll"
Description = "Backup all regular filesystems, determined by filesystem
type."
Include {
Options {
Signature = MD5 # calculate md5 checksum per file
One FS = No # descend into other filesystems
FS Type = btrfs
FS Type = ext2 # filesystems of given types will be backed up
FS Type = ext3 # others will be ignored
FS Type = ext4
FS Type = reiserfs
FS Type = jfs
FS Type = xfs
FS Type = zfs
}
Options {
Exclude = yes
Wild = "/var/virtualizor/backup*"
}
File = /
Exclude Dir Containing = .nobackup
}
# Things that usually have to be excluded
# You have to exclude /var/lib/bareos/storage
# on your bareos server
Exclude {
File = /backup
File = /proc
File = /tmp
File = /run
File = /sys
File = /dev
File = /var/lib/bareos
File = /var/lib/mysql
File = /var/run
File = /var/lock
File = /var/tmp
File = /.journal
File = /.fsck
}
}
Using the following fileset, /home and /var directories on hosts with these
directories on separate partitions do not get backed up ("/var is a
different filesystem. Will not descend from / into it."). Since OneFS is
set to No, I can't see the reason why this doesn't work. Does anyone have
any idea how to proceed (apart from manually adding /home and /var as
includes)?
Thanks
---------------------------------------------------------
FileSet {
Name = "LinuxAll"
Description = "Backup all regular filesystems, determined by filesystem
type."
Include {
Options {
Signature = MD5 # calculate md5 checksum per file
One FS = No # descend into other filesystems
FS Type = btrfs
FS Type = ext2 # filesystems of given types will be backed up
FS Type = ext3 # others will be ignored
FS Type = ext4
FS Type = reiserfs
FS Type = jfs
FS Type = xfs
FS Type = zfs
}
Options {
Exclude = yes
Wild = "/var/virtualizor/backup*"
}
File = /
Exclude Dir Containing = .nobackup
}
# Things that usually have to be excluded
# You have to exclude /var/lib/bareos/storage
# on your bareos server
Exclude {
File = /backup
File = /proc
File = /tmp
File = /run
File = /sys
File = /dev
File = /var/lib/bareos
File = /var/lib/mysql
File = /var/run
File = /var/lock
File = /var/tmp
File = /.journal
File = /.fsck
}
}
--
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "bareos-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to bareos-users+***@googlegroups.com.
To post to this group, send email to bareos-***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.