Bacula-users

[Bacula-users] Copy to tape

2012-07-03 09:09:50
Subject: [Bacula-users] Copy to tape
From: Gandalf Corvotempesta <newsletter-ale AT guest DOT net>
To: "bacula-users AT lists.sourceforge DOT net" <bacula-users AT lists.sourceforge DOT net>
Date: Tue, 03 Jul 2012 15:06:48 +0200
I'm still having issue with a copy job.
I'm trying to copy a job using this selection query:

SELECT * FROM Job WHERE (EndTime BETWEEN NOW() - INTERVAL 40 DAY AND
NOW()) AND Type = 'B' AND Level = 'F' AND (JobStatus = 'e' OR JobStatus
= 'T') AND Name = 'myclient-job' GROUP BY Name;

This query seems to be ok, because i'm getting the proper JobID when ran
from MySQL.

Even the copy job seems to be ok:

03-Jul 15:00 b01-dir JobId 16833: The following 1 JobId was chosen to be
copied: 15487
03-Jul 15:00 b01-dir JobId 16833: Copying using JobId=15487
Job=myclient-job.2012-06-03_00.30.00_18
03-Jul 15:00 b01-dir JobId 16833: Bootstrap records written
to /var/lib/bacula/b01-dir.restore.2.bsr
03-Jul 15:00 b01-dir JobId 16833: Start Copying JobId 16833,
Job=myclient-TapeCopyFull.2012-07-03_15.00.00_06
03-Jul 15:00 b01-dir JobId 16833: Using Device "TL2000-LTO4-1"


Job 15487 is the same coming from MySQL query.

What i don't understand is why bacula is sending me this mail:

---
Subject: Backup OK per myclient-fd Full

03-Jul 15:00 b01-dir JobId 16834: No prior Full backup Job record found.
03-Jul 15:00 b01-dir JobId 16834: No prior or suitable Full backup found
in catalog. Doing FULL backup.
---

Is this ok? I don't want to run a new Full backup for every copy.











------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
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>