On Friday 17 March 2006 00:45, 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?
Limiting backups to some maximum size is not supported by Bacula and is unlikely to be implemented in the future, because it breaks the principle of trying to preserve the user's data as best possible. If you are using Bacula 1.38.5, you *could* implement such a feature on a Volume basis by implementing the NewVolume method in Python, then consult the database to see how much has been backed up for this particular job (assuming you have one job per user). If it exceeds your maximum, you simply cancel the Job. Thus I think it is possible, but I *highly* recommend against it since I believe that most users will conform to IT requests provided they have the appropriate information -- e.g. a daily warning by email that they are exceeding the backup quota. Also one can apply quotas directly through the OS; impose higher fees for using too much storage, publish a list of big offenders ... It all depends on your company politics ... ------------------------------------------------------- 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