Bacula-users

Re: [Bacula-users] Backup Full and Incremental...

2014-03-14 10:27:54
Subject: Re: [Bacula-users] Backup Full and Incremental...
From: Gilberto Nunes <gilberto.nunes32 AT gmail DOT com>
To: "Roberts, Ben" <Ben.Roberts AT gsacapital DOT com>
Date: Fri, 14 Mar 2014 11:24:13 -0300
Sorry... "what happen..."  Poor English here... Brazilian guy try speak in English... \o


2014-03-14 11:21 GMT-03:00 Gilberto Nunes <gilberto.nunes32 AT gmail DOT com>:
So much thanks...

I will try and see what happened...

Cheers




2014-03-14 11:18 GMT-03:00 Roberts, Ben <Ben.Roberts AT gsacapital DOT com>:

You can do it two ways:

 

(Note the order of the arguments here is different from what you suggested – again check the docs for more info about what options you can specify here)

Schedule {

 Name = Backup-Samba

  Run = Level=Full Pool=Samba-Full on 2nd fri at 18:30

}

 

Or you can do as I did in the example and use the Job options:

Job {

  Pool = Samba-Full # Redundant given the options below, but still required

  Full Backup Pool = Samba-Full

  Incremental Backup Pool = Samba-Incremental

}

 

I prefer the latter form, since all the information about where the data will be written to is stored with the Job.

 

Ben Roberts

IT Infrastructure

GSA Capital Partners LLP

Stratton House

5 Stratton Street

London W1J 8LA

D +44 (0)20 7959 7661

T +44 (0)20 7959 8800

www.gsacapital.com

 

 

From: Gilberto Nunes [mailto:gilberto.nunes32 AT gmail DOT com]
Sent: 14 March 2014 14:14
To: Roberts, Ben
Cc: John Drescher; bacula-users


Subject: Re: [Bacula-users] Backup Full and Incremental...

 

Just one more thing

I have differents Volumes, one for Full and other for Incremental...
On the Schedule I can define Full and Incremental like that?

Schedule {
  Name = Backup-Samba
  Run = Level=Full on 2nd fri at 18:30 Pool=Samba-Full # Monthly full
  Run = Level=Incremental at 02:30 Pool=Samba-Incremental# Daily incremental
}

 

Thanks

 

 

2014-03-14 11:00 GMT-03:00 Roberts, Ben <Ben.Roberts AT gsacapital DOT com>:

Instead of specifying the pools in the schedule, I use the Full Backup Pool and Incremental Backup Pool options as below.
 
Pool {
  Name = Samba-Full
  Pool Type = Backup
  Maximum Volume Jobs = 1
  Volume Retention = 30 days
  Recycle = yes
  AutoPrune = yes
  LabelFormat = FullMensal
}
Pool {
  Name = Samba-Incremental
  Pool Type = Backup
  Maximum Volume Jobs = 1
  Volume Retention = 365 days
  Recycle = yes
  AutoPrune = yes
  LabelFormat = Incremental
}
Job {
  Name = Backup-Samba
  Type = Backup
  Level = Incremental
  Client = server-fd
  FileSet = DADOS
  Schedule = Backup-Samba
  Storage = File
  Pool = Samba-Full # Redundant given the options below, but still required
  Full Backup Pool = Samba-Full
  Incremental Backup Pool = Samba-Incremental
  Messages = Standard
}
Schedule {
  Name = Backup-Samba
  Run = Level=Full on 2nd fri at 18:30 # Monthly full
  Run = Level=Incremental at 02:30 # Daily incremental
}

 

Regards,

Ben Roberts

 

From: Gilberto Nunes [mailto:gilberto.nunes32 AT gmail DOT com]
Sent: 14 March 2014 13:48
To: John Drescher
Cc: bacula-users
Subject: Re: [Bacula-users] Backup Full and Incremental...

 

Just to complemente I do this:

It will run a Full backup today, at 18hs30 and later, around 02hs30 will run a Incremental backup...

This the configuration:

Pool {
  Name = Samba-Full
  Pool Type = Backup
  Maximum Volume Jobs = 1
  Volume Retention = 30 days
  Recycle = yes
  AutoPrune = yes
  LabelFormat = FullMensal
}
Pool {
  Name = Samba-Incremental
  Pool Type = Backup
  Maximum Volume Jobs = 1
  Volume Retention = 365 days
  Recycle = yes
  AutoPrune = yes
  LabelFormat = Incremental
}
Job {
  Name = Backup-Samba-Completo
  Type = Backup
  Level = Full
  Client = server-fd
  FileSet = DADOS
  Schedule = Samba-Full
  Storage = File
  Pool = Samba-Full
  Messages = Standard
}
Job {
  Name = Backup-Samba-Incremental
  Type = Backup
  Level = Incremental
  Client = server-fd
  FileSet = DADOS
  Schedule = Samba-Inc
  Storage = File
  Pool = Samba-Incremental
  Messages = Standard
}
Schedule {
  Name = Samba-Full
  Run = Level=Full Pool=Samba-Full on 14 fri at 18:30
}
Schedule {
  Name = Samba-Inc
  Run = Level=Incremental Pool=Samba-Incremental at 02:30
}
 
I don't know if work as expected but we will see...

Thanks a lot

 

 

2014-03-14 10:25 GMT-03:00 Gilberto Nunes <gilberto.nunes32 AT gmail DOT com>:

Oh... Ok Friends... Take your time... Don't worry... I'll continue research...

 

2014-03-14 10:24 GMT-03:00 John Drescher <drescherjm AT gmail DOT com>:

 

On Fri, Mar 14, 2014 at 9:22 AM, John Drescher <drescherjm AT gmail DOT com> wrote:
> On Fri, Mar 14, 2014 at 9:19 AM, Gilberto Nunes
> <gilberto.nunes32 AT gmail DOT com> wrote:
>> But, and if I use different Volume for different Level??
>> I create two Volume, one for each Level, Full and Incremental...
>> How can I handle this?
>
> Odd / even pools. And more than 1 Run= for Full. More than 1 Run= for
> Incremental where you specify the pool also in the Run=

That may not work the way you want with the Incremental. Give me a few
minutes. Its time for breakfast..

--
John M. Drescher




--
Gilberto Ferreira




--
Gilberto Ferreira

 


This email and any files transmitted with it contain confidential and proprietary information and is solely for the use of the intended recipient. If you are not the intended recipient please return the email to the sender and delete it from your computer and you must not use, disclose, distribute, copy, print or rely on this email or its contents. This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. Any comments or statements made herein do not necessarily reflect those of GSA Capital. GSA Capital Partners LLP is authorised and regulated by the Financial Conduct Authority and is registered in England and Wales at Stratton House, 5 Stratton Street, London W1J 8LA, number OC309261. GSA Capital Services Limited is registered in England and Wales at the same address, number 5320529.




--
Gilberto Ferreira



This email and any files transmitted with it contain confidential and proprietary information and is solely for the use of the intended recipient. If you are not the intended recipient please return the email to the sender and delete it from your computer and you must not use, disclose, distribute, copy, print or rely on this email or its contents. This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. Any comments or statements made herein do not necessarily reflect those of GSA Capital. GSA Capital Partners LLP is authorised and regulated by the Financial Conduct Authority and is registered in England and Wales at Stratton House, 5 Stratton Street, London W1J 8LA, number OC309261. GSA Capital Services Limited is registered in England and Wales at the same address, number 5320529.




--
Gilberto Ferreira



--
Gilberto Ferreira
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users