# @compname@ dir
# Client (File Services) to backup
Job {
Name = "@compname@-job"
JobDefs = "DefaultJob2"
Write Bootstrap = "/var/lib/bacula/@compname@.bsr"
Client = @compname@-fd
FileSet = "@compname@-FileSet"
Storage = "@compname@-FileStorage"
ClientRunBeforeJob = "\"E:/Documents and Settings/All Users/Application Data/Bacula/runbefore.bat\""
ClientRunAfterJob = "\"E:/Documents and Settings/All Users/Application Data/Bacula/runafter.bat\""
}
Client {
Name = @compname@-fd
Maximum Concurrent Jobs = 20
Address = @compname@.local
FDPort = 9102
Catalog = MyCatalog
Password = "passworrd" # password for FileDaemon
File Retention = 60 days # 30 days
Job Retention = 6 months # six months
AutoPrune = yes # Prune expired Jobs/Files
}
# List of files to be backed up
FileSet {
Name = "@compname@-FileSet"
Enable VSS = yes
Include {
Options {
signature = MD5
compression = GZIP
IgnoreCase = yes
Exclude = yes
WildDir = "[A-Z]:/temp"
WildFile = "*.tmp"
WildDir = "[A-Z]:/RECYCLER"
WildFile = "[A-Z]:/pagefile.sys"
WildFile = "[A-Z]:/Documents and Settings/*/LocalSettings/Application Data/Microsoft/Windows/usrclass.*"
WildFile = "[A-Z]:/Documents and Settings/*/ntuser.*"
WildDir = "[A-Z]:/Documents and Settings/*/Cookies"
WildDir = "[A-Z]:/Documents and Settings/*/Recent"
WildDir = "[A-Z]:/Documents and Settings/*/LocalSettings/History"
WildDir = "[A-Z]:/Documents and Settings/*/LocalSettings/Temp"
WildDir = "[A-Z]:/Documents and Settings/*/LocalSettings/Temporary Internet Files"
# These are always open and unable to be backed up
WildFile = "[A-Z]:/Documents and Settings/All Users/ApplicationData/Microsoft/Network/Downloader/qmgr[01].dat"
WildFile = "*.mp1"
WildFile = "*.mp2"
WildFile = "*.mp3"
WildFile = "*.avi"
WildFile = "*.mpg"
WildFile = "*.mpeg"
WildFile = "*.ogg"
}
File = C:/SystemStateBackup.bkf
File = E:/
}
Exclude {
}
}
# Definition of file storage device
Storage {
Name = @compname@-FileStorage
Maximum Concurrent Jobs = 1
Address = at0038.local # N.B. Use a fully qualified name here
SDPort = 9103
Password = "passworrd"
Device = @compname@-FileStorage
Media Type = @compname@-File
}
Комментариев нет:
Отправить комментарий