> On Aug 3, 2017, at 4:44 AM, Andras Horvai <andras.hor...@gmail.com> wrote:
> 
> Hi,
> 
> I had to move my bacula backup server from one server to another because of 
> hardware
> failure. I am using mysql server as my catalog backend. Before installing the 
> new server
> I did a mysql dump on the old and then I did a mysql restore on the new.
> Seemed everything was fine. Then recently I had to restore from Archive.
> 
> I have archive jobs which are copy jobs. 
> I do weekly full backup to a file storage. Then these copy jobs move the last 
> full backup from
> file storage to tape (worm) storage. 
> 
> The retention period of the volume of archive is 100 years. This retention
> time is inherited by the jobs. The file retention time of these jobs is 2 
> months. So in theory,
> when I have to restore something from archive what is 2 years old I would be 
> able to do
> a full job restore... of that full backup which would be perfectly fine for 
> me.... but the problem:

As I understand it, and perhaps other can correct/confirm:

 - when the first retention period is met, the data can be purged from the 
Catalog.

Perhaps this data has been purged from the new database server after it was 
copied it.  It was
there, but now it has been purged. Has the 2 month period been met since that 
move?

> It seemed that after the move of the backup server I lost my archive job 
> records from the catalog.
> bacula did not find the archive jobs of the client in the catalog. I had to 
> use bscan on the tape
> volume, so I was able to restore.
> 
> Fortunately, I did not wipe the old system so I was able to run bconsole and 
> I checked
> that the archive records are present... in the old database.... 
> 
> Can anybody advise what to check in this case? What did I wrong?

I think you did nothing wrong.

-- 
Dan Langille - BSDCan / PGCon
d...@langille.org



------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users

Reply via email to