*label
Automatically selected Catalog: MyCatalog
Using Catalog "MyCatalog"
The defined Storage resources are:
1: File
2: DDS-5
Select Storage resource (1-2): 2
Enter new Volume name: BackupDiario-0001
Defined Pools:
1: Default
2: BackupDeinfra
Select the Pool (1-2): 2
Connecting to Storage daemon DDS-5 at 127.0.0.1:9103 ...
Sending label command for Volume "BackupDiario-0001" Slot 0 ...
3000 OK label. VolBytes=64512 DVD=0 Volume="BackupDiario-0001" Device="DDS-5" (/dev/nst0)
Requesting to mount DDS-5 ...
3901 open device failed: ERR=dev.c:425 Unable to open device "DDS-5" (/dev/nst0): ERR=No medium found
Do not forget to mount the drive!!!
*
bacula-sd.conf
Device {
Name = DDS-5 #
Device Type = Tape
Media Type = DDS-5
Archive Device = /dev/nst0
AutomaticMount = yes; # when device opened, read it
Label Media = yes;
Requires Mount = yes;
AlwaysOpen = yes;
RemovableMedia = yes;
RandomAccess = no;
Close on Poll = yes;
Offline on Unmount = yes;
Volume Poll Interval = 10 minutes;
}
Pool:
Pool {
Name = BackupDeinfra
Pool Type = Backup
Recycle = yes
AutoPrune = yes
Volume Retention = 33 days
Maximum Volume Jobs = 4
Label Format = BackupDiario-
}