The FreeBSD Diary

The FreeBSD Diary (TM)

Providing practical examples since 1998

If you buy from Amazon USA, please support us by using this link.
[ HOME | TOPICS | INDEX | WEB RESOURCES | BOOKS | CONTRIBUTE | SEARCH | FEEDBACK | FAQ | FORUMS ]
 New Topic  |  Go to Top  |  Go to Topic  |  Search  |  Log In   Newer Topic  |  Older Topic 
 Need help with copy job
Author: Secondplayr 
Date:   10-04-15 13:26

Hey there,

first of all thanks for this great article.
Here is the deal, we use copy jobs for copying backups from file storage to LTO6 tapes.
Now I saw that incremental backups are copied to the LTO6 pool for full backups.

I read the article carefully but don't understand how this could work with one JobsDef. I must say that I don't specify the Level = section in my Job definition for copy2tape.

The thing is I have four pools, two source pools (inc and full) and two destination pools (inc and full).
how would I do this properly?

Any help would be great.

Thanks in advance.



Reply To This Message
 
 Re: Need help with copy job
Author: Dan 
Date:   11-04-15 00:47

I'll help where I can.

Why are you concerned about the number of JobDefs?

Create one copy job for each source and destination pool combination.

--
Webmaster

Reply To This Message
 
 Re: Need help with copy job
Author: Dan 
Date:   11-04-15 00:53

FYI, in my most recent jobs, I start a Admin job at the same time as all my others jobs, but with a lower priority so it initiates the job.

See http://marc.info/?l=bacula-users&m=142557310817798&w=2

--
Webmaster

Reply To This Message
 
 Re: Need help with copy job
Author: Secondplayr 
Date:   13-04-15 06:01

Hey Dan,

well yeah the thing is I don't get it why all copy jobs use one and the same JobsDef.
We allways use one JobsDef per Job.

I must say that I don't use the SQL statement like in your example, I use PoolUncopiedJobs.
I didn't came up with this, looks like the person how did this before me did.

What I need are two copy jobs, one for Inc file storage" and one for full files.
Has the level= parameter to match the actual level?
Because to my understanding, i want all of my file-volumes to be backed up to tape (so like a full backup).


Reply To This Message
 
 Re: Need help with copy job
Author: Dan 
Date:   13-04-15 09:52

Secondplayr wrote:

> Hey Dan,
>
> well yeah the thing is I don't get it why all copy jobs use one
> and the same JobsDef.
> We allways use one JobsDef per Job.

How much duplication is there between each JobDef?

The reason for JobDef, in my humble opinion, is to reduce repetition (i.e. the number of places in which a given parameter must be changed if you decide to alter your configuration).

> I must say that I don't use the SQL statement like in your
> example, I use PoolUncopiedJobs.
> I didn't came up with this, looks like the person how did this
> before me did.
>
> What I need are two copy jobs, one for Inc file storage" and
> one for full files.
> Has the level= parameter to match the actual level?
> Because to my understanding, i want all of my file-volumes to
> be backed up to tape (so like a full backup).

Yes, I think so, that sounds right, but I don't know for sure.


--
Webmaster

Reply To This Message
 
 Re: Need help with copy job
Author: Secondplayr 
Date:   13-04-15 13:10

Yeah there is not much difference between the JobDefs I was talking about.

I will take some time to rewrite our "old" config files. As I said I just started dealing with this.

So I will define one copy job for Full-files with the backup level=full and one for Incr-files with backup level=incremental?
If I understand you correct, that's what you did in your config, right?

Would you suggest to do so for all jobs? Right now we don't specify the Level within the JobsDef or the Job.
The level is defined in the schedules.conf.

My initial problem was that my Inc-files where copied into the full pool (LTO6), as you discribed in your article.

Thanks

Reply To This Message
 
 Re: Need help with copy job
Author: Dan 
Date:   13-04-15 16:50

For more immediate help, I suggest the Bacula users mailing list.

--
Webmaster

Reply To This Message
 Forum List  |  Threaded View   Newer Topic  |  Older Topic 


 Forum List  |  Need a Login? Register Here 
 User Login
 User Name:
 Password:
 Remember my login:
   
 Forgot Your Password?
Enter your email address or user name below and a new password will be sent to the email address associated with your profile.
How to get the most out of the forum

phorum.org