Re: [Bacula-users] No Full backup in first weekend of january
Bacula follows the ISO 8601 specification. The first week of years is the first week that has the first Thursday in this year. The first weekend was not in the first week of the year. More in Bacula Documentation, Section Schedule Resource. Marek Fahrer, Julian napsal(a): I ve seen the same thing at a customers site using 3.0.3 Mit freundlichem Gruß Julian Fahrer - Originalnachricht - Von: Pieter (NL) pieters...@users.sourceforge.net An: bacula-users@lists.sourceforge.net bacula-users@lists.sourceforge.net Gesendet: Sat Jan 09 20:17:12 2010 Betreff: [Bacula-users] No Full backup in first weekend of january Hi, I noticed something stange. In the first week of january no Full backup was made on my server(s). I have the following schedule: Schedule { Name = WeeklyCycle Run = Level=Full w01 w03 w05 w07 w09 w11 w13 w15 w17 w19 w21 w23 w25 w27 w29 w31 w33 w35 w37 w39 w41 w43 w45 w47 w49 w51 w53 on sun at 01:05 Run = Level=Differential w02 w04 w06 w08 w10 w12 w14 w16 w18 w20 w22 w24 w26 w28 w30 w32 w34 w36 w38 w40 w42 w44 w46 w48 w50 w52 on sun at 01:05 Run = Level=Incremental tue-fri at 01:05 } I know this weekend was in week 53 is this a missing week in bacula? Greetings, Pieter -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Auto-deleting purged volumes
Bacula is not intended to delete anything. The way you have a new volume for a new day with a new uniq date-based name is not a good way for bacula. You shuld have the volumes with generic names and recycle them instead of removing them (you do not destroy the tapes after one use either). However you always can have a cron script or bacula admin job, which finds the old volumes and removes them. I have similar script for deleting volumes older then 60 days, usefull for automatic tide up when you often add and remove clients. example: STORAGE_PATH=/var/lib/bacula/backup /usr/bin/find $STORAGE_PATH/storedevice* -type f -ctime +60 -regex '.*-all-[0-9][0-9][0-9][0-9]$' -delete Marek Phil Stracchino napsal(a): I have a disk-based backup setup that uses dated volumes which are used for a 23-hour period then marked 'used', so that I can be certain a particular day's backups are contained in a single file. They are of course purged after their retention time expires, at which time they are moved to the Scratch pool. What I would LIKE to happen next is to have these purged volumes automatically deleted both from the catalog AND from disk. Has anyone else already implemented a solution to this problem? I'd sooner not reinvent the wheel if there's a perfectly good existing solution out there. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] No constraints in bacula database
Hi, I do some experiments with bacula database and I found that there is no foreign key constraint between jobmedia and job, jobmedia and media, job and file and many similar logicaly connected tables. Why? Constraints prevent arising void references (File with empty job, File with empty filename, jobmedia record with empty job or media) I have bacula-dir version 2.4.4, postgres variant, and postgres 8.3, default instalation. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Script to read bacula jobs info
alexan...@nautae.eti.br napsal(a): Hi. I have to integrate Bacula with GLPI inventory system. So, I have to read jobs info like Name, FileSet, Pool, Level, Schedule, etc, from each job, and put it in a data structure to export to GLPI. So, I'm about to write a Perl script and some regular expressions to read conf job file. But... is there any way that Bacula could give those information? Thanks for any help! []s Alexander Brazil This message was sent using IMP, the Internet Messaging Program. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users There are thre possible ways: You could either dig these dat from database (the structure is simple), but some data are hard to assemble from database only. Or you can parse the config files, but there is posibility, that the config in files are changed since bacula was reloaded. Third possibility is to connect to director via bconsole and call commands like show, list and llist, or to write an aplication, which will act as the concsole and will use the protocol. MArek -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backup diffrensial Bacula
togum napsal(a): Howdy friends, I'm using bacula in our companny backup system. But I always have a problem if our tape have been full. I'm using diffrensial bacula backup. If our tape full then i changed with the new tape, it will be full backup again and continue to do so. Please help me!!! Thanks advanced +-- |This was sent by to...@softbless.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users The optimal solution is: The amount of data for one night must be smaller then the size of the tape. Define Volume use duration to 23 hodin, so bacula will not use one tape twice. Marek -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Compatibility with older bacula-fd
Hi, I have a box with pretty old operating system, which cannot be upgraded, but I need to have there a bacula client. The newest version I have run there was 1.36.6. I have Director 2.4.4. The full backup was OK, but when I start an Incremental Job I got this Error: 15-říj 14:40 the-host-fd: the.host.cz_-_default-redhat-set.2009-10-15_14.33.28.37 Fatal error: job.c:1037 Unknown backup level: incremental WTF? The documentation says that version 1.36 suported incremental backups. Do I something wrong? Marek -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Not to block Storage when inserting attributes
Alan is right. The problem is not the inserting itself but the fact, that Storage is blocked while the job do not need it more. If I disable attribute spooling the attributes will be stored with data and the time the job spends will be the same (I think). The database performance is another problem and we do some other steps to improve that (we use postgres). I will need to vacuum it often and maybe some dump-and-restore will help. Alan Brown napsal(a): On Wed, 7 Oct 2009, Cedric Tefft wrote: The second phase (what you describe as DIA) is a result of using Spool Attributes = yes in your job defs. Changing this to no MIGHT solve your problem. OTOH, it might actually make things worse. I suggest you look up the Spool Attributes directive in the manual. If you're spooling data then attributes will spool as well. However I believe that Marek is referring to the sometimes LONG delay to release FD/SD after attribute despooling has finished that occurs while database inserts take place. I agree with the OP that once the job has finished the FD and SD should be released while database (batch) inserts are done, in order to allow other jobs to proceed. Marek: make sure you tune your database for performance. The default mysql configuration is quite slow and setup for machines with very little memory by current standards. AB -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Confusion in setting up Bacula to Windows Clients
My experience is that the Director name must match, the password must match and fd name doesn't need to match, maybe in some lastest version must match too. And to the bacula passwords: in my bacula I always generate a long random password (fifty chars of filth) and write it to both configs (through clipboard ofcourse). The bacula-fd is very dangerous if somebody succeed with a fake director attack because director can modify files and run any arbitrary code. The only need for the attacker is the name of director, valid password and a firewall hole. If you use one password only, the attacker needs to hack one Client and that moment he can hack any other machine. The similar problem is the default password, which seems to be random, but it is not, it is same for all clients of same version. I can imagine many admins keep it. Marek List Man napsal(a): The name in the fd conf file has to match the server's config. That is the only requirement. On 10/8/09 1:49 PM, John Drescher dresche...@gmail.com wrote: On Thu, Oct 8, 2009 at 1:45 PM, John BORIS jbo...@adphila.org wrote: John, Thanks for the quick response. Also should the names match. In my director I have the Client named John but that machine has a different name. I figure the Ciient name on the server (bacula-dir.conf) is a place holder and it uses the IP address to handle the connection and sends the password. I am not sure. I have these matching for all 50+ machines I have configured for bacula. John -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Suggestions of backups
Your problem is quite complex and I think it is not solvable in one forum thread. You will need to split jobs in more Storages, one of them can be the DVD. I advice not to have all backups in one file which grows forever, you should setup some cykling policy. You will need to study more about that from the reference manual. Be sure it can take few days or weeks until you are satisfied. Marek Jose Perez napsal(a): Hi people: I'd like to get some suggestions from you about the best way to deal with my backups managed with Bacula: I'm running Bacula 3.0.2 with a unique Volume as a file disk, all backups are stored under some directory in a huge file (now is about 400 GB of size). I have this configuration because I don't have any tape device. But my Bacula box has 6 SATA disks configured with software RAID 1 having a total Logical Volume of 1.5 TB. I'd like to have only mensual copies of data burned on DVDs... but my current Volume is about 400 GB. My question is: How could I burn on DVD only the most important 4 GB data of the month? I was thinking about burn some Full Backups to some DVDs and some incremental backups to other ones, but I don't know how to instruct bacula to burn to a DVD just specific jobs. I even tought restoring specific Jobs to some directories then make an ISO image of them and finally burn them... is this fine? It's the first time I have a Bacula on production so my experience with managing backups isn't so good. Does anybody here has a File Disk Volume as me? How do you deal with backups stored in external storage (DVD, External Hard Disks, etc)? I would appreciate some ideas to get started with an appropiate procedure of storing backups. Thanks -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Not to block Storage when inserting attributes
Hi, I have a complex bacula config (2.4.4) with about 100 clients, 300 Jobs and 48 Storages on two Storage Daemons (32 on one and 16 on the other). The multiplicity of Storages is for paralelism. The clients are spread among the storages with config generator, which selects the Storage for them. But still many clients share the Storages and must wait for each other. I noticed each job goes through two phases: running phase (aquiring data from client) and Dir inserting attribures phase (DIA). In DIA phase job still blocks the Storage but actualy it does not need it more. Is it possible to avoid that? Some asynchronous catalog inserting or some feature in 3.0? Marek -- Come build with us! The BlackBerry(R) Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9 - 12, 2009. Register now! http://p.sf.net/sfu/devconference ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Multiple jobs with multiple clients and multiple storages
Hi, Why bacula jobs say: waiting for Max Storage jobs, when the real reason is Directory limit? Is it a bug? I have 2.4.4. I spend plenty of time when solving that. Marek -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9#45;12, 2009. Register now#33; http://p.sf.net/sfu/devconf ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula 1.38 file daemon compatibility with latest 3.0 Bacula Server Solution
I used combination 1.38 FD and 2.4.4 director + SD, and it works, except if I use the Runscript directive - the Filedaemon did not know it. I have no experience with bacula 3.0 director Marek Michael Halfhill napsal(a): Has anyone confirmed if there are any complications or issues with remote bacula 1.38 file daemon clients working with Bacula 3.0 Server solution? Michael G. Halfhill East Kentucky Network, LLC. Appalachian Wireless Information Technology mhalfh...@ekn.com (606) 477-2355 ext 144 (606) 791-9421 cell -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bad Hello command from Director at client
What are your director and file daemon versions? Marek David Touzeau napsal(a): Dear I have compiled latest bacula version with the following tokens ./configure --config-cache --prefix=/usr --sysconfdir=/etc/bacula --with-scriptdir=/etc/bacula/scripts --sharedstatedir=/var/lib/bacula --localstatedir=/var/lib/bacula --with-pid-dir=/var/run/bacula --with-smtp-host=localhost --with-working-dir=/var/lib/bacula --with-subsys-dir=/var/lock --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --enable-smartalloc --with-tcp-wrappers --with-libiconv-prefix=/usr/include --with-readline=yes'; --with-libintl-prefix=/usr/include --without-x --with-readline=yes --with-mysql --without-postgresql --without-sqlite3 --enable-bwx-console --without-sqlite when i'm connecting trough bconsole : r...@pc-dtouzeau:~# bconsole -d 500 bconsole: lex.c:186-0 Open config file: /etc/bacula/bconsole.conf bconsole: lex.c:186-0 Open config file: /etc/bacula/bconsole.conf Connexion au Director PC-DTOUZEAU:9103 bconsole: bsock.c:221-0 Current host[ipv4:127.0.0.1:9103] All host[ipv4:127.0.0.1:9103] host[ipv4:127.0.1.1:65535] host[ipv4:127.0.0.1:65535] bconsole: bsock.c:155-0 who=Director daemon host=PC-DTOUZEAU port=9103 bconsole: cram-md5.c:133-0 cram-get received: authenticate.c:81 Bad Hello command from Director at client: Hello *UserAgent* calling bconsole: cram-md5.c:138-0 Cannot scan challenge: authenticate.c:81 Bad Hello command from Director at client: Hello *UserAgent* calling Director authorization problem. Most likely the passwords do not agree. If you are using TLS, there may have been a certificate validation error during the TLS handshake. Please see http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00376 for help. What's wrong ? I have read the documentation page, but nothing appears wrong in my configuration console config -- Director { Name = PC-DTOUZEAU-dir DIRport = 9103 address = PC-DTOUZEAU Password = jflcVFlBiDrO0C3lkPQFXwfRSxE9QnkTDoO6uz8dRVbu } director config (bacula-dir.conf) -- Director {# define myself Name = PC-DTOUZEAU-dir DIRport = 9103# where we listen for UA connections QueryFile = /etc/bacula/scripts/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run/bacula Maximum Concurrent Jobs = 1 Password = jflcVFlBiDrO0C3lkPQFXwfRSxE9QnkTDoO6uz8dRVbu # Console password Messages = Daemon } Client { Name = PC-DTOUZEAU-fd Address = PC-DTOUZEAU FDPort = 9102 Catalog = MyCatalog Password = jflcVFlBiDrO0C3lkPQFXwfRSxE9QnkTDoO6uz8dRVbu # password for FileDaemon File Retention = 30 days# 30 days Job Retention = 6 months# six months AutoPrune = yes # Prune expired Jobs/Files } File directives (bacula-fd.conf) -- Director { Name = PC-DTOUZEAU-dir Password = jflcVFlBiDrO0C3lkPQFXwfRSxE9QnkTDoO6uz8dRVbu } Storage directives (bacula-sd.conf) -- Storage { # definition of myself Name = PC-DTOUZEAU-sd SDPort = 9103 WorkingDirectory = /var/lib/bacula Pid Directory = /var/run/bacula Maximum Concurrent Jobs = 20 } Director { Name = PC-DTOUZEAU-dir Password = jflcVFlBiDrO0C3lkPQFXwfRSxE9QnkTDoO6uz8dRVbu } -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Frozen canceled jobs
Hi, I have jobs, which have frozen. The reason of frozing is not subject of this message, I will deal with it next time. But now I have canceled the job. The job has been marked canceled, but still hangs in the queue and block other jobs to proceed (they are waiting for releasing storage media). The only way I found is to restart the bacula-dir completely but it removes all the jobs. I want to remove just only those canceled jobs. Marek -- The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Make waiting job continue
Hi, I have a Job waiting for a appendable media. I purged and recycled some media, but Job is still waiting. Sometimes it continues after long waiting, but usualy I need to cancel it and run it manualy. Is there some possibility how to make the Job continue? Marek -- Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula and Day saving time]
Czech Republic belongs to European Union and DST law is unified for whole Europe (may be except Albania). May be it is different from US law. However my system (debian linux) had no problem switching to DST because it is often updated and internal time is UTC. My question was, what would bacula do on spring time change, when some time is skipped and whether the newer bacula (2.0 or newer) will deal with it better. Marek Arno Lehmann napsal(a): Hi, 30.10.2007 19:50,, Ryan Novosielski wrote:: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rich wrote: On 2007.10.30. 17:51, Chris Hoogendyk wrote: Ryan Novosielski wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 ... That said, I'd expect Bacula will skip the backup, given its behavior in this case. One way to solve this problem, I guess, would be to never start backups between 2 and 3 AM. yup. Very reasonable, but IIRC a better solution was implemented in Bacula, probably since 2.0. I couldn't find this with a grep in ReleaseNotes, but I recall that being discussed a year or two ago on the mailing lists. so, is there some dst intelligence in latest versions of bacula ? if not, maybe a comment, warning about this should be added to default configuration file schedules :) No, they weren't, but depending on where you live, there was no problem this weekend. :) See above - I believe there is the necessary intelligence in Bacula. Arno How do other packages handle this? I believe cron is one of the more intelligent programs when dealing with this. Perhaps anacron? - -- _ _ _ _ ___ _ _ _ |Y#| | | |\/| | \ |\ | | |Ryan Novosielski - Systems Programmer II |$| |__| | | |__/ | \| _| |[EMAIL PROTECTED] - 973/972.0922 (2-0922) \__/ Univ. of Med. and Dent.|IST/AST - NJMS Medical Science Bldg - C630 -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHJ3zymb+gadEcsb4RAppeAKCy8pvA0Uc6F61TQ36PtFRTE7LJXwCglT4e Xsq/OJClCggdKmoocewgtZc= =QHwu -END PGP SIGNATURE- - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula and Day saving time
Hi all, I have my bacula (1.38.11) set up to start certain Job on Sunday 2:05. On 28th October the Daylight saving time was ended and time between 2am and 3am has repeated (like in Red Dwarf :-) ). The backup has started twice (and the second run has stuck waiting for a volume). What would happen on first day of daylight saving time, when time between 2 and 3 am is skipped? Marek - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Disk backup recycling
My opinion to your ideas: 0) Leave the schema as I submited and buy more disk space for backuping. :-) 1) It is best variant I think. The other advantage is that the full backup of all clients would take much longer time then 1/7th full and other differential. Now what to do with Catalog: You can backup the catalog to some changable media (tape, CD/DWD-RW). You can pull the (zipped and may be encrypted) catalog to some or all of your clients. You can send your (zipped and maybe encrypted) Catalog to some friend of you (and you can backup his catalog for reciprocation), but it may be a violence of the data privacy (even if the Catalog contain only names and sizes). You can forward the bacula messages (completed backups) to some external mail address and then if needed you can reconstruct the job-volume binding from them. The complete catalog is too big for sending it by e-mail, but still you can do SQL selection in catalog after the backup and send the job-volume bindings and some other relevant information to the external email address in CSV format. Still you can (and I strongly recommend to) backup the catalog every time after the daily bunch of Jobs and extract it when needed with other bacula tools (bextract). 2) I thought, you are in lack of disk space, so you can't afford to have the full backup twice plus many differential backups. So I do not see the difference if I have two full backups on a device for a day or for few hours, I need that space anyway. But I think this variant is better to be used it with your original idea: Every full backup volume has its own pool and the Job Schedule is set up to use volume 1 in odd weeks and do the immediate differential (practicaly zero sized) backup to the volume 2 just after the full one and vice-versa in even weeks. Priorities could help you as well in this case. May be some check if the full backup was good would be advisable, but I am not sure if bacula can do this kind of conditional job runs, may be with some python hacking or some After Run and Before Run scripts. You can do the same for differential backups - two volumes in two pools, the first is used and the other cleared - in turns. And finaly, you can combine it with previous solution and divide it to sevenths or more parts, but then it would be the real Catalog hell. 3) It is the worst solution. If you want to have bad sleep every Monday (or else day), try it. It is realy risky to loose the backup even for a while, an accident can strike at any time. Marek P.S. I could write it in czech, but the other readers can be interested too :-) Radek Hladik napsal(a): Hi, thanks for your answer. Your idea sounds good. However if I understand it correctly, there will be two full backups for the whole day after full backup. This is what I am trying to avoid as I will be backing up a lot of clients. So as I see it I have these possibilities: 1) use your scheme and divide clients into seven groups. One group will start it's full backup on Monday, second on Tuesday, etd.. So I will have all the week two full backups for 1/7 clients. This really seems like I will need to backup the catalog at least dozen times because no one will be able to deduct which backup is on which volume :-) 2) modify your scheme as there will be another differential backup right after the full backup before next job starts. It will effectively erase the last week full backup. 3) use only 7 volumes and retention 6 days and live with the fact, that there is no backup during backup. Now I only need to decide which option will be the best one :-) Radek - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Disk backup recycling
Hi, I suggest to solve like this: One Pool only. 8 volumes. Retention time 7 days and few hours. Use time 1 day. The use will be like this: first Monday: full backup. volume 1 used and contains the full backup Tue to Sun: diff backup using volumes 2 to 7 (automaticaly selected or created by bacula) second Monday: volume 1 is not free yet, so using volume 8 for full backup. Now you have two full backups. second Tuesday: volume 1 is available and bacula will recycle it for first differencial backup. Old full backup is discarded. Now you have full backup on volume 8, first diff on volume 1 and 6 volumes with useless data second Wednesday: volume 2 is available etc. You will not be able to keep the exact content of volumes in your head, but the bacula is designed for not needing that. You can still read every day's report and get your brain busy with it (and I recomand it for few weeks to catch the buggies). Marek Radek Hladik napsal(a): Hi, I am implementing simple schema for backing up our data. Data are backed up to disk. Full backup is performed every Sunday. The next 6 days differential backups are performed. I want to keep only one Full backup and at maximum 6 daily differences. The moment new Full backup is made, previous Full backup and its differential children can be deleted. According to documentation (chapter Automated disk backup) I've made two pools like this: Pool { Name = full Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 7 days Label format = full Maximum Volume Jobs = 1 Maximum Volumes = 2 } Pool { Name = diff Pool Type = Backup Recycle = yes AutoPrune = yes Volume Retention = 7 days Label format = diff Maximum Volume Jobs = 1 Maximum Volumes = 8 } But as I understand it, there will be two full backups as backups have period 7 days and retention is 7 days too - so the last week backup will not be reused as it is not old enough. But if I lower retention to i.e. 6 days, the volume will be deleted before performing backup and there will be window without any backup. I am backing up a lot of clients and I do not mind having one unnecessary backup during backup process itself but I would like to avoid having two backups for each client for whole the time. And my other question - can be differential/incremental backups automatically deleted as soon as their parent is reused/deleted? Radek - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] restoring from bad volume
Hi, today I made a small restore test. I have three storages: 1) the Main storage on a disk array 2) the Tape storage 3) the Extra storage on a removable SATA disk, which is used to backup one special project. I run the restore command, selected the file, it was found in Catalog on volume suplik0001, which is on Extra storage. (as expected) The restore command offers the defaults for the job, so there was the Main storage, but I did not check it, I just saw the suplik0001 and considered it OK, so I started the job. The restore was ended OK with warning, but no files were restored. I check the system and I found another suplik0001 file in Main storage, which was (most probably) a piece of canceled backup started in deep past with wrong parameters. So there was two volumes with same names on different Storages and bacula selected the wrong one. But it means bacula dont save the Storage ID or at least it do not use it for restoration. So I should know, which Storage I used for a particular volume, shouldn't I? Or could I fix it by just removing the wrong file? However, to have two same-named volumes in different storages is not a good thing and I think bacula should check it and throw a warning, if such situation occurs. I have director version 1.38.11 Marek - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backward compability
The problem is solve. John Drescher sent me an older version of bacula client and it runs good, but I had to fix some typo in config. Maybe that new version would work with corrected config either. Unfortunately windows client does no log (or I dont know about it). However thank John very much for it. Marek Marek Simon napsal(a): We will see if it helps, maybe the problem is somewhere else. M. Rich napsal(a): On 2007.10.02. 18:57, Marek Simon wrote: Hi, I have director 1.38.11 from stable debian release. I tried to get windows client of the same version, I searched for it very long, but I did not succeed. I tried a new windows client (2.2.4), but it does not work (as said in manual). Can I dig winbacula-1.38.11 installation program somewhere in the world (or in software heaven or software hell)? Or do I need to upgrade all clients, storages and director to 2.x.x? hmm. i am using 36.1 director/sd and 2.2.something agents. works fine, also restoration ;) Thanks. Marek ... - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backward compability
We will see if it helps, maybe the problem is somewhere else. M. Rich napsal(a): On 2007.10.02. 18:57, Marek Simon wrote: Hi, I have director 1.38.11 from stable debian release. I tried to get windows client of the same version, I searched for it very long, but I did not succeed. I tried a new windows client (2.2.4), but it does not work (as said in manual). Can I dig winbacula-1.38.11 installation program somewhere in the world (or in software heaven or software hell)? Or do I need to upgrade all clients, storages and director to 2.x.x? hmm. i am using 36.1 director/sd and 2.2.something agents. works fine, also restoration ;) Thanks. Marek ... - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] client max concurrent jobs
Hi, I tried to set up Maximum Concurrent Jobs for client in Client resource in Director config file. In manula it is allowed option. But when reloaded, director tells me, that this directive is not allowed in this scope. I have 1.38.11 version, Debian linux. Is it a bug or do I something wrong? Marek - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] backward compability
Hi, I have director 1.38.11 from stable debian release. I tried to get windows client of the same version, I searched for it very long, but I did not succeed. I tried a new windows client (2.2.4), but it does not work (as said in manual). Can I dig winbacula-1.38.11 installation program somewhere in the world (or in software heaven or software hell)? Or do I need to upgrade all clients, storages and director to 2.x.x? Thanks. Marek - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] howt to split the bacula-dir.conf
Or you can include a filelist and allow someone else to edit it and modify files to backup. But be carefull, files are included as is, with no limit. If the file or editor's user account is not secure enough, it can turn to major vurneability. Marek Michal Medvecký napsal(a): luyigui loholhlki napsal(a): hi i want to split the bacula-dir.conf file to different files (one file by client) is that realizable if yes : how?? thanks in advance @ stands for include example: @/etc/bacula/hosts/test.host Michal - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] More jobs concurently
I have one basic disc storage with 400BG, one extra storage on other 400GB disk and one DDS Tape. All the storages are in same server. I use the basic storage for common backup of systems and user data and the extra storage for backup of one special project. The extended storage is often full and extra jobs get stuck. But the other jobs get stuck too waiting on it. I set up Director Max Concurent job to 3 and for each Storage I set to one. It seems it is still not working properly. Should I set it somewhere else too? Or something else? Marek - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Purging ancestor of incremental backup
Hi. I accidentaly get myself to the situation, that one of my backup storages is filled up and no space on disk is free. I had to purge some of my backups. If there is one full backup and 1st, 2nd 3rd incremental backup, and I purge volume with the 2nd incremental backup, which backup will the 4th incremental backup get as the reference? Does it take 3rd (which is inconsistent since 2nd incr. backup is missing) or 1st, which is correct? Marek - This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now http://get.splunk.com/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Eject the tape
I want to eject the tape after backup. I found somesthing like 'Run after backup = script_with_bconsole_umount_and_shell_eject', but it seems to me a bit dumpy. Is it possible to do it (I mean umount and eject) in the director config or some other (cleaner) way? Marek - This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] RFC: client after fail command
I have a feature request for next version There are Client Before and After commands, its usage is obvious. But when the backup fails (not enough space etc), the After command will not run and the client dont know, the backup is (even unsuccesfully) finished. So I would like to have another parameter, which would the director run on client, when the backup fails. I think it is better then some obscur scripts which check it with some bmonitor. Marek Simon --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Remote client commands after bacula's fail
I backup oracle with by way: shut down the server, copy dbf files and start up the server both commands are sent by bacula through Client Run Before Job and Client Run After Job parameters. but when bacula fails to do backup (full storage etc), the after command don't start and the server remains down. Can I set bacula to run the after command (or any command), even if backup fails? Marek --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] changing volumes on disk
Hi, I have one machine with data and one backup machine with bacula dir, both linux. I want to do backups on disk on backup machine. I have one default pool and few volumes on same disk. Bacula appends to one volume until it is full, then it searches for other volumes which are null sized, but full as well. I would like to dispense jobs to volumes day by day to allow bacula delete the old ones. I set max job per volume parameter, but it did not help. I dont want to take x pools for x days, it must be possible to solve it other way, like with tapes. Can someone advice me? Marek --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] rotate volumes on disk
I have one machine with data and one backup machine with bacula dir, both linux. I want to do backups on disk on backup machine. I have one default pool and few volumes on same disk. Bacula appends to one volume until it is full, then it searches for other volumes which are null sized, but full as well. I would like to dispense jobs to volumes day by day to allow bacula delete the old ones. I set max job per volume parameter, but it did not help. I dont want to take x pools for x days, it must be possible to solve it other way, like with tapes. Can someone advice me? Marek --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users