Ivan,
You don't need anything in fstab for this to work; get rid of
that line if you don't need it for anything else.
You need to tell the mount command which disk
volume to mount. I think bacula.conf should read:
Mount Command = "/bin/mount
/dev/disk/by-uuid/44a05141-9107-4288-bc71-1ccdaa04d0b1 %m" Unmount Command =
"/bin/umount %m"
If anybody has a better way of doing this, please feel free to
correct me :)
James
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 я сделал всё что мог, кто может, пусть сделает
лучше
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev _______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
|