From: Marek S. <si...@np...> - 2007-10-19 20:32:37
|
Hi, today I made a small restore test. I have three storages: 1) the Main storage on a disk array 2) the Tape storage 3) the Extra storage on a removable SATA disk, which is used to backup one special project. I run the restore command, selected the file, it was found in Catalog on volume "suplik0001", which is on Extra storage. (as expected) The restore command offers the defaults for the job, so there was the Main storage, but I did not check it, I just saw the suplik0001 and considered it OK, so I started the job. The restore was ended OK with warning, but no files were restored. I check the system and I found another "suplik0001" file in Main storage, which was (most probably) a piece of canceled backup started in deep past with wrong parameters. So there was two volumes with same names on different Storages and bacula selected the wrong one. But it means bacula dont save the Storage ID or at least it do not use it for restoration. So I should know, which Storage I used for a particular volume, shouldn't I? Or could I fix it by just removing the wrong file? However, to have two same-named volumes in different storages is not a good thing and I think bacula should check it and throw a warning, if such situation occurs. I have director version 1.38.11 Marek |