Bacula-users

[Bacula-users] Recycling and relabeling volume

2014-05-19 16:23:31
Subject: [Bacula-users] Recycling and relabeling volume
From: hals <bacula-forum AT backupcentral DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Mon, 28 Apr 2014 06:17:48 -0700
Hello,

I want to recycling and auto-relabeling a used volume.
For example :
- first backup, the volume label is Full_Repository_2014-04-28_11h20m
- second backup, the same volume is used and the label will be 
Full_Repository_2014-04-29_11h20m

But the volume name doesn't change.

What's the problem ?

My bacula-dir.conf :

# Default Bacula Director Configuration file
# For Bacula release 5.0.0 (26 January 2010) -- redhat

Director {
        Name = bacula-dir
        DIRport = 9101
        QueryFile = "/usr/libexec/bacula/query.sql"
        WorkingDirectory = "/var/spool/bacula"
        PidDirectory = "/var/run"
        Maximum Concurrent Jobs = 1
        Password = "mdp2012"
        Messages = Daemon
}

Catalog {
        Name = Catalog_test
        dbname = "bacula"; dbuser = "bacula"; dbpassword = "mdp2012"
}

Messages {
  Name = Standard
#
# NOTE! If you send to two email or more email addresses, you will need
#  to replace the %r in the from field (-f part) with a single valid
#  email address in both the mailcommand and the operatorcommand.
#  What this does is, it sets the email address that emails would display
#  in the FROM field, which is by default the same email as they're being
#  sent to.  However, if you send email to more than one address, then
#  you'll have to set the FROM address manually, to a single address.
#  for example, a 'no-reply AT mydomain DOT com', is better since that tends to
#  tell (most) people that its coming from an automated source.
  mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s 
\"Bacula: %t %e of %c %l\" %r"
  operatorcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s 
\"Bacula: Intervention needed for %j\" %r"
  mail = mail AT mail DOT com = all, !skipped
  operator = root@localhost = mount
  console = all, !skipped, !saved
  append = "/var/spool/bacula/log" = all, !skipped
  catalog = all
}

Messages {
        Name = Daemon
        mailcommand = "/usr/sbin/bsmtp -h localhost -f \"\(Bacula\) \<%r\>\" -s 
\"Bacula daemon message\" %r"
        mail = mail AT mail DOT com = all, !skipped
        console = all, !skipped, !saved
        append = "/var/log/bacula.log" = all, !skipped
}

Console {
        Name = bacula-mon
        Password = "mdp2012"
        CommandACL = status, .status
}

Client {
        Name = Repository
         Password = mdp2012
        Address = x.x.x.x
        FDPort = 9102
        Catalog = Catalog_test
        Maximum Concurrent Jobs = 1
}

FileSet {
  Name = FS_Sauvegarde
  Include {
    File = "E:/Repository/2. Admin/ARCHIVE LOTUS"
    Options {
      signature = MD5
      Compression = GZIP9
    }
  }
}

Pool {
        Name = Pool_test
        Maximum Volumes = 1
        Pool Type = Backup
        Maximum Volume Jobs = 1
#       Maximum Volume Files = 2
#       Maximum Volume Bytes = 0
        AutoPrune = yes
        Volume Retention = 10 minutes
        Use Volume Once = yes
        Recycle = yes
#       Recycle Oldest Volume = no
#       Recycle Current Volume = no
#       File Retention = 2 weeks
#       Volume Use Duration = 10 minutes
#       Job Retention = 365 days
        Label Format = 
"${Level}_${Job}_${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}h${Minute:p/2/0/r}m"
}

Job {
  Name = Repository
  Type = Backup
        Accurate = no
  Client = Repository
  FileSet = FS_Sauvegarde
  Schedule = SCH_Sauvegarde
  Storage = SD_Sauvegarde
  Messages = Standard
  Pool = Pool_test
        Max Run Time = 86400
  Level = Full
}

Schedule {
  Name = SCH_Sauvegarde
  Run = Level=Full Pool=Pool_test apr on 28 at 11:20
  Run = Level=Full Pool=Pool_test apr on 28 at 11:35
  Run = Level=Full Pool=Pool_test apr on 28 at 11:50
}

Storage {
        Name = SD_Sauvegarde
        Password = mdp2012
        Address = x.x.x.x
        SDPort = 9103
        Device = Sauvegarde
        Media Type = File
        Maximum Concurrent Jobs = 1
}


Thanks.

+----------------------------------------------------------------------
|This was sent by sylvain.palous AT gmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------



------------------------------------------------------------------------------
"Accelerate Dev Cycles with Automated Cross-Browser Testing - For FREE
Instantly run your Selenium tests across 300+ browser/OS combos.
Get unparalleled scalability from the best Selenium testing platform available
Simple to use. Nothing to install. Get started now for free."
http://p.sf.net/sfu/SauceLabs
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>