Hi all
I wont make backup on partition which not mounted as default.
In fstab it is like : #Entry for /dev/sdc2 (backup) :
UUID=44a05141-9107-4288-bc71-1ccdaa04d0b1ššš /backupššš reiserfsššš relatime,noautoššš 0ššš 2
So bacula should mount partition before start backup and unmount after backup
in bacula-sd.conf i write this:
Storage {šššššššššššššššššššššššššššš # definition of myself
š Name = vanuch-sd
š SDPort = 9103ššššššššššššššššš # Director's portššššš
š WorkingDirectory = "/var/lib/bacula"
š Pid Directory = "/var/run/bacula"
š Maximum Concurrent Jobs = 20
}
Director {
š Name = vanuch-dir
š Password = "d6mVbcoWYZbTlyWs3ccYu927QRv3TM23c"
}
Director {
š Name = vanuch-mon
š Password = "awHa8ySSpEfiVXhfe2gLTX6EnkfSGyzIR"
š Monitor = yes
}Device {
š Name = FileStorage
š Media Type = File
š Device Type = File
š Archive Device = /backup
š LabelMedia = Yes;šššššššššššššššššš # lets Bacula label unlabeled media
š Removable media = Yes;
š Random Access = Yes;
š AutomaticMount = Yes;šššššššššššššš # when device opened, read it
š Requires Mount = Yes;
š Mount Point = /backup/
š Mount Command = "/bin/mount %m"
š Unmount Command = "/bin/umount %m"
š AlwaysOpen = no;
}
....
bat this did not work:(
pls, explain me, how turn on automount
I use ubuntu 9.04 and bacula 2.4.4 from ubuntu repositories.
P.S. sorry for my bad English, it not myš native language
--
Feci, quod potui, faciant meliora potentes
Ñ ÓÄÅÌÁÌ ×Ó£ šÞÔÏ ÍÏÇ, ËÔÏ ÍÏÖÅÔ, ÐÕÓÔØ ÓÄÅÌÁÅÔ ÌÕÞÛÅ
