Attila,

try it with

Label Format = "Full_Backup_${Client}-${Counter+}"

Counters are not autoincremented, you have to use + for that.

Attila

laczko attila wrote:
Hi all,
I have one more small problem in running Bacula
smoothly:
acording to the documentation, in the Pool definition,
the Label Format variable should do his job and
increment the counter uutomaticaly for a "Vol" value;
for example "Vol-0001"- first volume,"Vol-0002"-the
second volume and so on.
In my case this thoes not hapens, so I have defined my
own Counter resource (described bellow) and according
to my needs to:
Counter {
    Name = Counter
    Minimum = 1
    Maximum = 9999
    Catalog = MyCatalog
}

The Pool resource definition looks like this:
Pool {
  Name = Full-Pool
  Pool Type = Backup
Recycle = yes AutoPrune = yes Volume Retention = 13 days #I wish to keep the backup 2 weeks Accept Any Volume = yes Volume Use Duration = 6 days Maximum Volumes = 8 #they are 4 clients * 2
Full-vols
Label Format = "Full_Backup_${Client}-${Counter}"
}
and with the mention that every device resource in
bacula-sd.conf has the variable "LabelMedia = yes".
Whith this setting everithing should work fine in
Volume labeling, but I receive the following error
mail:

Subject: Bacula: Backup Fatal Error on server1-full

server-dir: Start Backup JobId 64,
Job=BaculaBackupCatalog.2005-06-28_16.48.42
server-dir: BaculaBackupCatalog.2005-06-28_16.48.42
Error: sql_create.c:233 Volume
"Full_Backup_server1-fd-1" already exists.
server-sd: Job BaculaBackupCatalog.2005-06-28_16.48.42
waiting. Cannot find any appendable volumes.
Please use the "label"  command to create a new Volume
for:
    Storage:      FileStorage_server1
    Media type:   File1
    Pool:         Full-Pool

Where I do wrong or what should I do next so bacula
can finaly work corectly???

Any help???PLS!!!
Regards,
Attila Laczko


                
____________________________________________________
Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs

-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users





-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to