Re: [Bacula-users] Virtual Backups
2011-01-07 11:08:51
On Fri, Jan 07, 2011 at 04:21:57PM +0100, Gandalf Corvotempesta wrote:
> Hi all,
> i'm trying to configure a bacula 5.0.2 to do virtual backups.
> I'm able to do the first virtual backup with success, but after
> that, i'm unable to do a new one.
>
> This is the error message that i'm receiving in the second virtualfull:
>
> 07-Jan 15:07 b01-dir JobId 1335: Using Device
> "myclient-FileStorageVirtualFull"
> 07-Jan 15:07 b01-sd JobId 1335: acquire.c:117 Changing read device. Want
> Media Type="myclient-FileVirtualFull" have="myclient-File"
> device="myclient-FileStorage" (/var/bacula/backups/clients/myclient)
>
>
> I'm using a different Pool for every kind of backups:
>
> Job {
> ...
> Pool = myclient-FullPool
> Full Backup Pool = myclient-FullPool
> Incremental Backup Pool = myclient-IncrementalPool
> Differential Backup Pool = myclient-DifferentialPool
> Storage = myclient-Storage
> ...
> }
>
> Pool {
> ...
> Name = "myclient-VirtualFullPool"
> Label Format = "${Year}${Month:p/2/0/r}${Day:p/2/0/r}_
> ${Hour:p/2/0/r}${Minute:p/2/0/r}-myclient-virtualfull"
> Pool Type = Backup
> Maximum Volume Jobs = 1
> Storage = myclient-StorageVirtualFull
> NextPool = myclient-FullPool
> ...
> }
>
> Pool {
> ...
> Name = myclient-FullPool
> Label Format = "${Year}${Month:p/2/0/r}${Day:p/2/0/r}_
> ${Hour:p/2/0/r}${Minute:p/2/0/r}-myclient-full"
> Pool Type = Backup
> Maximum Volume Jobs = 1
> ...
> }
>
> Obviously I also have a pool for Incremental and Differential.
>
>
>
> This is the storage daemon configuration:
>
> Device {
> Name = myclient-FileStorage
> Device Type = File;
> Media Type = myclient-File
> Archive Device = "/var/bacula/backups/clients/myclient"
> LabelMedia = yes;
> Random Access = yes;
> AutomaticMount = yes;
> Requires Mount=no;
> RemovableMedia = no;
> AlwaysOpen = no;
> }
>
> Device {
> Name = myclient-FileStorageVirtualFull
> Device Type = File;
> Media Type = myclient-FileVirtualFull
> Archive Device = /var/bacula/backups/clients/myclient
> LabelMedia = yes;
> Random Access = yes;
> AutomaticMount = yes;
> Requires Mount=no;
> RemovableMedia = no;
> AlwaysOpen = no;
> }
>
>
> What I understood from documentation is that Bacula will read
> Full,Differential and Incremental volumes from the Pool specified
> in "Pool" directive from the Job resource and then it will write
> the VirtualFull backup to the NextPool resource of the original Pool.
>
> This will work for the first time, but the second time, it tries
> to read the VirtualFull from the original Pool regardless the
> real pool and storage specified with "NextPool"
>
> Any hints?
Hello,
In my configuration, I have (paraphrasing it for simplicity):
ScratchPoolA
Type=Scratch
FullPoolA
Type=Backup
RecyclePool=ScratchPoolA
ScratchPool=ScratchPoolA
IncrPoolA
Type=Backup
RecyclePool=ScratchPoolA
ScratchPool=ScratchPoolA
NextPool = FullPool
Job
Full Backup Pool = FullPoolA
Incremental Backup Pool = IncrPoolA
All my Virtuals then end up in FullPoolA.
There are no separate pools for Virtuals.
------------------------------------------------------------------------------
Gaining the trust of online customers is vital for the success of any company
that requires sensitive data to be transmitted over the Web. Learn how to
best implement a security strategy that keeps consumers' information secure
and instills the confidence they need to proceed with transactions.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|
|
|