There IS a problem with this idea, and that is that assuming you're
writing to the same volume each time, if the whole volume recycles, this
is probably going to be a problem because you will have NO old backups
ever. Although, I guess what you're attempting to do is keep very quick
backups, more like a trash or a versioning system than a backup for
someone over time.
That said, you've given the person 35GB, not 5. 7 Volumes of 5 GB each
is 35. I'm also guessing that you'll run into a problem when the volume
runs out of space, as it will probably ask for a new volume and then
hang there waiting.
Tom Fischer wrote:
Hi,
thx for your answer. If i do so the volume doesn't recycle.
Archive "FileStorage-Online-nixe001" is not open or does not exist.
Device is BLOCKED waiting for appendable media.
without much doubt an error in my config.
bacula-dir.conf:
Schedule {
Name = "eBuz Online Backup"
#Run = Level=Full sun at 1:05
#Run = Level=Incremental mon-sat at 1:05
Run = Level=Incremental fri at 00:30
Run = Level=Incremental fri at 00:35
Run = Level=Incremental fri at 00:40
Run = Level=Incremental fri at 00:45
Run = Level=Incremental fri at 00:50
Run = Level=Incremental fri at 00:55
Run = Level=Full fri at 01:00
Run = Level=Incremental fri at 01:05
Run = Level=Incremental fri at 01:10
Run = Level=Incremental fri at 01:15
Run = Level=Incremental fri at 01:20
Run = Level=Incremental fri at 01:25
Run = Level=Incremental fri at 01:30
Run = Level=Full fri at 01:35
}
JobDefs {
Name = "eBuz Default Backup"
Type = Backup
}
Job {
Name = "nixe - Online"
JobDefs = "eBuz Default Backup"
Level = Incremental
Storage = File-Online-nixe001
Client=nixe001
FileSet="Set nixe001"
Pool = Online-nixe001
Messages = Standard-nixe
Schedule = "eBuz Online Backup"
Write Bootstrap = "/bootstraps/nixe001-online.bsr"
Priority = 10
}
Client {
Name = nixe001
Address = nixe
FDPort = 9102
Catalog = BackupDB
Password =
File Retention = 35min
Job Retention = 35min
AutoPrune = yes
}
Pool {
Name = Online-nixe001
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 35min
Maximum Volumes = 7
Label Format = "nixe001-online-"
Maximum Volume Jobs = 1
Maximum Volume Bytes = 5gb
}
bacula-sd.conf:
Device {
Name = FileStorage-Online-nixe001
Media Type = File-Online-nixe001
#Device Type = File
Archive Device = /backup-online
LabelMedia = yes;
Random Access = Yes;
AutomaticMount = yes;
RemovableMedia = no;
AlwaysOpen = no;
Maximum Volume Size = 5gb
}
Thx
Tom
Ryan Novosielski schrieb:
Exactly as you put it is possible... set max of one volume and limit
the size to 5GB. This is done in the pool definition. Make sure that
your pool is updated from the resource.
Tom Fischer wrote:
Hi,
is it possible to set a kind of quota to a client defintion? We do a
Fullbackup once a week on online media and every day an incremental
backup, on one day we have an Full Offline Backup on removeable
media. So if a Customer only wants 5GB Space can i prevent that he
backups more than 5gb in a backup? Or is there a way to prevent
bacula to use a new Volume when i set Maximum Volume Bytes to 5GB?
Tom Fischer
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting
language
that extends applications into web and mobile media. Attend the live
webcast
and join the prime developer group breaking into this new coding
territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
--
---- _ _ _ _ ___ _ _ _
|Y#| | | |\/| | \ |\ | | | Ryan Novosielski - User Support Spec. III
|$&| |__| | | |__/ | \| _| | [EMAIL PROTECTED] - 973/972.0922 (2-0922)
\__/ Univ. of Med. and Dent.| IST/AST - NJMS Medical Science Bldg - C630
begin:vcard
fn:Ryan Novosielski
n:Novosielski;Ryan
org:UMDNJ;IST/Academic Systems and Technologies
adr;dom:MSB C630;;185 South Orange Avenue;Newark;NJ;07103-2757
email;internet:[EMAIL PROTECTED]
title:185 South Orange Avenue
tel;work:(973) 972-0922
tel;fax:(973) 485-2612
x-mozilla-html:FALSE
version:2.1
end:vcard