I have bacula set up in my small network, and for linux machines, it seems to be working fine. I just configured a windows client, and the problem that I'm having is that when the job runs for the windows client, it backs up more than it should be. I have it configured to only back up a few directories on my C and D drives, but it's actually backing up the entire drive. If I run
estimate job=job-name listing level=Full
in the console, the list of files that I get back is correct, and limited just to the folders that I've selected.
Here's the relevant pieces of the director configuration:
FileSet {
Name = "Windows Client Defined"
Include {
Options {
signature = MD5
compression = gzip
onefs = no
IgnoreCase = yes
exclude = yes
# Exclude directories full of lots and lots of useless little files for Windows 2008
WildDir = "[A-Z]:/Users/*/Cookies"
WildDir = "[A-Z]:/Users/*/Recent"
WildDir = "[A-Z]:/Users/*/Local Settings/History"
WildDir = "[A-Z]:/Users/*/Local Settings/Temp"
WildDir = "[A-Z]:/Users/*/Local Settings/Temporary Internet Files"
# Temporary directories & files
WildDir = "[A-Z]:/Windows/Temp"
WildDir = "[A-Z]:/Temp"
WildFile = "*.tmp"
WildDir = "[A-Z]:/Tmp"
WildDir = "[A-Z]:/var/tmp"
WildDir = "[A-Z]:/Windows/Internet Logs"
WildDir = "[A-Z]:/Windows/$Nt*Uninstall*"
# Recycle bins
WildDir = "[A-Z]:/RECYCLER"
# Swap files
WildFile = "[A-Z]:/pagefile.sys"
WildFile = "[A-Z]:/hiberfil.sys"
}
File = "\\<C:/bacula_backup_file_list"
}
Exclude {
File = "\\<C:/bacula_backup_exclude_file_list"
}
}
JobDefs {
Name = "DefaultWindowsJob"
Type = Backup
Schedule = "WeeklyCycle"
FileSet = "Windows Client Defined"
Storage = Storage
Messages = Standard
Priority = 10
Pool = Default
Full Backup Pool = Full-Pool
Incremental Backup Pool = Inc-Pool
Differential Backup Pool = Diff-Pool
}
Job {
Name = "win"
JobDefs = "DefaultWindowsJob"
Client = win-fd
Write Bootstrap = "/var/lib/bacula/win.bsr"
}
Here is the bacula_backup_file_list:
C:/Users/user
C:/Documents
D:/Projects
And the bacula_backup_exclude_file_list:
C:/Users/user/.m2/repository
C:/Users/user/Downloads
C:/Users/user/.android
C:/Users/user/Music
C:/Users/user/Google Drive
My best guess is that there's a shortcut or something in one of these folders that's pointing back to the C drive, but I'm not sure where it would be, and I would have expected the estimate command then to follow that shortcut as well.
Any ideas why it's backing up so much?