Just for testing I tried to backup to floppy (in preparation for DVD-RAM) I had the configuration at the end of the Mail. Undefined ressources occur, as I didn't copied and pasted everything.
I run the testjob manually from console, I expected it to do the following: Asking the operator for mounting a media label it automatic begin job What it did: It just started to write the backupvolumes happily in the directory, where the floppy should be mounted to. I could disable automatic labeling, so I have the change of changing the media before it writes, but how can I avoid such a "workaround"? CONFIG: Storage Daemon: bacula-sd.conf: Storage { # definition of myself Name = hq-sd SDPort = 9103 # Director's port WorkingDirectory = "/opt/bacula/bin/working" Pid Directory = "/opt/bacula/bin/working" Maximum Concurrent Jobs = 20 SDAddress = 192.168.1.1 } Director { Name = hq-dir Password = "xxx" } Device { Name = FloppyStorage Media Type = "/media/floppy0" Device Type = File Archive Device = /media/floppy0 LabelMedia = Yes; Random Access = Yes; AutomaticMount = no; RemovableMedia = Yes; AlwaysOpen = no; RequiresMount = Yes; MountCommand = "/bin/mount -t ext2 /dev/fd0 %m"; UnmountCommand = "/bin/umount %m" MountPoint = "/media/floppy0" } Messages { Name = Standard director = hq-dir = all } Bacula Director: bacula-dir.conf Director { Name = hq-dir DIRport = 9101 QueryFile = "/opt/bacula/bin/config/query.sql" WorkingDirectory = "/opt/bacula/bin/working" PidDirectory = "/opt/bacula/bin/working" Maximum Concurrent Jobs = 1 Password = "xxx" Messages = Daemon DirAddress = 192.168.1.1 } Schedule { Name = "MonthlyCycle" Run = Full 1st sun at 00:30 Run = Differential 2nd-5th sun at 00:30 Run = Incremental mon-sat at 00:30 } FileSet { Name = "TEST" Include { Options { signature = SHA1 } File = /tmp/TEST } } Client { Name = hq-fd Address = 192.168.1.1 FDPort = 9102 Catalog = MyCatalog Password = "xxx" File Retention = 30 days Job Retention = 2 months AutoPrune = yes } Storage { Name = FloppyStorage Address = 192.168.1.1 SDPort = 9103 Password = "xxx" Device = FloppyStorage Media Type = "/media/floppy0" } Pool { Name = TEST-POOL Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 100 days Label Format = "TEST-" Storage = FloppyStorage } JobDefs { Name = "hqJob" Type = Backup Level = Incremental Client = hq-fd FileSet = "Full Set" Schedule = "MonthlyCycle" Storage = FileStorage1 Messages = Standard Pool = hq-Pool Priority = 10 } Job { Enabled = no Name = "testjob" JobDefs = "hqJob" Pool = TEST-POOL Storage = FloppyStorage FileSet = "TEST" } Bacula Client: bacula-fd.conf: Director { Name = hq-dir Password = "xxx" } FileDaemon { Name = hq-fd FDport = 9102 WorkingDirectory = /opt/bacula/bin/working Pid Directory = /opt/bacula/bin/working Maximum Concurrent Jobs = 20 FDAddress = 192.168.1.1 } Messages { Name = Standard director = hq-dir = all, !skipped, !restored }
pgpftg36yR2rP.pgp
Description: PGP signature
------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users