I solved the problem. The problem was about the ip address. Thanks... On Sun, Nov 26, 2017 at 2:15 PM, Gokan Atmaca <linux.go...@gmail.com> wrote: > Hello > > I want to back up the file server. I made the following configuration > for this. But it's always in standby mode. It does not start. > > What would be the reason ? > > DirConf: > > Director { > Name = bacula0-dir > DIRport = 9101 > QueryFile = "/etc/bacula/scripts/query.sql" > WorkingDirectory = "/var/lib/bacula" > PidDirectory = "/run/bacula" > Maximum Concurrent Jobs = 20 > Password = "OOIqoBBxoSQtG70jg3JV_BTlQIZUwaSpp" > Messages = Daemon > DirAddress = 127.0.0.1 > DirAddress = 192.168.1.24 > } > > ##### Client settings ##### > > JobDefs { > Name = "Fileserverdef" > Type = Backup > Level = Full > Storage = File1 > Messages = Standard > Pool = File > SpoolAttributes = yes > Priority = 11 > Write Bootstrap = "/var/lib/bacula/%c.bsr" > } > > Job { > Name = "Fileserver" > JobDefs = "Fileserverdef" > FileSet = "DosyaSunucusu" > Client = "Fileserver" > #Schedule = "fileserver" > } > > FileSet { > Name = "DosyaSunucusu" > Include { > Options { > signature = MD5 > compression = Gzip > } > File = /home/ > } > } > > Schedule { > Name = "fileserver" > Run = Full mon-sun at 13:20 > } > > > Client { > Name = Fileserver > Address = 192.168.1.25 > FDport = 9102 > Catalog = MyCatalog > Password = "awuu9egeeZ7maeleep6eeView" > File Retention = 60 days > Job Retention = 6 months > AutoPrune = yes > } > > > Storage { > Name = File1 > Address = localhost # N.B. Use a fully qualified name here > SDPort = 9103 > Password = "KpfozUuj-cQiGG6hVxQr1uV5OlJ14_uUo" > Device = nas0 > Media Type = File1 > Maximum Concurrent Jobs = 10 # run up to 10 jobs a the same time > } > > Pool { > Name = File > Pool Type = Backup > Recycle = yes # Bacula can automatically recycle > Volumes > AutoPrune = yes # Prune expired volumes > Volume Retention = 365 days # one year > Maximum Volume Bytes = 50G # Limit Volume size to something > reasonable > Maximum Volumes = 100 # Limit number of Volumes in Pool > Label Format = "Vol-" # Auto label > } > > > > > ---- SD.conf > > Storage { # definition of myself > Name = bacula0-sd > SDPort = 9103 # Director's port > WorkingDirectory = "/var/lib/bacula" > Pid Directory = "/run/bacula" > Maximum Concurrent Jobs = 20 > SDAddress = 127.0.0.1 > SDAddress = 192.168.1.24 > } > } > > Device { > Name = nas0 > Media Type = File1 > Archive Device = /bacula/backup > LabelMedia = yes; # lets Bacula label unlabeled media > Random Access = Yes; > AutomaticMount = yes; # when device opened, read it > RemovableMedia = no; > AlwaysOpen = yes; > Maximum Concurrent Jobs = 5; > Autochanger = no > }
------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users