SearchFAQMemberlist Log in
Reply to topic Page 1 of 1
VirtualFull please mount volume message
Author Message
Post VirtualFull please mount volume message 
Hello,

this is my setup. I defined 2 filebased storage devices, file-1 and
file-2. They are mapped to the folder /bacula-stor/file-1 and
/bacula-stor/file-2. I defined 2 pools, pool-1 and pool-2, that are
mapped to the storage devices. Pool-1 has his Next Pool directive set to
pool-2.

I have an incremental backup job that uses pool-1. On sunday, I want to
merge these incremental backups using a VirtualFull backup. The first
week, this went good. He used pool-1 as a source and pool-2 as a target.
This week however, he hangs with request to mount the media the previous
full backup was taken to. The problem is that this media is in pool-2
(=device file-2, /bacula-stor/file-2), and he tries to mount it with
pool-1 (=device file-1, /bacula-stor/file-1). This means he's looking
for the file in the wrong folder and can't find it. I think the reason
it worked the first time, was because the first incremental backup was
automatically upgraded to full, but was written to pool-1.

Any idea on how to solve this?

Thanks,

Tom


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post VirtualFull please mount volume message 
El 30/01/12 09:22, Tom escribió:
Hello,

this is my setup. I defined 2 filebased storage devices, file-1 and
file-2. They are mapped to the folder /bacula-stor/file-1 and
/bacula-stor/file-2. I defined 2 pools, pool-1 and pool-2, that are
mapped to the storage devices. Pool-1 has his Next Pool directive set to
pool-2.

I have an incremental backup job that uses pool-1. On sunday, I want to
merge these incremental backups using a VirtualFull backup. The first
week, this went good. He used pool-1 as a source and pool-2 as a target.
This week however, he hangs with request to mount the media the previous
full backup was taken to. The problem is that this media is in pool-2
(=device file-2, /bacula-stor/file-2), and he tries to mount it with
pool-1 (=device file-1, /bacula-stor/file-1). This means he's looking
for the file in the wrong folder and can't find it. I think the reason
it worked the first time, was because the first incremental backup was
automatically upgraded to full, but was written to pool-1.

Any idea on how to solve this?
Hi Tom,

I was getting the same error, I have similar config for doing virtual
fulls, I've solved this with a small script that is run after every
backup job. The script simply moves the volumes (if any) from one pool
to another running a bconsole command and then fixing MediaType and
StorageId for that volume doing one update on catalog database. This is
not the recommended way to solve it but I've not found another way. I am
running virtual fulls every week.

I hope it helps




Thanks,

Tom


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users


------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Post VirtualFull please mount volume message 
I eventuelly copied the volume files into the other directory and
changed the definition of the second file device to that folder. This
works as he is now able to locate the volume. For now it will work, but
if the data grows I will have to come up with a different solution as
the volume will be filling up.

Tom

El 30/01/12 09:22, Tom escribió:

I was getting the same error, I have similar config for doing virtual
fulls, I've solved this with a small script that is run after every
backup job. The script simply moves the volumes (if any) from one pool
to another running a bconsole command and then fixing MediaType and
StorageId for that volume doing one update on catalog database. This is
not the recommended way to solve it but I've not found another way. I am
running virtual fulls every week.

I hope it helps

On 30/01/2012 9:22, Tom wrote:
Hello,

this is my setup. I defined 2 filebased storage devices, file-1 and
file-2. They are mapped to the folder /bacula-stor/file-1 and
/bacula-stor/file-2. I defined 2 pools, pool-1 and pool-2, that are
mapped to the storage devices. Pool-1 has his Next Pool directive set to
pool-2.

I have an incremental backup job that uses pool-1. On sunday, I want to
merge these incremental backups using a VirtualFull backup. The first
week, this went good. He used pool-1 as a source and pool-2 as a target.
This week however, he hangs with request to mount the media the previous
full backup was taken to. The problem is that this media is in pool-2
(=device file-2, /bacula-stor/file-2), and he tries to mount it with
pool-1 (=device file-1, /bacula-stor/file-1). This means he's looking
for the file in the wrong folder and can't find it. I think the reason
it worked the first time, was because the first incremental backup was
automatically upgraded to full, but was written to pool-1.

Any idea on how to solve this?

Thanks,

Tom


------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users



------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
Bacula-users mailing list
Bacula-users < at > lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  


Magic SEO URL for phpBB