Собствено нужно бэкапить 1 папку раз в неделю в 21 00 (Full) глубина архива -15 дней
# Backup winhost
Job {
Name = "BackupWin"#имя
Type = Backup #Тип backup,restore и т.п.
Level = Full #Уровень полный
Client = andrey-fd # имя клиента
FileSet = "WinSet"# Набор файлов для сохранения описывается ниже
Schedule = "winschedule" # Название расписание где определно с какой периодичностью бэкапит, описано ниже
Storage = Win # Файловое хранилище куда сохранять
Messages = Standard # Уведомление
Pool = Win # Pool куда пишем бэкапы
Priority = 10 # Приоритет давая приоритеты от 1 до 10 регулируем последовательность выполнения
Write Bootstrap = "/var/lib/bacula/%c.bsr" # Этот файл позволяет востанавливать копии если есть какие либо проблемы с sql каталогом
}
FileSet {
Name = "WinSet"
Include {
Options {
# signature = MD5
# compression = GZIP
# recurse = yes
# portable = no
# noatime = yes
# checkfilechanges = yes
signature = MD5
ignore Case = yes
compression = GZIP
wildfile = "*.mp3"
wildfile = "*.mp4"
wildfile = "*.wav"
wildfile = "*.3gp"
wildfile = "*.gif"
wildfile = "*.avi"
wildfile = "ntuser.dat"
wilddir = "tmp"
wilddir = "TMP"
wilddir = "Temporary Internet Files"
wilddir = "recycled"
# wilddir = "ALTA"
# regexfile = "*.dt"
exclude = yes
}
#
# Put your list of files here, preceded by 'File =', one per line
# or include an external list with:
#
# File = <file-name
#
# Note: / backs up everything on the root partition.
# if you have other partitions such as /usr or /home
# you will probably want to add them too.
#
# By default this is defined to point to the Bacula binary
# directory to give a reasonable FileSet to backup to
# disk storage during initial testing.
#
File = "C:/Documents and Settings/spg"
}
}
Schedule {
Name = "winschedule"
Run = Full 1st sun at 23:05
Storage {
Name = Win
Address = 192.168.3.101
SDPort = 9103
Password = "HMZJEKZ826yOS3Bk1nboH-6DWQN90Ptx8"
Device = FileStorage
Media Type = File
}
Pool {
Name = Win
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 15 days
Maximum Volume Bytes = 60G
Maximum Volumes = 20
}
Дальше создаю 1 том в pool win в него и будут литься бэкапы. Правильно ли я все понял и сделал ?