i have a similar system runnin, and its been running for awhile now.
i let bacula create and label the volumes its needs on the fly. a typical
job definition looks like this:
Job {
Name = "home"
Type = Backup
Level = Full
Client = lance-fd
RunBeforeJob = "/bacula/bin/make_aspen_snapshot"
RunAfterJob = "/bacula/bin/delete_aspen_snapshot"
FileSet = "Home Set"
Schedule = "HomeWeeklyCycle"
Storage = HomeFile
Messages = Standard
Pool = HomeFull
Priority = 10
Write Bootstrap = "/bacula/working/home.bsr"
}
the storage looks like this:
Storage {
Name = HomeFile
Address = lance # N.B. Use a fully qualified name here
SDPort = 9103
Password = xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Device = HomeFileStorage
Media Type = File
}
the pool looks like this:
Pool {
Name = HomeFull
Pool Type = Backup
Recycle = yes # Bacula can automatically recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 45 days # one year
Accept Any Volume = yes # write on any volume in the pool
Use Volume Once = yes
LabelFormat = "HomeFull-"
}
the device entry in bacula-sd.conf is like this:
Device {
Name = HomeFileStorage
Media Type = File
Archive Device = /backups/aspen/home
LabelMedia = yes; # lets Bacula label unlabeled
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
this creates bacula backup volumes in /backups/aspen/home:
-rw-r----- 1 root root 259359006561 2006-04-08 09:08 HomeFull-0001
-rw-r----- 1 root root 252451502447 2006-05-06 08:42 HomeFull-0002
-rw-r----- 1 root root 258960957433 2006-03-04 09:46 HomeFull-0003
etc.
hope that helps some.
-- michael
On Wed, May 31, 2006 at 10:03:32AM -0400, Robin Mordasiewicz wrote:
> I have a 1TB filesystem which I would like to use for online backups
>
> My problem is that I want to avoid having only one massive
> FileStorage Volume where all my backups are stored.
>
> I have created multiple volumes using the label command but I am confused
> about how I can assign specific volumes to a specific job
>
> For example I thought that I would create a volume for each client.
>
>
> _______________________________________________
> Bacula-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
_______________________________________________
Bacula-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bacula-users