Hello,
I'm administrating an heterogeneous hosting platform and we have all kinds of servers which we backup on 2 different storages using one director.
One storage is running great but the second one is giving me problems when I try to re-use volumes (which is the plan, of course)
Here is the kind of error I get : Error: Bacula cannot write on disk Volume "wicenas5wice0747" because: The sizes do not match! Volume=3999942850 Catalog=1135996289
My director is running 2.4.3 on a Debian Linux with a MySQL backend My clients are different versions on Windows and on Linux and they all have the problem My Storage is running 2.4.3 on Windows 2003 Server.
There are two things I can think of which could be slightly different from a standard setup
1°) I do some masquerading when connecting to the storage 2°) I use the same device wicenas5.xxx.xxx twice in my storage definitions
The first question is, of course, if there is any way to fix a corrupted volume or to recalculate its size but the other question (more important to me) is how do I avoid such a problem ?
Any help would be greatly appreciated.
Regards, Sébastien
Here are the config files : For the director :
Director { # define myself Name = bacula001.xxx.xxxu-dir DIRport = 9101 # where we listen for UA connections QueryFile = "/etc/bacula/scripts/query.sql" WorkingDirectory = "/var/lib/bacula" PidDirectory = "/var/run/bacula" Maximum Concurrent Jobs = 5 Password = "xxxxxx" # Console password Messages = Daemon DirAddress = 81.246.94.19 } ....
Job { Name = "DbserverFocsItFull" Type = Backup Level = Full Client = dbserver.focs.it-fd Schedule = "WeeklyCycle" Pool = PoolWicenas5Wice Storage = wicenas5.xxx.xxx.wice-sd Messages = Standard Priority = 10 Level = Full FileSet="DbserverFocsItFullSet" } ...
Schedule { Name = "WeeklyCycle" Run = Full 1st sun at 23:05 Run = Differential 2nd-5th sun at 23:05 Run = Incremental mon-sat at 23:05 }
...
Pool { Name = PoolWicenas5Wice Pool Type = Backup Recycle = yes # Bacula can automatically recycle Volumes AutoPrune = yes # Prune expired volumes Volume Retention = 7 days LabelFormat = "wicenas5wice" Maximum Volume Bytes = 4000000000 # 4GB Maximum Volumes = 400 }
...
Client { Name = dbserver.xxx.xxx-fd Address = dbserver.xxx.xxx FDPort = 9102 Catalog = MyCatalog Password = "xxxxxx" # password for FileDaemon File Retention = 7 days # 7 days Job Retention = 6 months # six months AutoPrune = yes # Prune expired Jobs/Files }
...
Storage { Name = wicenas5.xxx.xxx.pixelixir-sd Address = 82.175.193.69 SDPort = 9103 Password = "xxxxxx" Device = wicenas5.xxx.xxx.Pixelixir Media Type = File }
...
Storage { Name = wicenas5.xxx.xxx.wice-sd Address = 82.175.193.69 SDPort = 9103 Password = "xxxxxx" Device = wicenas5.xxx.xxx.WICE Media Type = File }
For the storage server : Storage { # definition of myself Name = wicenas5.xxx.xxx-sd SDPort = 9103 # Director's port WorkingDirectory = "C:\\Documents and Settings\\All Users\\Application Data\\Bacula\\Work" Pid Directory = "C:\\Documents and Settings\\All Users\\Application Data\\Bacula\\Work" Maximum Concurrent Jobs = 10 Maximum Network Buffer Size = 32768 Hearbeat Interval = 2 }
Director { Name = bacula001.xxx.xxx-dir Password = "xxxxxx" }
Director { Name = wicenas5-mon Password = "xxxxxx" Monitor = yes }
Device { Name = wicenas5.xxx.xxx.Pixelixir Media Type = File Archive Device = "F:\\Bacula\\Pixelixir" LabelMedia = yes # lets Bacula label unlabeled media Random Access = Yes AutomaticMount = yes # when device opened, read it RemovableMedia = no AlwaysOpen = no }
Device { Name = wicenas5.xxx.xxx.WICE Media Type = File Archive Device = "E:\\Bacula\\WICE" LabelMedia = yes # lets Bacula label unlabeled media Random Access = Yes AutomaticMount = yes # when device opened, read it RemovableMedia = no AlwaysOpen = no }
Messages { Name = Standard director = bacula001.xxx.xxx-dir = all }
|