Bacula-users

[Bacula-users] restore of catalog & volumes

2008-06-27 07:41:52
Subject: [Bacula-users] restore of catalog & volumes
From: Vladimir Vassiliev <vova AT edu.yar DOT ru>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 27 Jun 2008 15:41:37 +0400
Hi!

I have just begin playing with bacula. I created backup of catalog and tried to 
restore it. I restored backup.sql succesfully, 
stopped bacula-dir, and restored database with psql. After I started bacula-dir 
and tried to make new backup on the same volume
(where catalog's backup stored), but those messages stopped me:
 
27-Jun 15:21 test-dir JobId 37: Start Backup JobId 37, 
Job=Client1.2008-06-27_15.21.03
27-Jun 15:21 test-dir JobId 37: Using Device "FileStorage"
27-Jun 15:21 test-sd JobId 37: Volume "q" previously written, moving to end of 
data.
27-Jun 15:21 test-sd JobId 37: Error: Bacula cannot write on disk Volume "q" 
because: The sizes do not match! Volume=395221 Catalog=793
27-Jun 15:21 test-sd JobId 37: Marking Volume "q" in Error in Catalog.
27-Jun 15:21 test-sd JobId 37: Job Client1.2008-06-27_15.21.03 waiting. Cannot 
find any appendable volumes.
Please use the "label"  command to create a new Volume for:
    Storage:      "FileStorage" (/backup)
    Pool:         Default
    Media type:   File

Ok, that's right (backup.sql was stored).
Now, I have some questions.
Is there any way to make this volume usable for new backups?
Or I can only make it "Used"? And will this volume suitable for restores?
Does this issue mean that I have to backup catalog to distinct volume?

Thanks.

-- 
Vladimir Vassiliev <vova AT edu.yar DOT ru>

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
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>