Director {
Name = bacula-dir
Password = "XXXX"
}
Director {
Name = bacula-mon
Password = "xxxx"
Monitor = yes
}
FileDaemon {
Name = web-fd ← bacula-dir.confの名前に合わせる
FDport = 9102 # where we listen for the director
WorkingDirectory = /var/spool/bacula
Pid Directory = /var/run
Maximum Concurrent Jobs = 20
}
# Send all messages except skipped files back to Director
Messages {
Name = Standard
director = bacula-dir = all, !skipped, !restored
}
次に/etc/bacula/bconsoleの設定Connecting to Director localhost:9101
1000 OK: bacula-dir Version: 5.0.0 (26 January 2010)
Enter a period to cancel a command.
*run ← 緑は入力する文字
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
A job name must be specified.
The defined Job resources are:
1: Backup-samba
2: Backup-kvm
3: Backup-web
4: BackupCatalog
5: Restore-samba
6: Restore-kvm
7: Restore-web
Select Job resource (1-7): 3
Run Backup job
JobName: Backup-web
Level: Incremental
Client: web-fd
FileSet: Full web
Pool: File (From Job resource)
Storage: File (From Job resource)
When: 2014-05-20 21:46:47
Priority: 10
OK to run? (yes/mod/no): yes