Pedro Henrique Morsch Mazzoni a écrit :
Hi,
I have three hd's that I wan't to use as my storage devices.
So in my bacula-dir file I have defined:
Storage {
Name = File0
Address = backup.lps.ufrj.br # N.B. Use a fully
qualified name here
SDPort = 9103
Password = "password"
Device = FileStorage0
Media Type = File
}
Storage {
Name = File1
Address = backup.lps.ufrj.br # N.B. Use a fully
qualified name here
SDPort = 9103
Password = "password"
Device = FileStorage1
Media Type = File
}
Storage {
Name = File2
Address = backup.lps.ufrj.br # N.B. Use a fully
qualified name here
SDPort = 9103
Password = "password"
Device = FileStorage2
Media Type = File
}
And in my bacula-sd file:
Device {
Name = FileStorage0
Media Type = File
Archive Device = /mirror/disk0
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
Device {
Name = FileStorage1
Media Type = File
Archive Device = /mirror/disk1
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
Device {
Name = FileStorage2
Media Type = File
Archive Device = /mirror/disk2
LabelMedia = yes; # lets Bacula label unlabeled media
Random Access = Yes;
AutomaticMount = yes; # when device opened, read it
RemovableMedia = no;
AlwaysOpen = no;
}
Then I labeled the storages devices:
*list media
Pool: Default
+---------+------------+-----------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| MediaId | VolumeName | VolStatus | VolBytes | VolFiles |
VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten
|
+---------+------------+-----------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
| 1 | Disk0 | Error | 0 | 0 | 31536000
| 1 | 0 | 0 | File | 2005-11-04 12:15:06 |
| 2 | Disk1 | Error | 0 | 0 | 31536000
| 1 | 0 | 0 | File | 2005-11-04 18:00:15 |
| 3 | Disk2 | Error | 0 | 0 | 31536000
| 1 | 0 | 0 | File | 2005-11-04 18:00:15 |
+---------+------------+-----------+----------+----------+--------------+---------+------+-----------+-----------+---------------------+
*
When backing up to disk, you don't have to label the disk by hand
(that's why
"LabelMedia = yes" is set).
But now, every job that I try to run hangs. For example, a backup that
uses File0 as storage:
06-Nov 01:00 backup-sd: Job colchester.2005-11-04_18.00.00 waiting.
Cannot find any appendable volumes.
Please use the "label" command to create a new Volume for:
Storage: FileStorage0
Media type: File
Pool: Default
Any sugestions?
Pedro Mazzoni
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
Hope this helps.
Yann
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users