Hoi, Im using version 2.4.4 of Bacula This is the standard release used in Debian 5.0.4 Lenny
I have tryed the next example: In CHAPTER 25. AUTOMATED DISK BACKUP Director { # define myself Name = bacula-dir DIRport = 9101 QueryFile = "/home/bacula/bin/query.sql" WorkingDirectory = "/home/bacula/working" PidDirectory = "/home/bacula/working" Maximum Concurrent Jobs = 1 Password = " *** CHANGE ME ***" Messages = Standard } # By default, this job will back up to disk in /tmp Job { Name = client Type = Backup Client = client-fd FileSet = "Full Set" Schedule = "WeeklyCycle" Storage = File Messages = Standard Pool = Default Full Backup Pool = Full-Pool Incremental Backup Pool = Inc-Pool Differential Backup Pool = Diff-Pool Write Bootstrap = "/home/bacula/working/client.bsr" Priority = 10 } # Backup the catalog database (after the nightly save) Job { Name = "BackupCatalog" Type = Backup Client = client-fd FileSet="Catalog" Schedule = "WeeklyCycleAfterBackup" Storage = File Messages = Standard Pool = Default # This creates an ASCII copy of the catalog # WARNING!!! Passing the password via the command line is insecure. # see comments in make_catalog_backup for details. RunBeforeJob = "/home/bacula/bin/make_catalog_backup bacula bacula" # This deletes the copy of the catalog RunAfterJob = "/home/bacula/bin/delete_catalog_backup" Write Bootstrap = "/home/bacula/working/BackupCatalog.bsr" Priority = 11 # run after main backup } # Standard Restore template, to be changed by Console program Job { Name = "RestoreFiles" Type = Restore Client = havana-fd FileSet="Full Set" Storage = File Messages = Standard Pool = Default Where = /tmp/bacula-restores } # List of files to be backed up FileSet { Name = "Full Set" Include = { Options { signature=SHA1; compression=GZIP9 } File = / File = /usr File = /home File = /boot File = /var File = /opt } Exclude = { File = /proc File = /tmp File = /.journal File = /.fsck ... } } Schedule { Name = "WeeklyCycle" Run = Level=Full 1st sun at 2:05 Run = Level=Differential 2nd-5th sun at 2:05 Run = Level=Incremental mon-sat at 2:05 } # This schedule does the catalog. It starts after the WeeklyCycle Schedule { Name = "WeeklyCycleAfterBackup" Run = Level=Full sun-sat at 2:10 } # This is the backup of the catalog FileSet { Name = "Catalog" Include { Options { signature=MD5 } File = /home/bacula/working/bacula.sql } } Client { Name = client-fd Address = client FDPort = 9102 Catalog = MyCatalog Password = " *** CHANGE ME ***" AutoPrune = yes # Prune expired Jobs/Files Job Retention = 6 months File Retention = 60 days } Storage { Name = File Address = localhost SDPort = 9103 Password = " *** CHANGE ME ***" Device = FileStorage Media Type = File } Catalog { Name = MyCatalog dbname = bacula; user = bacula; password = "" } Pool { Name = Full-Pool Pool Type = Backup Recycle = yes # automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 6 months Maximum Volume Jobs = 1 Label Format = Full- Maximum Volumes = 9 } Pool { Name = Inc-Pool Pool Type = Backup Recycle = yes # automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 20 days Maximum Volume Jobs = 6 Label Format = Inc- Maximum Volumes = 7 } Pool { Name = Diff-Pool Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 40 days Maximum Volume Jobs = 1 Label Format = Diff- Maximum Volumes = 10 } Messages { Name = Standard mailcommand = "bsmtp -h mail.domain.com -f \"\(Bacula\) %r\" -s \"Bacula: %t %e of %c %l\" %r" operatorcommand = "bsmtp -h mail.domain.com -f \"\(Bacula\) %r\" -s \"Bacula: Intervention needed for %j\" %r" mail = r...@domain.com = all, !skipped operator = r...@domain.com = mount console = all, !skipped, !saved append = "/home/bacula/bin/log" = all, !skipped } and the Storage daemon's configuration file is: Storage { # definition of myself Name = bacula-sd SDPort = 9103 # Director's port WorkingDirectory = "/home/bacula/working" Pid Directory = "/home/bacula/working" } Director { Name = bacula-dir Password = " *** CHANGE ME ***" } Device { Name = FileStorage Media Type = File Archive Device = /files/bacula LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } Messages { Name = Standard director = bacula-dir = all } Then i want to backup to different directorys So i made a different storage device(with a differnet name and filetype); three different pools; The names of the volumes i did at first not change. And my storage deamon did not react anymore. I did get no message, no erroir, nothing. After searching, i changed the volumename inc- to <hostname-inc- and the same for full- and diff-. After that the storage de3amon did function again And i can make backups BUT the numbering is (bij one backup dir) FULL-0001 INC-0002 DIFF-0003 FULL-0004 INC-0005 And by more dirs The numbers are in order of started backups FOr example: /backup Full-0001 Full-0002 Full-0003 Inc-0006 Inc-0008 /hostname hostname-Inc-0007 hostname-Full-0004 hostname-Inc-0005 hostname-Inc-0009 I think probally a bug. I want the number to start by 1 and continue-ing numbering up Something like this: Full-0001 t/m Full-0009 Inc-0001 t/m Inc-0007 Diff-0001 t/m Diff-0010 Is this a bug. Or have i to set or reset something, before using the autonum/autolabel possibility. Can Anybody please help me Thanks Erik ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users