Bacula-users

Re: [Bacula-users] scheduling copy jobs for offsite backups

2014-08-21 08:22:30
Subject: Re: [Bacula-users] scheduling copy jobs for offsite backups
From: "J. Echter" <j.echter AT echter-kuechen-elektro DOT de>
To: Heitor Faria <heitor AT bacula.com DOT br>
Date: Thu, 21 Aug 2014 14:20:22 +0200
Am 21.08.2014 um 14:06 schrieb Heitor Faria:
Hi,

Hi Juergen,
 
i'd like to have done a Vfull every day, this Vfull should at the end be
copied to an usb disk.

If i do this manually (inc -> vfull -> copy job), it works.

Can you tell what Selection Type and Pattern are you using?
 
If i schedule the copy jobs (lower priority than the normal jobs) it
doesn't find any usable job to copy.

Can you show how your Copy job is configured and what is the priority of the other jobs?
Level          Type     Pri  Scheduled          Job Name           Volume
===================================================================================
Incremental    Backup     2  21-Aug-14 20:00    opsi               file-0459
VirtualFull    Backup     3  21-Aug-14 20:00    opsi-Vfull         Vfull-0456
Full           Copy      10  21-Aug-14 20:00    opsi-USB

the copy jobs getting triggered with this schedule:

Schedule {
  Name = USB
  Run = Pool=Vfull NextPool=Montag on mon at 20:00
  Run = Pool=Vfull NextPool=Dienstag on tue at 20:00
  Run = Pool=Vfull NextPool=Mittwoch on wed at 20:00
  Run = Pool=Vfull NextPool=Donnerstag on thu at 20:00
  Run = Pool=Vfull NextPool=Freitag on fri at 20:00
  Run = Pool=Vfull NextPool=Samstag on sat at 20:00
}

these are the jobdefs:

JobDefs {
  Name = USB
  Schedule = USB
  Type = Copy
  Level = Full
  Messages = Standard
  Pool = File
  Prune Jobs = Yes
  Prune Files = Yes
  Prune Volumes = Yes
  Accurate = yes
  Selection Type = Client
  Storage = USB
  RunBeforeJob = /etc/bacula/holiday.sh
  Write Bootstrap = "/BACKUP/bootstrap/usb-%n.bsr"
}

and this is a copy job:

Job {
  Name = "opsi-USB"
  JobDefs = USB
  Client = opsi-fd
  FileSet = "opsi"
  Selection Pattern = opsi-fd
}

cheers.

------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users