I'm trying to backup a web server with multiple web sites. The source code for websites is located in the "/internet/VDomain" directory and those files that are uploaded by users trough web administration are located in the "/internet/Files" directory and sometimes when this partition is full there is another additional partition "/data".
On several servers this configuration works great but on "cepheus" server the Job ends with a "warning" status and the error message is: "Could not stat "/data": ERR=No such file or directory".
I have installed Bareos 14.2.2 (12 December 2014), the web server runs CentOS 6.3, and the involved configurations are:
#
# Jobs
#
Job {
Name = "backup-cepheus"
JobDefs = "DefaultJob"
Client = cepheus-fd
Schedule = "DynamicCycle"
FileSet = "ApacheLinuxWebServer"
}
#
# Client (File Services) to backup
#
Client {
Name = cepheus-fd
Address = cepheus
Password = "QqZkORbbzcviAo68Zlkb7vwXlwzWMxwkS9LkWs9fM02g" # password for FileDaemon
File Retention = 30 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
JobDefs {
Name = "DefaultJob"
Type = Backup
Level = Incremental
Client = cronos-fd
FileSet = "LinuxServer" # FileSet by default
Schedule = "DynamicCycle" # Schedule by default
Storage = backup # SD by default
Messages = Standard
Pool = incremental
Priority = 10
Write Bootstrap = "/var/lib/bareos/%c.bsr"
Full Backup Pool = full
Differential Backup Pool = differential
Incremental Backup Pool = incremental
}
FileSet {
Name = "ApacheLinuxWebServer"
Include {
Options {
Signature = MD5 # calculate md5 checksum per file
One FS = No # change into other filessytems
FS Type = ext2 # filesystems of given types will be backed up
FS Type = ext3 # others will be ignored
FS Type = ext4
FS Type = xfs
FS Type = reiserfs
FS Type = jfs
FS Type = btrfs
compression=GZIP
}
File = /etc # Save all configuration files
File = /internet/VDomain # Save all source code for sites
File = /internet/Files # Save all self administration files for websites
File = /data # Save all self administration files for websites
File = /var/log # Save server logs
File = /usr/local/etc/publish # Save backups and logs of publications
}
}
Schedule {
Name = "DynamicCycle"
Run = Full sun at 15:00
Run = Differential tue, thu at 23:30
Run = Incremental mon, wed, fri at 23:30
}
These are the partitios on cepheus server:
/dev/sda1 /
/dev/sdb3 /data
I've tested the FileSet from bconsole with the command "estimate" and the output shows all the the files in the "/data" directory without any problems.
Anyone have any idea why Bareos reports this error? Thanks