hi,

-----Original Message-----
From: Fabrizio Reale [mailto:fabrizio.re...@redomino.com]
Sent: Tue 9/22/2009 10:03 AM
To: bacula-users@lists.sourceforge.net
Subject: [Bacula-users] Alternating two usb disks
 
>Hi all,
>I would like to store my volumes on two usb disks in order to keep one disk 
>in a safe place.
>I want to exchange the disks once per week.
>I set up my storage in this way:

by defining Use Volume Once = yes in the matching pool
configuration you can force bacula to create a new
backupfile with every job.

here is a configuration snipplet i use:

Pool {
  Name = Main-Pool
  Pool Type = Backup
  Recycle = no
  AutoPrune = no
  Volume Retention = 365 days
  Use Volume Once = yes
  Maximum Volume Bytes = 4831838208
  LabelFormat = 
"${Client}_${Job}_${Level}_${Year}-${Month:p/2/0/r}-${Day:p/2/0/r}_${Hour:p/2/0/r}:${Minute:p/2/0/r}:${Second
:p/2/0/r}"
}


lg
 gerald




Device {
  Name = FileStorage
  Device Type = File
  Media Type = File
  Archive Device = /opt/bacula/disk
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = yes
  AlwaysOpen = no
  RequiresMount = Yes
  Mount Point = /opt/bacula/disk
  Mount Command = "/bin/mount /opt/bacula/disk"
  Unmount Command = "/bin/umount /opt/bacula/disk"
}




But when I switch the disks Bacula looks for the last Volume which is still 
appendable.
I would like it could start with a new Volume without asking anything.

Is that possible?

Thank you,
Fabrizio





------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to