Bacula-users

[Bacula-users] Quota per client

2014-02-14 05:14:09
Subject: [Bacula-users] Quota per client
From: Rosavitskiy Valintin <valintinr AT tangramltd DOT com>
To: bacula-users AT lists.sourceforge DOT net
Date: Fri, 14 Feb 2014 11:53:18 +0200
Hello,
we have a simple task to quota disk space for each client,
Does it will be right to use Maximum Spool Size?
Storage located at soft raid 6 and mounted to /var/backup/bacula

Example config

bacula-sd.conf

Device {
  Name = FileStorage-ua3
  Media Type = File-ua3
  Archive Device = /var/backup/bacula/ua3
  LabelMedia = yes;                   # lets Bacula label unlabeled media
  Random Access = Yes;
  AutomaticMount = yes;               # when device opened, read it
  RemovableMedia = no;
  AlwaysOpen = no;
}

client configuration

Storage {
  Name = FileStorage-ua3
  @/etc/bacula/storage/common-sd.conf
  Device = FileStorage-ua3
  Media Type = File-ua3
}

Pool {
  Name = ua3-F
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 60 days         # one year
  Maximum Volumes = 60
  Maximum Volume Bytes = 5 gb
  Label Format = "Vol-ua3-F-"
  Purge Oldest Volume = yes
}

Pool {
  Name = ua3-D
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 30 days
  Maximum Volumes = 60
  Maximum Volume Bytes = 5 gb
  Label Format = "Vol-ua3-D-"
  Purge Oldest Volume = yes
}

Pool {
  Name = ua3-I
  Pool Type = Backup
  Recycle = yes                       # Bacula can automatically recycle Volumes
  AutoPrune = yes                     # Prune expired volumes
  Volume Retention = 7 days
  Maximum Volumes = 60
  Maximum Volume Bytes = 5 gb
  Label Format = "Vol-ua3-I-"
  Purge Oldest Volume = yes
}

-- 
С уважением,
Валентин Росавицкий
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>