Greetings all,
[Aside] I can't subscribe to this E-mail list for some reason, I keep
getting a proxy error but there is no proxy in my server list and the source
of the error is:
Apache/2.0.52 (CentOS) Server at lists.sourceforge.net Port 443
[/Aside]
Anyway, here is my situation:
I have a couple of HDD's in my system for use in backups. I'm not too picky
on where the backups go to, I have a lot of data to backup and am using what
storage I have available. What I would like is for a single Pool with both
storage devices defined inside such that when one device is full (or does
not have enough space, does the bacula system check this?) it will
automatically start on the next device. I took a stab in the dark and have
the following configuration Items:
Key parts of my Director Configuration is as follows:
Storage {
Name = HDD001-1
Address = main-desktop
SDPort = 9103
Password = ""
Device = File-HDD001-1
Media Type = HDD001-1
}
Storage {
Name = HDD002-1
Address = main-desktop
SDPort = 9103
Password = ""
Device = File-HDD002-1
Media Type = HDD002-1
}
# Default pool definition
Pool {
Name = HDD
Pool Type = Backup
Storage = HDD001-1
Storage = HDD001-2
Storage = HDD001-3
Storage = HDD002-1
Maximum Volume Jobs = 1
Volume Use Duration = 23 hours
Volume Retention = 365 days
Recycle Oldest Volume = yes
Recycle = yes # Bacula can automatically recycle
Volumes
AutoPrune = yes # Prune expired volumes
#Accept Any Volume = yes # write on any volume in the pool,
doesn't appear to be in manual.
Label Format="Pool-HDD-File-"
}
Some Sample Storage Daemon Configurations look like this:
Device {
Name = File-HDD001-1
Archive Device = /mnt/backups/HDD001-1
Device Type = File
Media Type = HDD001-1 #I'm not clear on if this is meant to be
unique.
RemovableMedia = No;
Random Access = Yes;
Requires Mount = Yes;
# Maximum File Size = 1GB #Used to limit file size and create multiple
files?
Mount Point = /mnt/backups/HDD001-1
Mount Command = "/bin/mount -L HDD001-1"
Unmount Command = "/bin/umount %m"
LabelMedia = yes; # lets Bacula label unlabeled media
}
Device {
Name = File-HDD002-1
Archive Device = /mnt/backups/HDD002-1
Device Type = File
Media Type = HDD002-1 #I'm not clear on if this is meant to be
unique.
RemovableMedia = No;
Random Access = Yes;
Requires Mount = Yes;
# Maximum File Size = 1GB #Used to limit file size and create multiple
files?
Mount Point = /mnt/backups/HDD002-1
Mount Command = "/bin/mount -L HDD002-1"
Unmount Command = "/bin/umount %m"
LabelMedia = yes; # lets Bacula label unlabeled media
}
Now, Director does not complain about this configuration and it sort of
appears to work. When I "show pools" I get the following for this pool:
*show pools
Pool: name=HDD PoolType=Backup
use_cat=1 use_once=0 cat_files=1
max_vols=0 auto_prune=1 VolRetention=1 year
VolUse=23 hours recycle=1 LabelFormat=Pool-HDD-File-
CleaningPrefix=*None* LabelType=0
RecyleOldest=1 PurgeOldest=0 MaxVolJobs=1 MaxVolFiles=0
MigTime=0 secs MigHiBytes=0 MigLoBytes=0
--> Storage: name=HDD001-1 address=main-desktop SDport=9103 MaxJobs=1
DeviceName=File-HDD001-1 MediaType=HDD001-1 StorageId=2
--> Storage: name=HDD001-2 address=main-desktop SDport=9103 MaxJobs=1
DeviceName=File-HDD001-2 MediaType=HDD001-2 StorageId=3
--> Storage: name=HDD001-3 address=main-desktop SDport=9103 MaxJobs=1
DeviceName=File-HDD001-3 MediaType=HDD001-3 StorageId=4
--> Storage: name=HDD002-1 address=main-desktop SDport=9103 MaxJobs=1
DeviceName=File-HDD002-1 MediaType=HDD002-1 StorageId=5
So, to me it appears as if the Pool is registering each storage as defined
in the configuration. The problem is, when I get a "End of medium" error,
the director doesn't create a new volume on a different storage device. I
was hoping it would do this, but obviously might not be implemented.
Any suggestions to solve my woes? I could create a bunch of volume's
manually, but I would prefer them to be automatically created to make it
easier to manage (so when I go away I don't need to ensure there are enough
volumes available.
Thank you all,
Gary.
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users