Bacula-users

Re: [Bacula-users] Problems with usage of Copy Jobs

2010-07-23 05:19:35
Subject: Re: [Bacula-users] Problems with usage of Copy Jobs
From: Frank Altpeter <frank.altpeter AT gmail DOT com>
To: Bacula-users AT lists.sourceforge DOT net
Date: Fri, 23 Jul 2010 11:16:05 +0200
Moin,

2010/7/22  <C.Keschnat AT internet-mit-iq DOT de>:
> I don't see anything wront with it. Can you post
> /etc/bacula/INCLUDES/schedules.conf ?

Sure, but I don't think that it would change anything, because the
described behaviour also happens if I comment out the schedule entry
and do a manually "run job=DiskToTape yes" on the console.


The schedule in question would be this one:

Schedule {
    Name = "Bandsicherung"
#   Run = Full mon at 10:42
}

For testing purpose, I've just tested the behaviour out again. The
current state is: all full backups are on tape, which means that "run
job=DiskToTape yes" does not do anything currently.

*run job=DiskToTape yes
Using Catalog "MyCatalog"
Job queued. JobId=54422
23-Jul 11:01 backup-dir JobId 54422: No JobIds found to copy.

So, after that, I've done one explicit full backup of one client:

*run job=balance.company.com level=full yes
Job queued. JobId=54423
23-Jul 11:01 backup-dir JobId 54423: Start Backup JobId 54423,
Job=balance.company.com.2010-07-23_11.01.54_18
23-Jul 11:01 backup-dir JobId 54423: Using Device "FileStorageFull"
23-Jul 11:01 backup-sd JobId 54423: Volume "FileStorage-Full-1779"
previously written, moving to end of data.
23-Jul 11:01 backup-sd JobId 54423: Ready to append to end of Volume
"FileStorage-Full-1779" size=10912854848
[...]
23-Jul 11:06 backup-sd JobId 54423: Job write elapsed time = 00:04:15,
Transfer rate = 1.447 M Bytes/second


So, now I got exactly one full backup which should be considered for
the copy job. Now I've started the copy procedure manually:

*run job=DiskToTape yes
Job queued. JobId=54424
23-Jul 11:11 backup-dir JobId 54424: The following 1 JobId was chosen
to be copied: 54423
23-Jul 11:11 backup-dir JobId 54424: Copying using JobId=54423
Job=balance.company.com.2010-07-23_11.01.54_18
23-Jul 11:11 backup-dir JobId 54424: Start Copying JobId 54424,
Job=DiskToTape.2010-07-23_11.11.21_19
[...]
23-Jul 11:11 backup-dir JobId 54424: Bacula backup-dir 5.0.2
(28Apr10): 23-Jul-2010 11:11:47
  Build OS:               i686-pc-linux-gnu suse 11
  Prev Backup JobId:      54423
  Prev Backup Job:        balance.company.com.2010-07-23_11.01.54_18
  New Backup JobId:       54425
  Current JobId:          54424
  Current Job:            DiskToTape.2010-07-23_11.11.21_19
  Backup Level:           Full


So, now I've got the current list of Terminated Jobs output:

 54423  Full     52,624    362.3 M  OK       23-Jul-10 11:06 balance.company.com
 54425  Incr     52,624    369.0 M  OK       23-Jul-10 11:11 balance.company.com
 54424  Full     52,624    369.0 M  OK       23-Jul-10 11:11 DiskToTape



You see what I mean? Where does the jobid 54425 come from? :)


Le deagh dhùraghd,

        Frank Altpeter

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users