John Drescher wrote:
On Sat, May 31, 2008 at 1:30 PM, John Drescher <drescherjm AT gmail DOT com>
wrote:
So when I want to restore a full backup, the latest monthly backup is taken,
in addition to the latest daily backup and the current backup-of-the-hour.
What I explicitly do NOT want is full backups in every pool. That is, only
want full backups in monthly, incrementals in daily and differential in
hourlies.
You then need to create only 1 job per client and use just scheduling
to accomplish the schedule. I believe with the flexibility of the
scheduling all of this is possible.
I should add there is 1 job and 1 schedule. In that schedule resource
you define the times and pool for fulls, differentials and
incrementals.
John
!DSPAM:1001,48418c45932835209328925!
Thank you very much for your reply and help. With your guidance I came
up with this:
-- 8< -- -- 8< -- -- 8< -- -- 8< -- -- 8< -- -- 8< -- -- 8< -- -- 8< --
# Main Director Definition
########################################################################
Director {
Name = alphalabs-dir
Description = Master Backup Server
DIRport = 9101
QueryFile = "/usr/local/share/bacula/query.sql"
WorkingDirectory = "/usr/backup/bacula"
PidDirectory = "/var/run"
Maximum Concurrent Jobs = 10
Password = "xxx"
Messages = Daemon
FD Connect Timeout = 1
SD Connect Timeout = 1
}
# Backup Job Definitions
########################################################################
Job {
Name = "backup ..."
client = ...
type = backup
messages = Standard
storage = ...
pool = hourly
Level = Incremental
FileSet = "..."
Schedule = "normal"
Write Bootstrap = "/usr/backup/bacula/....bsr"
Priority = 10
Maximum Concurrent Jobs = 1
}
# Schedules
########################################################################
Schedule {
Name = "normal"
Run = Level=Incremental Pool=hourly hourly
Run = Level=Differential Pool=daily tue-sun at 6:00
Run = Level=Full Pool=monthly on 1 at 6:00
}
# Pools
########################################################################
Pool {
Name = hourly
Pool Type = Backup
Maximum Volume Jobs = 1
Use Volume Once = yes
Catalog Files = yes
Recycle = yes
AutoPrune = yes
Volume Retention = 2 days
Recycle Oldest Volume = yes
Label Format = hourly-
Maximum Volumes = 48
}
Pool {
Name = daily
Pool Type = Backup
Maximum Volume Jobs = 1
Use Volume Once = yes
Catalog Files = yes
Recycle = yes
AutoPrune = yes
Volume Retention = 31 days
Recycle Oldest Volume = yes
Label Format = daily-
Maximum Volumes = 31
}
Pool {
Name = monthly
Pool Type = Backup
Maximum Volume Jobs = 1
Use Volume Once = yes
Catalog Files = yes
Recycle = yes
AutoPrune = yes
Volume Retention = 365 days
Recycle Oldest Volume = yes
Label Format = monthly-
Maximum Volumes = 12
}
-- 8< -- -- 8< -- -- 8< -- -- 8< -- -- 8< -- -- 8< -- -- 8< -- -- 8< --
Note: I excluded configuration sections that are irrelevant to this case
as well as I generalized one client "for all" by marking the name xxx
(to be substituted with client name(s)).
One issue I am having is this: I removed the job retention and file
retention periods from client () configuration. Will it suffice I the
Pools get overwritten (recycled)?
Again,
Thank you for your support - greatly appreciated.
-Christian.
--
Christian Reiss - email AT christian-reiss DOT de /"\ ASCII Ribbon
\ / Campaign
GPG Key: http://christian-reiss.de/pgp.txt X against HTML
Jabber: chris AT alpha-labs DOT net / \ in eMails
"It's better to reign in hell than to serve in heaven.",
John Milton, Paradise lost.
signature.asc
Description: OpenPGP digital signature
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|