Re: [Bacula-users] Limiting only despooling|writing concurrent jobs.
Zitat von ALyarskiy bacula-fo...@backupcentral.com: Zitat von ALyarskiy bacula-forum at backupcentral.com: Zitat von ALyarskiy bacula-forum at backupcentral.com: How can i limit writing jobs to 1 without limiting spooling jobs? I want to have only one job writing on the tape but spool other jobs in parallel. This is the default as far as i understand. The tape is locked exclusive from one writer while other jobs which run concurrently will spool data as long as the maximum spool size is not reached. Works fine here but you need a really fast spool area if you want to feed something like LTO-4/5/6 at full speed. Regards Andreas It is true for jobs with SpoolData=yes, but i have few jobs that have SpoolData=no, so they write data right on the tape. I want to limit jobs that have SpoolData=no by 1 concurrent, so only 1 job could write data on the tape, and permit the rest jobs with SpoolData=yes to spool data on local drive concurrently (5-7 streams). You might try the Maximum Concurrent Jobs directive for the tape device but i guess with this you will block the despooling until all non spooling jobs have passed. Why do you want to have spooling and non-spooling jobs anyway for the same device? Regards Andreas Yes, now i use Maximum Concurrent Jobs limitation on device level. I want to write large jobs right on tape ( usually 50 Gb) - there are no network bottlenecks for this clients, and the rest (there are may be networks bottlenecks sometimes) spool to the local drive. When local spool used backup process have to read from client, write on local drive, then read from it and write the backup to the tape. For large backups it is HUGE overhead. Also there is problem when you have 4-5 large backups in same time - local drive becomes bottleneck (i have 2 Gb network). So it is reasonable to have a possibility to limit concurrent jobs at different levels. For example - 6 Jobs running in same time, 2 of them are large and writing directly to the tape one by one, rest 4 are spooling to local drive and waiting those 2 to complete. It all depends. Spooling data is nearly no overhead if you use some cheap local storage as you should. Plugin some SATA or if you can afford SSD, do a RAID0 and spooling will give you the following benefits: - Data on tape is written with the spool size per job so your restore will be a lot faster - You will be able to drive your tape at maximum speed regardles of network congestion or clients searching files and therefore prevent shoe-shining Of course it would be nice to have some additional controls in some situations, but it looks like no one have written code for this until now. Regards Andreas -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restoring the catalog database - F14 to F17
On Wednesday 07 November 2012 16:38:13 Simone Caronni wrote: On 7 November 2012 17:24, John Drescher dresche...@gmail.com wrote: I would restore the old database from a sql dump then run the upgrade scripts to fix the version problem. Exactly. What you are doing (going from a 5.0.3 director to a 5.2.11 director) is not a restore of the old server, but an upgrade. You should just import the database as is and use the bundled scripts to upgrade the database prior starting the director. Regards, --Simone Hi Simone, John. Thank you both very much. That fixed the problem and everything is now working. Regarding the missing /var/lib/bacula this probably was down to the fact that I had copied the .conf files from the previous install. Gary -- Gary Stainburn Group I.T. Manager Ringways Garages http://www.ringways.co.uk -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Priority Problem / Question
On Thu, Nov 08, 2012 at 12:53:38PM +0100, Adrian Reyer wrote: On Wed, Nov 07, 2012 at 12:53:43PM +0100, Uwe Schuerkamp wrote: to reasonable levels (dumping the db through a gzip --fast would take five hours or so while an rsync takes only roughly 30 minutes, including lzop compression of the resulting file). Depending on the number of CPUs you have, you should consider pbzip2 or pigz. These compress in parallel on all your CPUs and might speed up your dumps quite a bit. Thanks Adrian, I'll look into it. Cheers, Uwe -- uwe.schuerk...@nionex.net fon: [+49] 5242.91 - 4740, fax:-69 72 Hauptsitz: Avenwedder Str. 55, D-33311 Gütersloh, Germany Registergericht Gütersloh HRB 4196, Geschäftsführer: H. Gosewehr, D. Suda NIONEX --- Ein Unternehmen der Bertelsmann SE Co. KGaA -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula query
Hi All, I want to install bacula file daemon client on linux version Bacula 5.2.6. But i am not able to install it. I am getting following error: bacula-fd: error while loading shared libraries: libbacfind-5.2.6.so: Please suggest any solution. Thanks, Krishnasai -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula query
Haven't had this issue yet on any of our server but have you tried this: http://www.newitperson.com/2011/01/solve-bacula-error-error-loading-shared-libraries-libbacfind-5-0-3-so-open-shared-object-file-file-directory/ ? By the way, did you setup using package or did you use tar.gz? Florent Le 08/11/2012 14:10, krishna pawankar a écrit : Hi All, I want to install bacula file daemon client on linux version Bacula 5.2.6. But i am not able to install it. I am getting following error: bacula-fd: error while loading shared libraries: libbacfind-5.2.6.so: Please suggest any solution. Thanks, Krishnasai -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula query
On 8 November 2012 14:37, Florent Krieg fkr...@sewan.eu wrote: Haven't had this issue yet on any of our server but have you tried this: http://www.newitperson.com/2011/01/solve-bacula-error-error-loading-shared-libraries-libbacfind-5-0-3-so-open-shared-object-file-file-directory/? By the way, did you setup using package or did you use tar.gz? ...and also which distribution are you using? --Simone -- You cannot discover new oceans unless you have the courage to lose sight of the shore (R. W. Emerson). -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula-users Digest, Vol 79, Issue 1
Le 01/11/2012 18:07, bacula-users-requ...@lists.sourceforge.net a écrit : 2. Fwd: How does the volume names automatic with mediaid Hi, Thanks, i test this : for i in `seq 4001 10001`; do echo label pool= storage= volume=$i | bconsole 21; done And i have a mediaid 1000 :-)) That confirms, 32 bit unsigned integer so I expect the max is 2^32 -1 Thanks -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Customize messages
In practice, I would be able to manage the information that is sent as body in the message with bsmtp, including when it sends e-mails to the operator (mount / warning) Thank you 2012/11/8 Carlo Filippetto carlo.filippe...@gmail.com Hi all, I have a custom script that runs instead of bsmtp I would like to send the log of every job, but in the list of substitutions I haven't find it: - %% = % - %c = Client's name - %d = Director's name - %e = Job Exit code (OK, Error, ...) - %h = Client address - %i = Job Id - %j = Unique Job name - %l = Job level - %n = Job name - %r = Recipients - %s = Since time - %t = Job type (e.g. Backup, ...) - %v = Volume name (Only on director side) how can I do? This is my script mailcommand = /bin/bash -c \/usr/bin/php /opt/script/send_report.php '%e' '%l' '%n' '%t' '%r' $LogFile /tmp/pippo\ I would like to send the information into the log, like - backup dimensione - compression - Elapsed time How can I take this ones? thank you -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula Client with TLS only working in foreground - Openbsd
Hi, A OpenBSD Bacula File Daemon with TLS enabled works only if started in foreground mode (-f). If it runs as a daemon it output a TLS negotiation error. openbsd.example.com: $ sh bacula-ctl-fd start -f $ ps aux|grep bacula root 10498 0.0 0.2 588 480 p1 I+ 6:11PM0:00.02 sh bacula-ctl-fd start -f root 12722 0.0 0.7 2776 1944 p1 S+ 6:11PM0:00.55 /usr/local/sbin/bacula-fd -f -v -c /etc/bacula/bacula-fd.conf Bacula Director: *status client=openbsd.example.com-fd Connecting to Client openbsd.example.com-fd at openbsd.example.com:9102 openbsd.example.com-fd Version: 5.2.12 (12 September 2012) i386-unknown-openbsd5.1 openbsd 5.1 Daemon started 08-Nov-12 18:11. Jobs: run=0 running=0. Heap: heap=0 smbytes=12,814 max_bytes=12,901 bufs=57 max_bufs=58 Sizeof: boffset_t=8 size_t=4 debug=0 trace=0 Running Jobs: Director connected at: 08-Nov-12 18:11 No Jobs running. Terminated Jobs: openbsd.example.com: $ sh bacula-ctl-fd start $ ps aux|grep bacula root 28675 0.0 0.3 2320 836 ?? Ss 6:13PM0:00.00 /usr/local/sbin/bacula-fd -v -c /etc/bacula/bacula-fd.conf Bacula Director: *status client=openbsd.example.com-fd Connecting to Client openbsd.example.com-fd at openbsd.example.com:9102 Failed to connect to Client openbsd.example.com-fd. *messages 08-Nov 18:15 bacula.example.com-dir JobId 0: Error: openssl.c:86 Connect failure: ERR=error:140943FC:SSL routines:SSL3_READ_BYTES:sslv3 alert bad record mac 08-Nov 18:15 bacula.example.com-dir JobId 0: Fatal error: TLS negotiation failed with FD at openbsd.example.com:9102. Client started as daemon with -d 400 openbsd.example.com-fd: bnet.c:766-0 who=client host=10.0.4.29 port=9102 openbsd.example.com-fd: job.c:270-0 dird: Hello Director bacula.example.com-dir calling openbsd.example.com-fd: job.c:286-0 Executing Hello command. openbsd.example.com-fd: job.c:436-0 Calling Authenticate openbsd.example.com-fd: cram-md5.c:72-0 send: auth cram-md5 578462435.1352395...@openbsd.example.com-fd ssl=2 openbsd.example.com-fd: cram-md5.c:131-0 cram-get received: auth cram-md5 883831335.1352395...@bacula.example.com-dir ssl=2 openbsd.example.com-fd: cram-md5.c:150-0 sending resp to challenge: jE/T1/Iap+ZZs//4/B++xB Client started in foreground with -d 400 openbsd.example.com-fd: bnet.c:766-0 who=client host=10.0.4.29 port=9102 openbsd.example.com-fd: job.c:270-0 dird: Hello Director bacula.example.com-dir calling openbsd.example.com-fd: job.c:286-0 Executing Hello command. openbsd.example.com-fd: job.c:436-0 Calling Authenticate openbsd.example.com-fd: cram-md5.c:72-0 send: auth cram-md5 517556587.1352395...@openbsd.example.com-fd ssl=2 openbsd.example.com-fd: cram-md5.c:131-0 cram-get received: auth cram-md5 1289059909.1352395...@bacula.example.com-dir ssl=2 openbsd.example.com-fd: cram-md5.c:150-0 sending resp to challenge: O5QL+2+zI/1pz8/vz/+LwB openbsd.example.com-fd: bnet.c:299-0 TLS server negotiation established. openbsd.example.com-fd: job.c:440-0 OK Authenticate openbsd.example.com-fd: job.c:270-0 dird: JobId=0 Job=-Console-.2012-11-08_17.58.22_45 SDid=0 SDtime=0 Authorization=dummy openbsd.example.com-fd: job.c:286-0 Executing JobId= command. openbsd.example.com-fd: job.c:1737-0 set sd auth key openbsd.example.com-fd: job.c:544-0 JobId=0 Auth=dummy openbsd.example.com-fd: fd_plugins.c:1197-0 plugin list is NULL openbsd.example.com-fd: job.c:270-0 dird: statusopenbsd.example.com-fd: job.c:286-0 Executing status command. openbsd.example.com-fd: runscript.c:108-0 runscript: running all RUNSCRIPT object (ClientAfterJob) JobStatus=C openbsd.example.com-fd: job.c:399-0 Calling term_find_files openbsd.example.com-fd: job.c:404-0 Done with term_find_files openbsd.example.com-fd: job.c:406-0 Done with free_jcr openbsd.example.com-fd: mem_pool.c:375-0 garbage collect memory pool Thanks, -- Jummo -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_nov ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users