Bacula-users

[Bacula-users] Migration Migraines

2010-05-19 03:06:40
Subject: [Bacula-users] Migration Migraines
From: "Ken" <ken.barclay AT qbmore DOT com>
To: <Bacula-users AT lists.sourceforge DOT net>
Date: Wed, 19 May 2010 14:03:37 +0700

Using Bacula 3.0.2

Attempting to Migrate jobs from Tape --> Disk --> Tape.

Result: cannot find migrated job data.

 

Original Jobid: 11536

After bscan Jobid 11536 became Jobid 23072

Select * from job where jobid=’11536’;

No results to list.

 

Select * from job where jobid=’23072’;

Have results including jobfiles, jobbytes, etc.

 

Migrate from Tape to Disk

Prev Backup Jobid: 23072

New Backup Jobid: 23077

Current Jobid: 23076

Termination: Migration OK

Select * from job where jobid=’23077’;

Have results including jobfiles, jobbytes, etc.

Migrate from Disk to Tape

Prev Backup Jobid: 23077

New Backup Jobid: 23079

Current Jobid: 23078

Termination: Migration OK

Select * from job where jobid=’23079’;

No results to list.

 

I appear to have successfully migrated from tape to disk to tape, and yet, there are no results to list.

I bscanned the tape and found this error (note the jobid):

 

bscan: bscan.c:1152 Could not update JobId=11536 record. ERR=sql_update.c:196 Update failed: affected_rows=0 for UPDATE Job SET JobStatus='T',EndTime='2009-08-29 22:17:42',ClientId=24,JobBytes=8839991262,ReadBytes=0,JobFiles=71725,JobErrors=0,VolSessionId=2,VolSessionTime=1274148773,PoolId=6,FileSetId=81,JobTDate=1251559062,RealEndTime='2009-08-29 22:17:42',PriorJobId=0 WHERE JobId=11536

 

Does anybody have any ideas?

Regards,

Ken Barclay

------------------------------------------------------------------------------

_______________________________________________
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>
  • [Bacula-users] Migration Migraines, Ken <=