Bacula-users

Re: [Bacula-users] Alternating two usb disks

2009-09-22 04:18:47
Subject: Re: [Bacula-users] Alternating two usb disks
From: "Gerald Leier" <Gerald.Leier AT lixto DOT com>
To: "Fabrizio Reale" <fabrizio.reale AT redomino DOT com>, <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 22 Sep 2009 10:11:24 +0200

hi,

-----Original Message-----
From: Fabrizio Reale [mailto:fabrizio.reale AT redomino DOT com]
Sent: Tue 9/22/2009 10:03 AM
To: bacula-users AT lists.sourceforge DOT 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&reg; 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 AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------
Come build with us! The BlackBerry&reg; 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&#45;12, 2009. Register now&#33;
http://p.sf.net/sfu/devconf
_______________________________________________
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>