Re: [Bacula-users] libmysqlclient_r.so.16
Op 2013-07-19 om 21:31 schreef Rares Aioanei: On 07/19/2013 02:47 PM, Marcos Renato da Silva Junior wrote: Hi, After upgrade Debian Squeeze to Wheezy, bacula-dir dont start, send this message : Starting Bacula Director: /sbin/bacula-dir: error while loading shared libraries: libmysqlclient_r.so.16: cannot open shared object file: No such file or directory bacula-dir [SNIP] Please post the output of 'ldd /sbin/bacula-dir' . And I would like to see the output of `dpkg -l '*bacula*'`. That shows which bacula packages are installed. Cheers Geert Stappers -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] HEADS UP: FreeBSD changes...
Op 2013-07-19 om 21:33 schreef Kern Sibbald: On 07/19/2013 02:33 PM, Dan Langille wrote: We have a change request for Bacula on FreeBSD: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/170882 Synopsis: sysutils/bacula-server - Feature Request - Change sysconfdir to $PREFIX/etc/bacula That is: all the Bacula stuff which normally fits in /usr/local/etc/ into /usr/local/etc/bacula You really should be putting everything into /opt/bacula. It is *much* more backup friendly for disaster recovery situations. The request is about having a bacula directory under etc/ So to avoid bacula configuration files in the toplevel etc/ directory. Cheers Geert Stappers -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] How to tell which Client is installed
Op 2013-07-16 om 20:49 schreef Robyn Holmes: Is there a way to tell whether the 32 or 64 bit version of 5.2.9 Windows Client is installed? Type at bacula console status client and select a client. Version information is first lines of output. That works for me to see if Linux client is 'i386' or 'x86_64'. Cheers Geert Stappers -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Is Truncate just broken?
Op 2013-07-12 om 09:53 schreef Radosław Korzeniewski: 2013/7/11 Mingus Dew shon.steph...@gmail.com I don't think I've ever gotten it to work under any circumstance, either manually or automated. It is working fine, automatic or manually. I use it on a lot of Bacula deployments without problems. I'm looking forward to see a message that shows under which circumstance truncate doesn't do what was expect. Mostly for the follow-up messages that say how truncate in Bacula work. Cheers Geert Stappers -- See everything from the browser to the database with AppDynamics Get end-to-end visibility with application monitoring from AppDynamics Isolate bottlenecks and diagnose root cause in seconds. Start your free trial of AppDynamics Pro today! http://pubads.g.doubleclick.net/gampad/clk?id=48808831iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Looking for a way to get the number of running jobs as a single number
Op 2013-06-12 om 05:04 schreef Jonathan Bayer: On 6/11/2013 5:26 PM, Marcin Haba wrote: Dnia 2013-06-11, wto o godzinie 16:27 -0400, Jonathan Bayer pisze: I would like to be able to monitor the number of running jobs with our monitoring system (Zabbix). To do this I need a script which will return the number without any additional text. Is this available anywhere? I don't see an easy way to do this. Hi, From what level want you get information about running jobs? (bconsole, database). I think that there is easy way to do this from database level. You may run below SQL query: SELECT COUNT(job.name) FROM job WHERE job.jobstatus IN ('C','R'); Above SQL query may be called from bconsole level as well. For example by using sql bconsole command. It allows to call SQL queries from bconsole level but then you will need to use additional tools for strings operations (sed, awk, etc.). For writing script purpose here you are examples usage bconsole requests in shell scripts: http://bacula.org/5.2.x-manuals/en/console/console/Bacula_Console.html#SECTION0028 Thanks. The SQL is what I needed, I already have scripts which are querying the database for other info. Now has the mailinglist archive a lost post in this thread that can people read in the discussion order. Please reply below the text. Regards. Marcin Haba (gani) JBB Thank you Geert Stappers -- This SF.net email is sponsored by Windows: Build for Windows Store. http://p.sf.net/sfu/windows-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] very old Bacula-Version
Op 2013-05-24 om 10:43 schreef Uwe Schuerkamp: On Fri, May 24, 2013 at 10:21:02AM +0200, Claudia Koch wrote: Hallo all, I need a very old version of Bacula. I have to integrate a Suse8-box to my bacula-environment. The oldest Version from the Bacula-Web-Site is 5.0.2. Hi Claudia, I could provide a source tarball from version 2.4.4. Would that help you or do you need a binary? Very old versions (source and binary) at http://archive.debian.org/debian/pool/main/b/bacula/ At http://ftp.nl.debian.org/debian/pool/main/b/bacula/ is the oldest also 5.0.2 Groeten Geert Stappers -- Try New Relic Now We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] how to proceed after i/o error during bscan?
Op 2013-04-15 om 04:14 schreef Michael Stauffer _g: Bacula 3.0.1 Hi, I'm tantalizingly near the end of a bscan reconstruciton of a catalog over 35 tapes. You may remember my posts starting mid February - it took a while but it also turns out both drives in my device had failed, so they've been replaced. It's taken 11 days so far to get to tape 30 out of 35, and ... an i/o error has occured. bscan: bscan.c:650 Could not find Job for SessId=9 SessTime=1358880703 record. 14-Apr 17:47 bscan JobId 0: Error: block.c:1004 Read error on fd=3 at file:blk 1202:13403 on device LTO5-0 (/dev/st0). ERR=Input/output error. Bacula status: file=1202 block=13403 Device status: ONLINE IM_REP_EN file=1202 block=-1 The bscan process is still running. Currently 'mt -f /dev/st0 status' is returning /dev/st0: Device or resource busy. Assuming I can get the tape 30 in the drive working again, how do I proceed? Do I return to the bscan process and hit 'enter' to see if it will start again from tape 30? Do I kill the bscan process and start again from tape 30? Can I assume that whatever it finds on tape will be added to whatever's been added to the database so far? Or do I have to start from scratch?! I hope not!!! I think^Wassume that bscan can/SHOULD handle a single tape cartridge. This is the command line the original poster shared with us on 2013-04-02 ./bscan -b /bacula/bscanVolsBootstrap.bsr -c /etc/bacula/bacula-sd.conf -v -s -m /dev/st0 The tricky part might in the high tech stuff behind /dev/st0. If /dev/st0 is simple tape drive, it will scan a single tape. However if /dev/st0 is a tape library, expect that is goes through _all_ tapes. So check what kind of hardware your /dev/st0 is. In other words: I understand the wish to avoid thirty tapes again, but I'm not familar with bscan, neither known what /dev/st0 the OP has. Groeten Stappers -- Precog is a next-generation analytics platform capable of advanced analytics on semi-structured data. The platform includes APIs for building apps and a phenomenal toolset for data science. Developers can use our toolset for easy data analysis visualization. Get a free account! http://www2.precog.com/precogplatform/slashdotnewsletter ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backup strategy with Bacula
Op 2013-03-27 om 13:12 schreef Paul Mather: On Mar 26, 2013, at 11:44 PM, Bill Arlofski wrote: On 03/26/13 22:33, Wood Peter wrote: Hi, I'm planning to use Bacula to do file level backup of about 15 Linux systems. Total backup size is about 2TB. For Bacula server I'm thinking to buy Dell PE R520 with 24TB internal storage (8x 3TB disks) and use virtual tapes. Hi Peter. First, you're going to want some RAID level on that server and RAID0 is not (IMHO) RAID at all. :) At a minimum you're going to want to set up (for example) RAID5 in the server which will give you a maximum of 7 x 3 = 21 TB since the equivalent of 1 full drive is used for parity, spread across all of the drives in a RAID5 array. Having said that, RAID5 does not have the best write speeds, but other RAID levels that will give more redundancy and better write speeds will use significantly more drives and give you less total storage. You may need to spend some time to consider your redundancy and read/write throughput requirements. Also, you will generally want to configure at least one drive as a hot spare so the RAID controller can automatically and immediately fail over to it in the case of a drive failure in the array. So that takes away at least 3 more TB, so now your down to 18TB total storage with a minimally configured RAID5 array with 1 hot spare. Just some things to consider. :) Another thing to consider is that with large capacity drives (3 TB) combined into large RAID-5 arrays there is an increased likelihood of a catastrophic array failure during an array rebuild due to an initial drive failure. For this reason, RAID-6 would be preferred for such large arrays. Reliability of large RAID arrays is one of the motivations behind raidz3 (triple-parity redundancy) in ZFS. See, e.g., http://queue.acm.org/detail.cfm?id=1670144 for details. Thanks for the advice on RAID configuration. Now we can go back to 24TB internal storage (8x 3TB disks) and use virtual tapes. so (cheap) disks as alternative to backup tapes. Groeten Stappers -- Own the Future-Intelreg; Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula and hyper-V
Op 2013-03-20 om 21:00 schreef Mike Eggleston: On Mar 20, 2013, at 13:44, Bachmatiuk, Marcin wrote: Hello, I have question. Does anyone have an experiment one of the bacula backup and Hyper-V? Any solution.a --- Best regards Marcin I use bacula to backup Hyper-V slices. I have no errors. Mike Which special configuration was needed, if any? Please, tell it to the mailinglist (archive). -- 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_mar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Manage disk space used by Bacula
Op 2013-03-07 om 22:53 schreef artakami: Hi I am currently using Bacula 5.2.12 and I am having problem with controlling disk space. It seems like bacula does not overwrite old data in backup files until it fills up whole disk space. I would like to know if anybody else had/having same problem Yes of course does the same problem occure, after all it is http://en.wikipedia.org/wiki/Eternal_september and how did they get over it? Take some time to read this e-mail. Bacula can write backup data to both tape and disk. There is much shared programming code in writing to tape and disk. That is made possible due a tape cardridge equivalent for disk backup named Volume. Where the original poster speaks about backup files, shoud it be Volumes and should think tape cardridges. Having multiple Volumes ( tapes ) is important. Setting the Volume size ( tape size ) is done with 'Maximum Volume Size ='. So slice the disk with Volumes. Next thing is telling Bacula how long it should keep content on a volume. Having a full backupdisk is now not a problem anymore. (In fact it is good to have backupdisk full with volumes.) Having not enough volumes ( having not enough virtual tapes ) is a problem. Solution can be either more disk space for more volumes ( buy more tapes ), or re-use a volume (a tape) quicker. Summary: think tapes. Cheers Geert Stappers -- http://www.vanadcimplicity.com/ -- Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the endpoint security space. For insight on selecting the right partner to tackle endpoint security challenges, access the full report. http://p.sf.net/sfu/symantec-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Latest Files link on bacula.org
Op 2013-02-21 om 19:20 schreef Uwe Schuerkamp: Hi folks, the current files link on the bacula website still points to release 5.2.6 which might confuse some people ;) I had a closer look. My git clone http://git.bacula.org/docs has file home-page/en/page/dl.php with function getfiles() { $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, http://sourceforge.net/projects/bacula/files/;); curl_setopt($ch, CURLOPT_HEADER, false); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true); $res = curl_exec($ch); curl_close($ch); $res = strstr($res, All Files); // echo res=$res; $res = str_replace(\n, , $res); $res = str_replace(\r, , $res); // get list of all available files and their attributes $count = preg_match_all( // catversname !href=\(/projects/bacula/files/([^/]+)/([^/]+)/([^/]+)/download)\ . //size date downloads .*?td([\d\.]+ [a-zA-Z]+)/td.*?td(.*?)/td.*?td(.*?)/td!, $res, $files, PREG_SET_ORDER); // remove duplicates (due to latest files list) $out = array_filter_unique( $files, create_function('$a,$b', 'return strcmp($a[1], $b[1]);')); return $out; } What I see is that the string 'All Files' is gone from http://sourceforge.net/projects/bacula/files/ So far for this week. Cheers Geert Stappers http://www.vanadcimplicity.com/ -- 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_feb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Job canceling tip
Op 2013-03-04 om 02:44 schreef Dan Langille: I discovered this clever idea this morning. Say you want to cancel a few jobs. Here's an easy way: *cancel Select Job: 1: JobId=122926 Job=gelt.2013-03-03_05.55.03_02 2: JobId=122927 Job=gelt_freshports_dev.2013-03-03_05.55.03_03 3: JobId=122928 Job=gelt_wordpress_websites.2013-03-03_05.55.03_04 4: JobId=122930 Job=nyi_basic.2013-03-03_05.55.03_06 [snip] 36: JobId=122968 Job=kraken.2013-03-03_18.00.51_46 37: JobId=122969 Job=ngaio.2013-03-03_18.00.52_47 38: JobId=122971 Job=nyi_maildir.2013-03-03_22.00.00_51 39: JobId=122972 Job=dent.2013-03-03_23.30.00_53 40: JobId=122973 Job=nyi_maildir.2013-03-04_00.00.00_54 Choose Job to cancel (1-40): . Selection aborted, nothing done. You abort out of that, and then you can copy/cancel the JobId= text from above, like this: *cancel yes JobId=122973 JobId 122973, Job nyi_maildir.2013-03-04_00.00.00_54 marked to be canceled. *cancel yes JobId=122971 JobId 122971, Job nyi_maildir.2013-03-03_22.00.00_51 marked to be canceled. You have messages. * I find this much easier than scanning the cancel list multiple times and entering the number. Thank you for the tip. I want to share another. It is about canceling multiple jobs. Execute from shell for i in {17..21} ; do echo cancel yes jobid=404${i} | bconsole ; done Five jobs, 40417-40421, will be canceled. Cheers Geert Stappers -- http://www.vanadcimplicity.com/ -- 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_feb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FreeBSD Python link error
Op 20130218 om 14:54 schreef Dan Langille: I'm trying to add Python support to the FreeBSD port. I'm working on a PR submitted to FreeBSD, but I'm getting a link error. http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/171818 Any ideas? Full link output at the above URL. The main error is: Linking bacula-dir ... /var/ports/usr/home/dan/src/ports/sysutils/bacula-server/work/bacula-5.2.12/libtool --silent --tag=CXX --mode=link /usr/bin/c++ -L../lib -L../cats -L../findlib -L/usr/local/lib -Wl,-rpath=/usr/lib:/usr/local/lib -L/usr/local/lib -o bacula-dir dird.o admin.o authenticate.o autoprune.o backup.o bsr.o catreq.o dir_plugins.o dird_conf.o expand.o fd_cmds.o getmsg.o inc_conf.o job.o jobq.o migrate.o mountreq.o msgchan.o next_vol.o newvol.o pythondir.o recycle.o restore.o run_conf.o scheduler.o ua_acl.o ua_cmds.o ua_dotcmds.o ua_query.o ua_input.o ua_label.o ua_output.o ua_prune.o ua_purge.o ua_restore.o ua_run.o ua_select.o ua_server.o ua_status.o ua_tree.o ua_update.o vbackup.o verify.o -lbacfind -lbacsql -lbaccats -lbacpy -lbaccfg -lbac -lm -pthread -lutil -lm -lpython2.7 -lutil -lpthread -lintl -lwrap /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -Wl,-rpath -Wl,/usr/local/lib -L/usr/lib -lssl -lcrypto dird.o(.text+0x234e): In function `main': : undefined reference to `init_python_interpreter(init_python_interpreter_args*)' FWIW: the Debian package has a build depend on 'python-dev' Stappers not familair with FreeBSD equivalents of python-dev -- 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_feb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] using usb disk for daily off site backups with vchanger
Op 20130217 om 21:18 schreef mikeegg1: On Feb 17, 2013, at 9:36 AM, fsy bacula-fo...@backupcentral.com wrote: Hi, i want to backup to usb disks every day, so i decided to install vchanger and use one usb disk for every day. my problem is that vchanger/bacula sometimes doesn't recognize my disks. My vchanger config is: changer_name = vchanger virtual_drives = 1 slots_per_magazine = 6 magazine_bays = 1 automount_dir = /mnt/vchanger magazine = UUID:c6aa86dc-0a2b-4386-81ae-79f8a6fd21d3 magazine = UUID:ab3266ac-12f1-4dc6-9448-3b144ee9ba08 magazine = UUID:047d3f77-b761-41d7-ab7a-0b98b9540ae3 magazine = UUID:b7391bf8-2f50-431e-9124-d0e969af09cf magazine = UUID:df31b95c-5986-4f67-a754-0379d92e92bf magazine = UUID:2d85d8c1-c197-4d5a-b8fe-016e7c37c56d my autofs configuration: /mnt/vchanger /etc/auto.vchanger --timeout=30 my autofs vchanger config: * -fstype=auto,rw,sync :/dev/disk/by-uuid/ if i try to run a backup job on the vchanger device i get the following: 17-Feb 15:59 bacula-dir JobId 5665: shell command: run BeforeJob /etc/bacula/holiday.sh 17-Feb 15:59 bacula-dir JobId 5665: BeforeJob: Date is not a known vacation day. 17-Feb 15:59 bacula-dir JobId 5665: Start Backup JobId 5665, Job=test-USB.2013-02-17_15.59.33_33 17-Feb 15:59 bacula-dir JobId 5665: Using Device usb-changer-drive-0 17-Feb 15:59 bacula-sd JobId 5665: 3301 Issuing autochanger loaded? drive 0 command. 17-Feb 15:59 bacula-sd JobId 5665: 3302 Autochanger loaded? drive 0, result: nothing loaded. 17-Feb 15:59 bacula-sd JobId 5665: 3304 Issuing autochanger load slot 2, drive 0 command. 17-Feb 15:59 bacula-sd JobId 5665: Fatal error: 3992 Bad autochanger load slot 2, drive 0: ERR=Unknown error during program execvp. Results=failed to convert slot 2 to valid volume file name 17-Feb 15:59 -fd JobId 5665: Fatal error: job.c:2395 Bad response to Append Data command. Wanted 3000 OK data , got 3903 Error append data the contents of my usb disk: drive0 loaded0 loaded2 loaded4 lost+found vchanger_0006_0003 vchanger_0006_0005 index loaded1 loaded3 loaded5 vchanger_0006_0002 vchanger_0006_0004 vchanger_0006_0006 What could be wrong with my configuration? thanks a lot fsy I backup to USB disk each day. I have a final job (priority 40, less than everything else) that executes a pre-job-script (whatever). I can share the script with you tomorrow. Please share it with the whole mailinglist. My fulls are now 2TB+ and run on the first Saturday of each month. I have moved to 4TB USB drives (room to grow). Mike Cheers Geert Stappers -- http://www.vanadcimplicity.com/ -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Web GUI showing last N jobs on tiles
Hello Bacula users, As a happy user of Bacula, the essential backup and restore solution, I now looking for graphical presentation software. Preferable webbased. What I would like have is a single picture that shows the exit status of all FD jobs being run the last N days. Ideal would be a wall with tiles where each tile contains the exit status. Either a row or a column foreach scheduled job. After N days ( each day a scheduled job ) is the status of N+1 days ago gone. When all jobs where succesfull is the wall complete green. A failing job on a FD will make a tile red. Continues failing job will make a column (or row) of tiles red. Clicking on a (red) tile should show more information about the Job. Repairing a FD job will get the wall complete green again. Looking at http://wiki.bacula.org/doku.php?id=3rd_party_addons didn't show software that allready has a wall overview. Who has allready such a wall of status tiles? Cheers Geert Stappers -- http://www.vanadcimplicity.com/ -- The Go Parallel Website, sponsored by Intel - in partnership with Geeknet, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials, tech docs, whitepapers, evaluation guides, and opinion stories. Check out the most recent posts - join the conversation now. http://goparallel.sourceforge.net/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Deleted (Old) Volumes/Clients Still Showing in Bacula
Op 20130130 om 17:38 schreef Humphrey Bryant: Hi All, I am running Bacula 5.2.12 on CentOS 6.2 storing my backups to Disk (fileStorage). I recently removed some bacula clients that no longer exists on my network from my bacual-dir.conf file but whenever i go to Bconsole and try to do a restore /backup i notice i still see the (Old) Clients that I have deleted in there. None of these Old Clients have never run a backup before on bacula; they were created as typos (incorrect names) when setting up bacula hence i want to get rid of them to ease the confusion. Also I Removed/Purged some Volumes from bacula but when i go to Bconsole and run list volumes i still see the old volumes there even though i purged, volume delete and remove (rm -rf) the file from the server. These volumes still show up with no info attached to them. How can i remove these stale (Old) Client/Volume info from Bacula? AFAIK it is something along select ClientId, Name from Client order by ClientId ; delete from Client where Name = 'your_no_longer_existing_client' ; Yes, those are database actions. They can be performed from `bconsole` with the command `sqlquery`. Cheers Geert Stappers -- http://www.vanadcimplicity.com/ -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula deficiency
Op 20130205 om 19:16 schreef Conrad Lawes: No, I don't use JobDefs. I'll do some research on JobDefs to see how useful this option can be. Thanks for the pointer. That posting with the pointer had, and this posting has more hints: Reply below the text. On 2013-02-05 10:44, Conrad Lawes wrote: I wish to run an offsite backup to tape on the last Friday of each month. Bacula provides 1st-5th day of the week option. Although, most months contain only 4 Fridays, some contain 5 (last January for example). Bullshit. There was no fifth friday in January 2013. | $ LANG=C cal 1 2013 | January 2013 | Su Mo Tu We Th Fr Sa |1 2 3 4 5 | 6 7 8 9 10 11 12 | 13 14 15 16 17 18 19 | 20 21 22 23 24 25 26 | 27 28 29 30 31 Stappers in a rude request to have 1-to-many-posting, e.g. mailinglist, in the discussion order. -- Free Next-Gen Firewall Hardware Offer Buy your Sophos next-gen firewall before the end March 2013 and get the hardware for free! Learn more. http://p.sf.net/sfu/sophos-d2d-feb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] From 5.0.2 to 5.2.6
Op 20130130 om 11:31 schreef Mauro Colorio: Hi folks, I'm migrating from bacula 5.0.2 to 5.2.6, this due the migration from debian squeeze to debian wheezy, for the 5.0.2 i got a separated mysql server now I want to install on the same server, so my wonted migrating steps are: install a fresh debian with 5.2.6 and configure to work with a mysql installed locally, dump the bacula db from 5.0.2 and restore on the new local mysql, run the upgrade mysql's scripts, done. Those are the right steps. I'm missing something? Maybe the courage to actual do it? Or this E-mail this that tells: Feel free how it went. The mailinglist archive loves it!? tanks in advance missing h ;-) ciao Mauro Groeten Geert Stappers -- http://www.vanadcimplicity.com/ -- 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_jan ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Registration on bugtracker
Op 20130108 om 11:35 schreef Uwe Schuerkamp: On Tue, Jan 08, 2013 at 10:45:33AM +0100, Jean-Louis Dupond wrote: Hi, I'm trying to register on http://bugs.bacula.org, everything seems to work fine, but the system doesn't seem to send an email. So i'm unable to create a new account to report some bugs/request. Could some admin checkout the bugtracker system? Same here, tried to register a month ago or so but never heard anything back. Mmmm, memories of not being able to recover a bacula mantis account are recalling ... -- 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_jan ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] windows enterprise is not working, x32/x64.
Op 20130116 om 15:56 schreef Simone Caronni: On 16 January 2013 15:47, lst_ho...@kwsoft.de wrote: Zitat von Jean-Louis Dupond jean-lo...@dupond.be: Could you check what http://artemis.dupie.be/bacula-win64-5.2.12.exe does? :) Is there any chance to get a detailed description how you setup the build environment? Yes, please! +1 -- 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_jan ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] remove source files
Op 20130128 om 17:51 schreef exeral: I would like to do something similar to rsync --remove-source-files option with bacula. So delete what was backuped ... Let's say à Job with Client Run Before Job = a script which dump some databases to /destination when the job is finished with Client run after job = a script which delete all the dumps that were created and backed up successfully I could just run after job rm -rf /destination/* but it's safer to delete an explicit list of files processed in Job. is there any solution to get the file list of files that were processed in job. %F = Job Files is only the number of files :( There %i, Job Id. Say it has value 1337, you can do echo list files JobId=1337 | /etc/bacula/scripts/bconsole | sed -e 's/^| //' -e 's/ *|$//' Cheers Geert Stappers -- http://www.vanadcimplicity.com/ -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Windows Support?
Op 20130109 om 21:01 schreef pedro moreno: I had seen the news about the enterprise binaries for windows, need them, is not to expensive no issue, my question is simple: Once I start using the windows binaries, I need to contact them for support or this list is still open for help for windows clients? My first reaction was: Don't ask to ask, just ask. And to get good replies, it is wise to read http://catb.org/~esr/faqs/smart-questions.html Thanks!!! It is a pleasure to create awareness about eternal september ( http://en.wikipedia.org/wiki/Eternal_september ) Cheers Geert Stappers -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnmore_122712 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] director fails with undefined symbol: mysql_thread_safe
Op 20121231 om 04:50 schreef Jeff Dickens: On Sun, Dec 30, 2012 at 10:24 PM, Jeff Dickens j...@seamanpaper.com wrote: On Sun, Dec 30, 2012 at 9:50 PM, Jeff Dickens j...@seamanpaper.com wrote: I just built 5.2.12 on Ubuntu 12.04, ignoring one error during configure: bpluginfo.c:50:24: fatal error: fd_plugins.h: No such file or directory Configure flags were just ./configure --with-mysql. When I try to start the director it fails as follows: # /sbin/bacula-dir -f -c /etc/bacula/bacula-dir.conf /sbin/bacula-dir: symbol lookup error: /usr/lib/libbaccats-5.2.12.so: undefined symbol: mysql_thread_safe Any ideas ? What should I look at first? ( untested commands: ) sudo aptitude install devscripts debcheckout bacula cd bacula dpkg-checkbuildpedens My guess that it will reveal missing build dependencies such as libmysqlclient-dev Further advice: execute, in the directory where you have the debcheckout bacula, fakeroot debian/rules binary That will build, should build, the bacula .debs. Take that working configuration as starting point for your 5.12.2 adventure. Feel free to share your experience. Cheers Geert Stappers -- knock knock Who is it? Merry Marry who? Merry Christmas! -- Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. SALE $99.99 this month only -- learn more at: http://p.sf.net/sfu/learnmore_122412 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Microsoft Windows Binaries
Op 20121217 om 22:39 schreef lst_ho...@kwsoft.de: Zitat von Kern Sibbald k...@sibbald.com: } [Quarterly Bacula Status Report, december 2012] 5. Getting Bacula Windows Binaries As you are probably aware, because of the work involved, the community Windows File daemon binaries are no longer produced by the Bacula project. As an an alternative, I proposed to Bacula Systems to offer their Windows Enterprise binaries as a service to the Community. They agreed, and have chosen a price that is designed to simply cover the costs of producing and distributing those binaries. You can now obtain these Bacula Enterprise Windows binaries from Bacula Systems SA by clicking on the following link http://www.baculasystems.com/windows-binaries-for-bacula-community-users. These binaries allow you to continue using the Bacula community version, while keeping Bacula well integrated into your Windows environment. These binaries contain the Windows File daemons only. As was previously the case for the Community binaries, the Windows Storage daemon and Director are not provided. Installers for both 32 and 64 bit binaries is included in the offer. The extra Enterprise Windows plugins are in separate packages and are not part of this offering. The support for any problems will be handled through the Community Bugs database. Hello two questions about the Windows binaries: - Is it correct that the fee is intended for the right of 90 days downloads/updates? - Is it possible to get something other than PayPal for payment and list the payment options at start? FWIW: PayPal solves some of the artificial problems of international money transfer. There was a time of troublesome international money transfer, but those where the days before the Internet. Cheers Geert Stappers -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] strange build error on OpenIndiana
Op 20121211 om 23:53 schreef Boris Epstein: Hello all, I am trying to build Bacula 5.2.12 on OpenIndiana 11 with PostgreSQL 9 as the DB engine. After I ran: ./configure --with-postgresql and make I get the following: -- *** Error code 1 The following command caused the error: /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti conio.c make: Fatal error: Command failed for target `conio.o' Current working directory /opt/bacula/bacula-5.2.12/src/console == Error in /opt/bacula/bacula-5.2.12/src/console == *** Error code 1 The following command caused the error: for I in src scripts src/lib src/findlib src/filed src/console src/plugins/fd src/cats src/dird src/stored src/tools manpages; \ do (cd $I; echo ==Entering directory `pwd`; \ make DESTDIR= all || (echo ; echo ; echo == Error in `pwd` === ===; \ echo ; echo ; exit 1;)); \ done make: Fatal error: Command failed for target `all' -- Any idea what I may be doing wrong? FWIW there was a few weeks (months?) ago also posting about OpenIndiana build. AFAIR got it a reasonable response. Search the archive for the details. HTH Groeten Geert Stappers -- http://www.vanadcimplicity.com/ -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] unsubscribe
Op 20121206 om 01:16 schreef John Drescher: unsubscribe I think you need to follow the link that can be found at the bottom of every list email to do that. Another option is to E-mail to the addresss bacula-users-requ...@lists.sourceforge.net Both options are in the E-mail headers of each message that goes through the mailinglist server. And this time also in the message body: List-Unsubscribe: https://lists.sourceforge.net/lists/listinfo/bacula-users, mailto:bacula-users-requ...@lists.sourceforge.net?subject=unsubscribe Cheers Geert Stappers sysadmin -- http://www.vanadcimplicity.com/ -- LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial Remotely access PCs and mobile devices and provide instant support Improve your efficiency, and focus on delivering more value-add services Discover what IT Professionals Know. Rescue delivers http://p.sf.net/sfu/logmein_12329d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Reporting Restore JOB Results
Op 20121125 om 17:12 schreef Isamar Maia: Hi Folks, I am looking for a way to list the files recovered and the server name of a Restore JOB ID. In a first look, I couldn't find that info anywhere. Not in database neither in the log files.. Any tips ? echo list files JobId=1337 | /etc/bacula/scripts/bconsole | sed -e 's/^| //' -e 's/ *|$//' where '1337' is the job ID of the restore request. Cheers Geert Stappers -- http://www.vanadcimplicity.com/ -- Keep yourself connected to Go Parallel: INSIGHTS What's next for parallel hardware, programming and related areas? Interviews and blogs by thought leaders keep you ahead of the curve. http://goparallel.sourceforge.net ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Exclude files leads to an empty backup
Op 20121120 om 11:35 schreef Julien Cochennec: On 19/11/2012 10:12, Julien Cochennec wrote: On 13/11/2012 00:14, Dan Langille wrote: Try installing a 5.0.1 client. Ok, done, but the problem is still the same. I had to compile it. Ain't there any archive repository where I can find those? Anyway the problem hasn't changed, still no data althought the directory exists. Any Idea? Anyone? No idea? http://catb.org/~esr/faqs/smart-questions.html -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Ownership of restores
Op 20121115 om 14:07 schreef Christoph Litauer: Am 13.11.2012 um 09:09 schrieb Geert Stappers geert.stapp...@vanadgroup.com: Op 20121112 om 13:55 schreef Christoph Litauer: Yes, I am restoring to the same server the backup was taken from. Parts of the restore got the correct user and group mapping ... Could it be that Samba or another file ownership remapping technique is involved? If so, goes a restore the same way back, as a backup came? no, the server is a SuSE Enterprise Linux running the bacula-fd. No samba etc. involved. Data goes same way there and back. Parts of the data is restored with correct ownership and there is no different handling on the erroneous restored data. Okay. And now is this interresting problem back on the mailinglist. Cheers Geert Stappers -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] How to specify drive of Autochanger?
Op 20121116 om 07:37 schreef Wolfgang Denk: John Drescher wrote: However, no matter what I enter at the prompt Enter autochanger drive[0]:, the director will always send a command to access drive index 0. Where do you get this prompt? I have never ever been asked this and I have had an autochanger at work since 2006 and I used it with bacula from the start since I was already using bacula for years before I got the changer.. It's when running a mount command on bconsole: This is the full output: *mount The defined Storage resources are: 1: File 2: LTOLIB 3: LTO3-0 4: LTO3-1 5: ltos_temp 6: SLR100-0 7: SLR100-1 8: SLR100-2 9: DDS-3 Select Storage resource (1-9): 2 Connecting to Storage daemon LTOLIB at ltos.denx.de:9103 ... Enter autochanger drive[0]: 1 Why '1'? With what does it match? With what _should_ it match? Below is told what is _wanted_ c.q. what is _desired_. Enter autochanger slot: 25 3304 Issuing autochanger load slot 25, drive 0 command. 3305 Autochanger load slot 25, drive 0, status is OK. 3001 Mounted Volume: INC000L3 3001 Device LTO3-0 (/dev/tape/by-id/scsi-35000e11802947001-nst) is mounted with Volume INC000L3 Note that already the 3304 Issuing autochanger load slot 25, drive 0 command. is incorrect, it should have drive 1 instead. I assume it is allready wrong before the 'Enter autochanger drive[0]:' prompt that John Drescher is warning about. I do read it as Confirm autochanger drive[0]: prompt. HtH Geert Stappers -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Ownership of restores
Op 20121112 om 13:55 schreef Christoph Litauer: Am 12.11.2012 um 11:35 schrieb Kleber Leal kleber.l...@gmail.com: Em 12/11/2012 06:32, Christoph Litauer lita...@uni-koblenz.de escreveu: Dear bacula users, Hello Mailinglist, Feel comfortable while reading in the discussion order. I am using bacula backups for some years now. Great system! I nearly never had problems to restore something ... For some time now, parts of my restores have the wrong ownership. Example: baculas restore command lists: $ dir drwxr-xr-x 6 litauer 1050 83 2012-11-09 10:25:23 /export/profiles2/Win2K/litauer/Application Data/ drwxr-xr-x 2 litauer 10504096 2012-11-09 10:25:23 /export/profiles2/Win2K/litauer/Cookies/ drwxr-xr-x 2 litauer 1050 6 2012-11-09 10:25:23 /export/profiles2/Win2K/litauer/Desktop/ drwxr-xr-x 4 litauer 1050 61 2012-11-09 10:25:23 /export/profiles2/Win2K/litauer/Favorites/ drwxr-xr-x 2 litauer 1050 22 2012-11-09 10:25:23 /export/profiles2/Win2K/litauer/IETldCache/ drwxr-xr-x 4 litauer 1050 46 2012-11-09 10:25:23 /export/profiles2/Win2K/litauer/My Documents/ -rwxr--r-- 1 litauer 1050 2097152 2012-11-09 10:25:22 /export/profiles2/Win2K/litauer/NTUSER.DAT 1050 is group employee. When I restore these files, I get drwxr-x--x 6 rootbacula83 Nov 12 10:03 Application Data drwxr--r-- 2 litauer employee4096 Nov 12 10:03 Cookies drwxr-xr-x 2 litauer employee 6 Mar 30 2006 Desktop drwxr-x--x 4 rootbacula61 Nov 12 10:03 Favorites drwxr--r-- 2 litauer employee 22 Nov 12 10:03 IETldCache drwxr-xr-x 4 litauer employee 46 Nov 12 10:03 My Documents -rwxr--r-- 1 litauer employee 2097152 Nov 9 10:25 NTUSER.DAT As you can see, some directories belong to root/bacula. The restore log stated Restore OK ... Hi Christoph, Are you restoring on the same server you got the backup? If not, you should have to keep the uid and gid across all servers to have the same user and group mapping when copying files preserving ownerships. Kleber Leal Hi Kleber, thanks for your response. Yes, I am restoring to the same server the backup was taken from. Parts of the restore got the correct user and group mapping ... Could it be that Samba or another file ownership remapping technique is involved? If so, goes a restore the same way back, as a backup came? Cheers Geert Stappers -- http://www.vanadcimplicity.com -- Monitor your physical, virtual and cloud infrastructure from a single web console. Get in-depth insight into apps, servers, databases, vmware, SAP, cloud infrastructure, etc. Download 30-day Free Trial. Pricing starts from $795 for 25 servers or applications! http://p.sf.net/sfu/zoho_dev2dev_nov ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backup only $( find /var/log -type d )
Op 20121017 om 10:16 schreef lst_ho...@kwsoft.de: Zitat von Geert Stappers geert.stapp...@vanadgroup.com: Hello Bacula Users, Where I don't want to backup logfiles, I do want to restore empty log directory trees. How to define a FileSet that matches find /var/log -type d You might try a wildfile directive which matches *all* files for exclusion. As it should only be applied to files the directories should not be affected. I couldn't write that into a file set definition. My efforts would bring me all the log files :-( | *estimate job= | Using Catalog MyCatalog | Connecting to Client ***-fd at :9102 | 2000 OK estimate files=684277 bytes=47,077,206,076 | *reload | *estimate job= | Using Catalog MyCatalog | Connecting to Client ***-fd at :9102 | 2000 OK estimate files=685768 bytes=50,348,262,388 Also I did spend time on another approach. It involves an action at client side. In the bash shell I did for D in $( find /var/log -type d ); do echo but not all the log files in it $D/.restorethislogdirectory; do The result is like | # find /var/log -name .restorethislogdirectory | tail -n 6 | /var/log/pm/.restorethislogdirectory | /var/log/cups/.restorethislogdirectory | /var/log/news/.restorethislogdirectory | /var/log/httpd/.restorethislogdirectory | /var/log/puppet/.restorethislogdirectory | /var/log/prelink/.restorethislogdirectory And at Bacula server side had I a fileset like | FileSet { Name = rootbootvar | Include { | Options { | signature = MD5 | } | File = / | File = /boot | File = /var | File = /var/spool/cron | } | Exclude { | File = /proc | File = /tmp | File = /var/log | File = /var/spool | File = /.journal | File = /.fsck | } | } And did change that into | FileSet { Name = rootbootvar | Include { | Options { | signature = MD5 | } | File = / | File = /boot | File = /var | File = /var/spool/cron | } | Exclude { | Options { | Exclude = no | Wild = /var/log/*/.restorethislogdirectory | } | File = /proc | File = /tmp | File = /var/log | File = /var/spool | File = /.journal | File = /.fsck | } | } But with no effect. Other attempts with | Wild = /var/log/*/.restorethislogdirectory couldn't persuade Bacula to backup those hidden files. More hints how to get /var/log directories during restore are very welcome Cheers Geert Stappers -- http://www.vanadcimplicity.com/ -- 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_sfd2d_oct ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restricting who can restore data from which system to where
Op 20121019 om 18:13 schreef Martin Simmons: On Wed, 17 Oct 2012 17:24:06 +0200, said: To solve things, I've tried setting ACL's in the Console statement like this: Console { Name = Almond Password = ClientACL = Almond StorageACL = Almond_Storage PoolACL = Almond_Pool } But this doesn't work. I thought this would limit the client as defined in Client { Name= Almond.} to access only the listed storage and pools (which would be great, as almond has it's own reserved pool), but it doesn't do that. I think I may be interpreting the manual the wrong way. I've googled and found several other people asking the same question, but no working answers. The Console statement in bacula-dir.conf isn't designed to match a named Client statement. You need to put a special bconsole.conf on the client, so that it uses the Console directive in the bacula-dir.conf. See the restricted-user examples here: http://www.bacula.org/5.2.x-manuals/en/main/main/Console_Configuration.html __Martin To cover the I can even create my own /etc/passwd and /etc/shadow on my own system “pine”,with my passwords for known accounts, make a backup of it, then use the above method to “restore” it to the almond server, thereby disallowing authorized users (as their accounts will be gone) and allowing myself access (as I have all users/passwords). I want to add http://www.bacula.org/5.2.x-manuals/en/main/main/New_Features_in_5_0_0.html to this thread, where | Read-only File Daemon using capabilities | | This feature implements support of keeping ReadAll capabilities | after UID/GID switch, this allows FD to keep root read but drop write | permission. | | It introduces new bacula-fd option (-k) specifying that ReadAll | capabilities should be kept after UID/GID switch. | | root@localhost:~# bacula-fd -k -u nobody -g nobody | | The code for this feature was contributed by our friends at AltLinux. is said. Cheers Geert Stappers -- http://www.vanadcimplicity.com -- 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_sfd2d_oct ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Backup Job doesn't get executed
Op 20121017 om 17:15 schreef Jürgen Ecker: Hallo, Hello in english, Ich habe hier ein seltsames Problem. Sobald ich den bacula-director Dienst neustarte führt mir Bacula keine Jobs mehr aus. Translated: No jobs are executed after director restart. Wenn sie abgebrochen würden, dann hätte ich wenigstens einen Anhaltspunkt, aber so ist leider überhaupt nichts ersichtlich. Auch das Log liefert mir keinerlei Infos. Erst nach einem Serverneustart werden wieder Jobs ausgeführt. Ich hatte schon eine Dienstabhängigkeit in Verdacht, konnte aber auch hier nichts entdecken. Strange, but it made me curious. I would like to get more information about it. You allready told that the bacula logging didn't provide clue to you. Could it be that you only checked for job errors? I wonder if there are other warning and/or errors, such as unable to reconnect to database When in 'bconsole' * What is the output of 'show jobs' * What is the output of 'status director' Es handelt sich hier um ein Ubuntu 12.04 LTS mit Bacula 5.0.2-2.2+squeeze1. Habe auch schon die neuste Version 5.2.6 aus den Sourcen kompiliert, aber das Problem besteht weiterhin. Hat schon jemand die gleichen Erfahrungen gesammelt? If so, then it would be reported in english. Gruß Jürgen Groeten Geert Stappers Native Dutch -- 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_sfd2d_oct ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Connection reset by peer
Op 20121016 om 10:35 schreef Константин Поветкин: Hi, all! Hello again, After a while backup job reports: Socket error. Err = Connection reset by peer. I`ve read http://wiki.bacula.org/doku.php?id=faq#my_backup_starts_but_dies_after_a_while_with_connection_reset_by_peer_error and comments on this mail list. Both FD and DIR are in one broadcast domain and one collision domain( there is no router between hosts ). File daemon is on Windows 2003 x86. What reasons could lead to such behaviour? Enable (more) logging in the File daemon. Cheers Geert Stappers P.S. Please avoid opening a third thread about the same issue. (this e-mail is in thread #2, #1 is about ten days old) -- 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_sfd2d_oct ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Backup only $( find /var/log -type d )
Hello Bacula Users, Where I don't want to backup logfiles, I do want to restore empty log directory trees. How to define a FileSet that matches find /var/log -type d ?? Cheers Geert Stappers -- 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_sfd2d_oct ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Running several jobs at a time
Op 20121015 om 09:48 schreef Marek Šimon: Od: Geert Stappers geert.stapp...@vanadgroup.com Odeslané: Středa, 10. Říjen 2012 9:00:46 Op 20121008 om 23:32 schreef lst_ho...@kwsoft.de: Zitat von Константин Поветкин povet...@kuz.com.ua: Please give me an example, if it`s possible, how to make bacula to run several jobs at a time. How is it possible to check if jobs are executing concurrent? Current config of my bacula-dir instance: snip/ Current config of my bacula-sd instance: snip/ snip set priority /snip Back to: How is it possible to check if jobs are executing concurrent? I don't understand that question. Perhaps should I read it as: How to create a denial-of-service attack with my bacula clients on my bacula server? And how to check the current attack count? I think that You need to take sure that the jobs have the same Priority. could help with doing stupid things. However to make the DoS attack succeed, is more needed. Like making several definitions of the same storage deamon and hope that the Bacula schedular eats the bait. In other words: When are more concurrent jobs then just one backup job wanted? I dont understand why having concurent jobs is wrong. I think that replying below the text, could have avoided the word 'wrong'. I have tens of clients, hundereds of jobs. The clients are on slower lines than the storage daemon, and when Incremental job is on, the traffic is nearly zero. My director with storage daemon can manage about 20 concurent jobs. The load is higher but now DOS at all. Good for you. And it is up to you what happens when the lines to clients get faster. Okay, meanwhile I see use cases for more concurrent jobs. With some luck will the next posting in this thread start with a line like and actually answer it. How is it possible to check if jobs are executing concurrent? Cheers Geert Stappers -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Running several jobs at a time
Op 20121010 om 09:39 schreef lst_ho...@kwsoft.de: Zitat von Geert Stappers geert.stapp...@vanadgroup.com: Back to: How is it possible to check if jobs are executing concurrent? I don't understand that question. Perhaps should I read it as: How to create a denial-of-service attack with my bacula clients on my bacula server? And how to check the current attack count? I think that You need to take sure that the jobs have the same Priority. could help with doing stupid things. However to make the DoS attack succeed, is more needed. Like making several definitions of the same storage deamon and hope that the Bacula schedular eats the bait. In other words: When are more concurrent jobs then just one backup job wanted? If the clients are compareable slow and the server is able to handle the throughput from more than one client concurrently? Okay. And let us _assume_ that it does scale. What is wrong with well balanced concurrency? The time spend on balancing. Cheers Geert Stappers who chooses robust above well balanced -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Running several jobs at a time, show priority
Op 20121011 om 11:24 schreef Radosław Korzeniewski: 2012/10/10 Geert Stappers geert.stapp...@vanadgroup.com Is there a more conviened way to see priorities for jobs then to check then one after one in bconsole? Use: show jobs in bconsole and you'll get all available information about all defined jobs. You can limit this by: show job=jobname. Thanks. With a command line like echo show jobs | /etc/bacula/scripts/bconsole | grep ^Job I get lines like Job: name=c1job JobType=66 level=Incremental Priority=10 Enabled=1 Job: name=c2job JobType=66 level=Incremental Priority=10 Enabled=1 Cheers Geert Stappers -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Running several jobs at a time
Op 20121008 om 23:32 schreef lst_ho...@kwsoft.de: Zitat von Константин Поветкин povet...@kuz.com.ua: Please give me an example, if it`s possible, how to make bacula to run several jobs at a time. How is it possible to check if jobs are executing concurrent? Current config of my bacula-dir instance: snip/ Current config of my bacula-sd instance: snip/ You need to take sure that the jobs have the same Priority. To check use Bat or the bconsole. Is there a more conviened way to see priorities for jobs then to check then one after one in bconsole? | *run job=c1job | Run Backup job | JobName: c1job | Level:Incremental | Client: c1-fd | FileSet: rootboothomevar | Pool: Default (From Job resource) | Storage: File (From Job resource) | When: 2012-10-10 08:12:08 | Priority: 10 | OK to run? (yes/mod/no): . | Job not run. Back to: How is it possible to check if jobs are executing concurrent? I don't understand that question. Perhaps should I read it as: How to create a denial-of-service attack with my bacula clients on my bacula server? And how to check the current attack count? I think that You need to take sure that the jobs have the same Priority. could help with doing stupid things. However to make the DoS attack succeed, is more needed. Like making several definitions of the same storage deamon and hope that the Bacula schedular eats the bait. In other words: When are more concurrent jobs then just one backup job wanted? Cheers Geert Stappers -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problems with make-mysql-tables script
Op 20121004 om 22:12 schreef George Sokolov: Here is the error message: ERROR 1064 (42000) at line 415: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '@)' at line 1 Creation of MySQL tables succeeded. Line 415 from make_mysql_tables script : JobId integer NOT NULL, The script was taken from latest Bacula release. I'm using this command, when I running the script - ./make_mysql_tables -p screenshot $ find bacula/ -name 'make_mysql*'bacula/bacula/src/win32/cats/make_mysql_catalog_backup.cmd bacula/bacula/src/win32/cats/make_mysql_tables.sql bacula/bacula/src/win32/cats/make_mysql_tables.cmd bacula/bacula/src/cats/make_mysql_tables.in $ awk '{print NR, $0}' bacula/bacula/src/cats/make_mysql_tables.in | grep --context 5 ^414 409 ON PathHierarchy (PPathId); 410 411 CREATE TABLE PathVisibility 412 ( 413 PathId integer NOT NULL, 414 JobId integer NOT NULL, 415 Size int8 DEFAULT 0, 416 Files int4 DEFAULT 0, 417 CONSTRAINT pathvisibility_pkey PRIMARY KEY (JobId, PathId) 418 ); 419 CREATE INDEX pathvisibility_jobid $ head -n 15 bacula/bacula/src/cats/make_mysql_tables.in #!/bin/sh # # shell script to create Bacula MySQL tables # # Important note: # You won't get any support for performance issue if you changed the default # schema. # bindir=@MYSQL_BINDIR@ PATH=$bindir:$PATH db_name=${db_name:-@db_name@} if mysql -D ${db_name} $* -f END-OF-DATA -- -- Note, we use BLOB rather than TEXT because in MySQL, /screenshot FWIW: To me it is unclear want matches to } ERROR 1064 (42000) at line 415: You have an error in your SQL syntax; } check the manual that corresponds to your MySQL server version for } the right syntax to use near '@)' at line 1 Cheers Geert Stappers -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Basic questions on bacula usage.
Op 20121008 om 09:11 schreef Константин Поветкин: Hi, everybody! 1. I have a problem with storage manager. There are some long-playing jobs( databases backup ). All machines are Windows 2003, one is x86, two are x86_64. These jobs always end with error: “Socket error, ERR = connection timed out”. I think there is a firewall blocking bacula network ports. 2. Is there any method to make bacula to run several jobs at a time? Yes. Please elaborate seperate questions is an seperate thread. Stick to the rule that the Subject line matches the message body. Cheers Geert Stappers -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] console messages
Op 20121003 om 15:05 schreef Dan Langille: On 2012-09-28 07:00, Gary Stainburn wrote: I don't log into bconsole for maybe a week at at time and when I do I'm usually messing about with config settings. I tend to always run 'auto on' as the first command but can sometimes have to wait over 5 minutes for a week's worth of log entries to scroll up my screen. Is there a way to limit the entries displayed to say the last 4 hours, or the last 1000 lines? You could truncate the old log. Look for bacula-dir.conmsg in the bacula-dir working directory I have no idea of the repercussions of doing this. Here a less evil trick, execute from shell echo messages | /etc/bacula/scripts/bconsole /dev/null Put it in a cronjob that runs at night to have each moring a (nearly) empty message buffer. Cheers Geert Stappers -- http://www.vanadcimplicity.com/ -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Simultaneousky backup to local HDD and Amazon S3
Op 20121005 om 05:18 schreef Pubudu Perera: On Fri, Oct 5, 2012 at 7:05 AM, John Drescher wrote: On Thu, Oct 4, 2012 at 8:59 PM, Pubudu Perera wrote: Hello everyone, I'm a newbie to Bacula and want to verify whether my requirement can get done using bacula. I want to know whether it's possible to simultaneously make backups to local HDD and Amazon S3 from the same source in Bacula. Can someone please help me with this? I would backup to the local drive then mirror that with rsync to S3 via s3fs fuse. So, that means there's no way to does the job simultaneously ? How I understond the original question: How to make Bacula to write a backup to 2 different devices at the same time? The sollution should handle the difference in transfer speed. I agree with John Drescher * Have an inner smile * Confirm seeing the question with a response * Provide a suggestion that has the same end result * Allow people the read in the discussion order Things I want to add: * The rsync to the second device could be an AfterJobCommand * Repeat in caps REPLY BELOW THE TEXT Cheers Geert Stappers -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Network error with FD during Backup: ERR=Connection reset by peer
Op 20121002 om 12:15 schreef DAHLBOKUM Markus (FPT INDUSTRIAL): bigsnip/ I have added the heartbeat interval on all daemons, but no change. The _all_ deamons involved is important. bigsnip/ Markus I now could check if bacula fd to sd connection timed out because of the network switches. This was not the case. My job still cancels. What I did now was to check if the heartbeat is really working. So I installed wireshark and tracked my network connections. I see my traymonitor connecting every 5 sec to dir, sd and fd. But I can’t see any heartbeat between my two servers. There should be something every 5 sec, too. Can someone tell me how and when the heartbeat should occur? AFAIK is it a keep alive signal, which is needed when there is no data transfer. That idle occurs shortly afther job start. It is when the file deamon is searching / collecting the files that the bacula-dir requested. Is it active when no job is running? No, it comes only in action during a job's idle time. Heartbeat is silent when there no interaction with a bacula-fd. In my config I set the following line for dir, sd and fd: Heartbeat Interval = 5 This should result in a heartbeat every 5 sec? Could be. I imagine that there _could be_ a minimal (usefull) interval, say twenty seconds. That 20 is a value I made up to illustrate why the heartbeat isn't visible every five seconds by Wireshark. In our Bacula configuration did the addition 'Heartbeat Interval = 60' solve time out issues. I had no need to sniff them. I’m thankful for every help I can get. Regards, Markus Cheers Geert Stappers -- http://www.vanadcimplicity.com/ -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] compilation failure on OpenIndiana
Op 20121001 om 17:59 schreef Boris Epstein: Hello all, I've got an OpenIndiana machine (SunOS 5.11) on which I am trying to compile Bacula 5.2.12 with Postgres support. As I go along it fails at the following juncture: *** Error code 1 The following command caused the error: /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. -g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti conio.c make: Fatal error: Command failed for target `conio.o' Current working directory /home/bepstein/soft/bacula/bacula-5.2.12/src/console == Error in /home/bepstein/soft/bacula/bacula-5.2.12/src/console == *** Error code 1 The following command caused the error: for I in src scripts src/lib src/findlib src/filed src/console src/plugins/fd src/cats src/dird src/stored src/tools manpages; \ do (cd $I; echo ==Entering directory `pwd`; \ make DESTDIR= all || (echo ; echo ; echo == Error in `pwd` === ===; \ echo ; echo ; exit 1;)); \ done make: Fatal error: Command failed for target `all' Any idea why this happens or how to fix it? Not at once for me. My approach would be cd /home/bepstein/soft/bacula/bacula-5.2.12/src/console /usr/bin/g++ -c -fno-strict-aliasing -fno-exceptions -fno-rtti -I. -I.. \ -g -O2 -Wall -fno-strict-aliasing -fno-exceptions -fno-rtti conio.c The idea is to get information why 'g++' fails, going beyond / behind / deeper then only getting an error from 'make' Hope this helps. Cheers Geert Stappers -- http://www.vanadcimplicity.com/ -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] compilation failure on OpenIndiana
Op 20121002 om 14:48 schreef Martin Simmons: On Tue, 2 Oct 2012 07:15:57 -0400, Boris Epstein said: I was thinking along the same lines. All I got was some message about repetitive function definitions - none of them anything I could recognize or easily make sense of. Could be a name clash, but you should obviously post the full error message output, not a vague description of it. True. Cheers Geert Stappers Who assumed that Boris is posting the compile errors to another forum, such as the bacula developers mailing list or an OpenIndiana M.L.. -- Don't let slow site performance ruin your business. Deploy New Relic APM Deploy New Relic app performance management and know exactly what is happening inside your Ruby, Python, PHP, Java, and .NET app Try New Relic at no cost today and get our sweet Data Nerd shirt too! http://p.sf.net/sfu/newrelic-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Extremely Slow Performance on VMware
Op 20120928 om 20:38 schreef Rodrigo Abrantes Antunes: Citando Rodrigo Abrantes Antunes rodrigoantu...@pelotas.ifsul.edu.br: Citando Geert Stappers geert.stapp...@vanadgroup.com: Rodrigo Abrantes Antunes: Director: 5.0.1-1ubuntu1 Storage: 5.0.1-1ubuntu1 FD: 5.0.1-1ubuntu1 (some clients have lower version) Database: mysqI OS: Ubuntu 10.04.4 x64 Server FC Storage 4 GBits/s. All my network is Gigabit Ethernet. Yes, and how is the further design? In others words: The provided list can read as One physical computer with fibre channel disk hosts all the VMs. } One physical computer, with fibre channel disk, hosts all the VMs. If it is so, then tell so. Otherwise eloborate the setup, the design. Back to During a backup I can see bacula-sd using 100% cpu, And where did you see the 100%? ( Which tool was used to read that performance valule? ) I would like to see the output of vmstat 2 5 during non-back-up-time and also the output of vmstat 2 5 during back-up-time. Thing I'm interrested in, are the CPU columns. Especial the colums system and wait. screenshot $ vmstat 2 3 procs ---memory-- ---swap-- -io -system-- cpu r b swpd free buff cache si sobibo in cs us sy id wa 0 0 6712 11360 192584 15912000 5 46 11 5 6 90 0 0 0 6712 11344 192584 15912000 0 0 67 342 7 15 79 0 0 0 6712 11344 192584 15912000 0 0 65 340 8 14 78 0 /screenshot And to avoid an extra e-mail exchange: I'm asking for 2 to the power 3, so 8 measurements. So 2 moments (during backup or outside backup) on 2 Bacula compoments ( storage deamon and file deamon ) on the VMs on 2 physical hosts. Yes, that means that I assume the VMware hosts have a 'vmstat' command. That is because I'm not familair with VMware, I'm from the Xen world :-) I have a physical machine that is a Vmware ESX node wich hosts only one vm, the one with bacula-director, bacula-sd and bacula-fd (called bacula-server), this vm has an RDM with the fibre channel storage where the volumes partition is mounted. Then I have all my clients (some are physycal machines and others are vms in other ESX nodes) with bacula-fd that are backed up. When I manually run a job to backup one of these clients in bacula-server I can see (with the command htop) that bacula-sd is using 100% of the cpu, I also noted that the backup starts at around 4MB/s and What I see for the 'htop' over here, is that there seen to be information in the color of cpu usage. It would interresting to see how 100% CPU usage is divide in system, user and I/O wait. after some time it is around 300KB/s. If I simple send the same files to be backed up with scp for example the transfer goes around 100MB/s. The vms don't have vmstat, I use linux own commands. AFAIK is 'vmstat' default installed on every Linux and Unix system. One thing I noted now, in the vm htop says that 100% cpu is used and actually the machine is very slow when backing up so I think this value is accurate but in VSphere Client in the performance chart it says that the vm is using only 400Mhz of the 5000Mhz that were allocated, but the node cpu usage is low so I don't know why it isn't aloccating more MHZ to the bacula-server. How VMware allocates CPU cycles to VMs is beyond my current knowledge (and off-topic on the bacula user mailinglist ) I installed vmstat, I can't do vmstat during non backup time because it is currently backing up my mail server, about 200gb, it is doing this for almost 15h: vmstat 2 5 during backing-up on the bacula-server (director, storagedaemon) procs ---memory-- ---swap-- -io -system-- cpu r b swpd free buff cache si sobibo in cs us sy id wa 3 0 0 16576 15592 176327200105527 0 8 92 0 1 0 0 15916 15592 176396400 0 0 204 49 1 50 49 0 2 0 0 16812 15588 176299600 0 2 172 72 1 78 21 0 2 0 0 17820 15604 176734800 018 193 114 3 66 32 0 1 0 0 16296 15604 176992400 0 0 277 29 0 55 45 0 That is _not_ 100% CPU usage, there was at least 20% idle time. vmstat 2 5 during backing-up on the physical mail-server (filedaemon) procs ---memory-- ---swap-- -io -system-- cpu r b swpd free buff cache si sobibo in cs us sy id wa 0 0 16824 38496 143856 501942400454234 1 0 98 1 0 0 16824 30928 143868 502000400 336 434 1328 981 1 1 96 2 2 0 16824 35844 143868 502076800 458 116 1121 635 0 1 99 0 0 0 16824 32180 143876
Re: [Bacula-users] Extremely Slow Performance on VMware
Op 20120927 om 21:55 schreef Rodrigo Abrantes Antunes: Citando Davide Franco dfra...@dflc.ch: On Thu, Sep 27, 2012 at 7:04 PM, Rodrigo Abrantes Antunes wrote: Hi, I'm having extremely slow performance when backing up, a 10gb backup took around 3h. Where should I start looking? During a backup I can see bacula-sd using 100% cpu, memory usage is normal. My system is a vmware virtual machine with a cpu with two 2,5ghz cores and 2gb ram. The vm have a separate partition for the volumes using ext4 and mounted via RDM in a fc storage array with raid6. I tried mapping more cores and more ram for the vm with the same result so I don't think the problem is lack of resources. giving more informations like snip/ will give us more ideas to troubleshoot your problem. Director: 5.0.1-1ubuntu1 Storage: 5.0.1-1ubuntu1 FD: 5.0.1-1ubuntu1 (some clients have lower version) Database: mysqI OS: Ubuntu 10.04.4 x64 Server FC Storage 4 GBits/s. All my network is Gigabit Ethernet. Yes, and how is the further design? In others words: The provided list can read as One physical computer with fibre channel disk hosts all the VMs. If it is so, then tell so. Otherwise eloborate the setup, the design. One question: can vmware tools have any influence in this case? From what I know vmware tools is mainly for better graphics performance isn't it? I din't installed it. There could also be beter disk drivers. The virtio drivers come to mind. Back to During a backup I can see bacula-sd using 100% cpu, And where did you see the 100%? ( Which tool was used to read that performance valule? ) I would like to see the output of vmstat 2 5 during non-back-up-time and also the output of vmstat 2 5 during back-up-time. Thing I'm interrested in, are the CPU columns. Especial the colums system and wait. screenshot $ vmstat 2 3 procs ---memory-- ---swap-- -io -system-- cpu r b swpd free buff cache si sobibo in cs us sy id wa 0 0 6712 11360 192584 15912000 5 46 11 5 6 90 0 0 0 6712 11344 192584 15912000 0 0 67 342 7 15 79 0 0 0 6712 11344 192584 15912000 0 0 65 340 8 14 78 0 /screenshot And to avoid an extra e-mail exchange: I'm asking for 2 to the power 3, so 8 measurements. So 2 moments (during backup or outside backup) on 2 Bacula compoments ( storage deamon and file deamon ) on the VMs on 2 physical hosts. Yes, that means that I assume the VMware hosts have a 'vmstat' command. That is because I'm not familair with VMware, I'm from the Xen world :-) Cheers Geert Stappers -- http://www.vanadcimplicity.com/ -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup remote clients
Op 20120925 om 04:48 schreef Tim Dunphy: On Fri, Sep 21, 2012 at 3:48 AM, Geert Stappers wrote: Op 20120919 om 12:35 schreef Michael D. Wood: snip/ I would start reading up, has all the information to backup directories on the client (if I'm following your question exactly) http://www.bacula.org/5.2.x-manuals/en/main/main/What_is_Bacula.html http://www.bacula.org/5.2.x-manuals/en/main/main/index.html Another good read is http://catb.org/~esr/faqs/smart-questions.html Well it seems that a good perusal of the docs was all I need. I appreciate all your input but ultimately all I had to do was read, slow down and think about what I was doing and then.. SUCCESS!! |69 | beta.mydomain.com | 2012-09-24 21:55:37 | B| F | 265,960 | 7,766,476,900 | T | This is my remote client.. I'm so glad I got this worked out. The bacula command line environment rocks and I like it so much better than Amanda which is what I used to use. Yes, I'm also very content with Bacula. That is why I follow this mailinglist. And to make this mailinglist more effective, I provide postings that allow people to read in the discussion order. (reply below the text) Cheers Geert Stappers -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] More than one job per Windows client
Op 20120920 om 23:18 schreef Radosław Korzeniewski: 2012/9/20 lst_ho...@kwsoft.de Zitat von lst_ho...@kwsoft.de: Hello we try to do backups with two jobs in parallel for our Windows fileserver to get better throughput. Unfortunately both jobs start as expected, but only one proceed with VSS and saving the other simply waits for the first to complete. We have set the max concurrent jobs in the storage the director and the client config, so this should not be a problem. Is this even possible on Windows or are we limited to one save job? Not possible at all? No one tested? Or no one cares? Another option: The original poster's unacceptable limit is not a limit to others or it is a acceptable one. Would be really nice to know if it should be possible to run more than one backup job per machine. Hello, You have to ask developers. There are a mutex in the VSS code which limits a number of concurrent VSS jobs. I'm not sure why it is there. Is it a limitation of VSS or Bacula? FWIW: I would ask it more open, like: Hello, With the backup of Microsoft Windows servers I have (the feeling) to go through a bottle neck. So now I'm trying to create a parallel lane to get more throughput. and elaborate it with: we try to do backups with two jobs in parallel for our Windows fileserver to get better throughput. - Both jobs start as expected, but only one proceed with VSS and saving the other simply waits for the first to complete. We have set the max concurrent jobs in the storage the director and the client config, so this should not be a problem. Then come with smart questions like How is max concurrent jobs on a winbacula file deamon propagated into VSS? Whatelse beside max concurrent jobs is needed for doing parallel backup? My next step would be doing more research on _my_ problem. Even it fails, it gives other people more time to respond om my message. The good thing about it, is that it avoids a rude _same day_ I DEMAND A REPLY!. In the occasion of no reply from the mailing list, I would come back with the results of my research. Depending of the outcome I would post either I have the feeling that I'm building a second neck on the bottle. or If I'm asking for a second neck on the bottle, please say so. Cheers Geert Stappers -- http://www.vanadcimplicity.com/ -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] backup remote clients
Op 20120919 om 12:35 schreef Michael D. Wood: Tim, Hello Mailinglist, It would be the same sort of setup in a local environment, but you would be exchanging hostnames/local ip's with external ip's. Obviously, allowing access through your firewall. Also, make sure you actually have a connection between server and client on port 9102. You would still need to change your bacula config files accordingly too. Are they windows or linux clients? Linux client it would look something like this in the bacula-dir.conf - then you would have to setup storage configurations, etc. # Linux server file set to backup FileSet { Name = Linux Full Set Include { Options { signature = SHA1 } # Included files (WILL BE BACKED UP) File = / } I would start reading up, has all the information to backup directories on the client (if I'm following your question exactly) http://www.bacula.org/5.2.x-manuals/en/main/main/What_is_Bacula.html#SECTION 0022 http://www.bacula.org/5.2.x-manuals/en/main/main/index.html Another good read is http://catb.org/~esr/faqs/smart-questions.html Cheers Geert Stappers -- Got visibility? Most devs has no idea what their production app looks like. Find out how fast your code is with AppDynamics Lite. http://ad.doubleclick.net/clk;262219671;13503038;y? http://info.appdynamics.com/FreeJavaPerformanceDownload.html ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Netware shares backup
Op 20120912 om 14:06 schreef Jürgen Ecker: Hello, i have a bacula Installation, wich will backup Netware CIFS shares. I have mounted the shares with ncpmount wich is included in the ncpfs package. If i start a job to backup the shares, i get a data rate of 5883.6 KB/s. If i start a windows job i get a date rate up to 17000 KB/s wich is more faster than the Netware job. Has anyone a hint why the Netware backup is so slow and how i get more performance? Is the problem on the Netware side or on the bacula side? I want to coin that it might in the middle, on the network. I don't known the setup of the original poster, but let me guess. The 17000 KB/s is from the fileserver and goes straight to a client. The 5884 KB/s has to travel a way like - the fileserver - the computer where it is ncpmounted - the computer where the Bacula storage deamon is - and maybe to some network attached storage A longer network (de)tour has it's throughput price ... Cheers Geert Stappers -- http://www.vanadcimplicity.com/ -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] How to configure schedule for run full the first weekend of the month??
Op 20120906 om 18:57 schreef ganiuszka: W dniu 06.09.2012 17:18, Ana Romero pisze: Backup1 - 7 September Backup2 - 1 September Backup3 - 3 September but I want this schedule: Backup1 - 7 September Backup2 - 8 September Backup3 - 9 September I do not understand. See below my descriptions for your text from previous mail. Backup1 - 7 September == it is Friday (tomorrow) Backup2 - 1 September == it is Saturday (past) Backup3 - 3 September == it is Monday (past) So could you explain us your need? As I understand the (unreasonable??) request from Ana Romero is that some monthly scheme should fit in some weekly scheme. With extra requirement that a weekend starts on friday and the second saturday of the month could/should be in the first weekend of the month. At http://bacula.org/5.2.x-manuals/en/main/main/Configuring_Director.html is given: | void-keyword= on | at-keyword = at | week-keyword= 1st | 2nd | 3rd | 4th | 5th | first | | second | third | fourth | fifth | wday-keyword= sun | mon | tue | wed | thu | fri | sat | | sunday | monday | tuesday | wednesday | | thursday | friday | saturday | week-of-year-keyword = w00 | w01 | ... w52 | w53 | month-keyword = jan | feb | mar | apr | may | jun | jul | | aug | sep | oct | nov | dec | january | | february | ... | december | daily-keyword = daily | weekly-keyword = weekly | monthly-keyword = monthly I see no fit for Backup1 - 7 September Backup2 - 8 September Backup3 - 9 September working in october as Backup1 - fri 5 october Backup2 - fri 6 october Backup3 - fri 7 october Cheers Geert Stappers -- http://www.vanadcimplicity.com/ -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Problems with Bat crashing
Op 20120902 om 09:53 schreef Michael D. Wood: From: lst_ho...@kwsoft.de [mailto:lst_ho...@kwsoft.de] Sent: Friday, August 31, 2012 4:31 PM Zitat von Michael D. Wood m...@itsecuritypros.org: Has anyone else ran across this issue? Faulting application bat.exe, version 0.0.0.0, time stamp 0x4fec70d9, faulting module QtGui4.dll, version 4.8.1.0, time stamp 0x4f6c7cef, exception code 0xc005, fault offset 0x00411d40, process id 0xf8, application start time 0x01cd85aac11a9b2a. --END OF NOTIFICATION Maybe this one: http://bugs.bacula.org/view.php?id=1832 Much appreciated and my apologies - probably should have checked the bug tracker first! Another good thing is making it possible to read in the discussion order. Please reply _below_ the original text. Cheers Geert Stappers -- knock knock who is it? Merry Mary who?? Merry Christmas -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] List compile options used for binary
Op 20120815 om 12:36 schreef lst_ho...@kwsoft.de: Zitat von Geert Stappers geert.stapp...@vanadgroup.com: Op 20120814 om 15:10 schreef lst_ho...@kwsoft.de: Hello List is it possible to get the compile time options used for building the binary? It would be nice to have so we could build updates as close as possible to original packages for example on Ubuntu. Beware the next information is untested: cd /usr/scr apt-get source bacula cd bacula* # wildcard for version cd debian grep configure rules That should give you the compile time options. Many Thanks Please verify and provide feedback. Ouput of the grep command: # These are used for cross-compiling and for saving the configure script configure-stamp-%: extract-stamp-% QMAKE=/usr/bin/qmake-qt4 ./configure --config-cache \ build-stamp-%: configure-stamp-% But the rules file is the place to look. Yes, debian/rules is the file with compile time options. Thanks for the feedback. Cheers Geert Stappers -- debian/rules -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re - Restore failed - bacula-fd doesn't follow symbolic links
Op 20120810 om 17:04 schreef Davide Franco: On Fri, Aug 10, 2012 at 3:57 PM, Rados aw Korzeniewski wrote: 2012/8/10 Davide Franco dfra...@dflc.ch Anyway, I'm still trying to figure out how can I enforce the file daemon to follow symlinks on Linux filesystem. Bacula does not follow any symbolic links. It just backups a symbolic link as a symbolic link no matter if it points to the file or directory. Automatically follow symbolic links threatens to uncontrolled looping. For example when someone (user) will make a simple command: $ ln -s . a If you want to backup a resources which was followed by symbolic link you have to add this resources to the FileSet definition. this sounds good for me. It's exactly what I did to recover my data. I just had to figure out where my data were located and it worked fine. Nothing new: Make it possible to read in the discussion order -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restore failed - bacula-fd doesn't follow symbolic links
Op 20120809 om 18:42 schreef Davide Franco: Hello all, today I've tried to restore some files on my server and the job failed. It appear that bacula-fd doesn't follow symbolic link. The server run under Linux Centos version 5.8 with bacula-fd version 5.0.2 I tought that by default, symlink will be followed by the file daemon, isn't ? I think that Bacula doesn't follow symbolic links. If it would follow symlinks it would get in trouble when the symlink is broken. If it would follow symlinks it would write multiple copies to tape, where only one exists on disk. Should I change the FileSet configuration ? As I still need to restore those files, any help would be really appreciated. I would check the filesystem (partition) where symlinks points to. Best regards Davide Cheers Geert Stappers -- http://www.vanadcimplicity.com/ -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] make bacula use newer version of python?
Op 20120802 om 00:42 schreef Zachary Taylor: Hello, I'm trying to start bacula and I keep getting the following: /opt/bacula/bin/bacula-dir: error while loading shared libraries: libpython2.4.so.1.0: cannot open shared object file: No such file or directory I have libpython2.6 installed, but it won't recognize it. Is there a way to force bacula to use the newer library or maybe use a symbolic link? Uninstalling python 2.6 and putting in 2.4 looks like a huge undertaking because of all the dependencies so that doesn't seem to be an option. And what happens when bacula is re-compiled? I think that Original Poster had Python 2.4 installed, compiled and installed Bacula and upgraded Python. Thanks. Cheers Geert Stappers -- http://www.vanadcimplicity.com -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula recognizes only 7 slots in an 8-slot-changer
Op 20120626 om 08:24 schreef Jens Gruentjes: When I log in into the web interface I see 8 usable slots. This is where I told the changer that my former cleaning slot number 8 is no longer a cleaning slot. On the Status-page I see the two magazines with 4 tapes each. There is no cleaning slot defined, i.e. I set the cleaning slot to 0 which is what the manual suggests. I did a firmware upgrade hoping that this will fix my problem. I encountered something strange as the following command (/dev/sg4 is the changer) gives two different outputs: boromir ~/tdtool # mtx -f /dev/sg4 status RequestSense (0x03) failed mtx: Request Sense: Long Report=yes mtx: Request Sense: Valid Residual=no mtx: Request Sense: Error Code=70 (Current) mtx: Request Sense: Sense Key=Unit Attention mtx: Request Sense: FileMark=no mtx: Request Sense: EOM=no mtx: Request Sense: ILI=no mtx: Request Sense: Additional Sense Code = 28 mtx: Request Sense: Additional Sense Qualifier = 00 mtx: Request Sense: BPV=no mtx: Request Sense: Error in CDB=no mtx: Request Sense: SKSV=no Mode sense (0x1A) for Page 0x1D failed Storage Changer /dev/sg4:1 Drives, 8 Slots ( 0 Import/Export ) Data Transfer Element 0:Full (Storage Element 3 Loaded):VolumeTag = WOC4-03L4 Storage Element 1:Full :VolumeTag=WOC4-01L4 Storage Element 2:Full :VolumeTag=WOC4-02L4 Storage Element 3:Empty Storage Element 4:Full :VolumeTag=WOC5-01L4 Storage Element 5:Full :VolumeTag=WOC5-02L4 Storage Element 6:Full :VolumeTag=WOC5-03L4 Storage Element 7:Full :VolumeTag=WOC1-01L4 Storage Element 8:Full :VolumeTag=WOC1-02L4 boromir ~/tdtool # mtx -f /dev/sg4 status Storage Changer /dev/sg4:1 Drives, 7 Slots ( 0 Import/Export ) Data Transfer Element 0:Full (Storage Element 3 Loaded):VolumeTag = WOC4-03L4 Storage Element 1:Full :VolumeTag=WOC4-01L4 Storage Element 2:Full :VolumeTag=WOC4-02L4 Storage Element 3:Empty Storage Element 4:Full :VolumeTag=WOC5-01L4 Storage Element 5:Full :VolumeTag=WOC5-02L4 Storage Element 6:Full :VolumeTag=WOC5-03L4 Storage Element 7:Full :VolumeTag=WOC1-01L4 The two commands were issued directly one after another because I worried about the first responses of the changer (RequestSense (0x03) failed ...). FWIW: It does remember me on SCSI cable termination problems. I would check and double check the cables and especially the terminators. Cheers Geert Stappers -- http://www.vanadplatform.com/ -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Query what clients haven't been backed up within a certain time period
Op 20120622 om 16:52 schreef Dan Langille: On 2012-06-21 19:54, Mike Hobbs wrote: Hello, I was wondering if anyone has written a bacula query that you can run to find out what clients haven't been backed up within a certain time period? If so could you share? I'm not an SQL guy which is why I am asking. This query provides a list of all clients who have not had a backup finish within the past week: SELECT C.name FROM client C WHERE NOT EXISTS (SELECT jobid FROM job J WHERE J.endtime (now() - interval '1 week') AND J.clientid = C.clientid) ORDER BY name This was written for PostgreSQL. I hope it runs on MySQL with minor modifications. Yes, after minor modifications it does run on MySQL SELECT C.name FROM Client C WHERE NOT EXISTS ( SELECT jobid FROM Job J WHERE J.endtime date_sub( now(),INTERVAL 1 week ) AND J.clientid = C.clientid ) ORDER BY name Cheers Geert Stappers -- http://www.vanadplatform.com/ -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Getting more than wanted in backup
For the archive, the previous posting in the discussion order. Nothing new. Op 20120620 om 17:55 schreef Clark, Patricia A.: On 6/18/12 2:12 PM, Martin Simmons mar...@lispworks.com wrote: On Fri, 15 Jun 2012 13:59:26 -0400, Clark, Patricia A said: To get the multiple streams I've broken my filesets and their corresponding jobs into multiple pieces. The snippets below are 2 of the 7 that I created. I am finding that I am getting everything in /home from each of these filesets and not just the subset of the home directories. Testing with bwild suggests that the RegexDir should be correct. So, what am I missing? FileSet { Name = home_dirs1 Set # Capture /home/[0-9]* Include { Options { signature = MD5 RegexDir = /home/[0-9]* } Options { RegexDir = .* --I have also tried /home/* to be more explicit Exclude = yes } File = /home } } FileSet { Name = home_dirs2 Set # Capture /home/[a-e]* Include { Options { signature = MD5 RegexDir = /home/[a-e]* } Options { RegexDir = .* Exclude = yes } File = /home } } Your main RegexDir patterns are wrong: /home/[0-9]* matches everything starting with /home/ because of the definition of * in a regex. You probably want wilddir = /home/[0-9]* instead. Also, you should wild = * instead of RegexDir = .*. __Martin Thank you for the suggestions. Using wilddir on the includes works much better than the RegexDir. I did find that using wild = * on the excludes was problematic. I'd backup the directories, but none of the files. I've switched to using wilddir for the excludes, too, which adds a level of self-documentation to the fileset. A working example shows the changes and I just adjust the wilddir statements for the fileset as needed. FileSet { Name = home_dirs1 Set # Capture /home/[0-9]* Include { Options { signature = MD5 wilddir = /home/[0-9]* } Options { wilddir = /home/[a-z]* wilddir = /home/[A-Z]* Exclude = yes } File = /home } } Cheers Geert Stappers http://www.vanadplatform.com/ -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula 5.2.9 restore by jobid hangs
Op 20120621 om 00:58 schreef Stephen Carr: Dear All I have not had to do many restores but I have just noticed that a using option 3 of the restore command in bconsole and entering a JobID of a small Incremental job seems to hang - when I did restores before the response was fast to allow you to browse the backed up files. The Bacula database is about 10 GB and a recent dbcheck had been run with very few errors. From mysql show processlist 2270 | bacula | localhost | bacula | Query | 906 | executing | SELECT Path.Path, Filename.Name, T1.FileIndex, T1.JobId, LStat, DeltaSeq FROM ( SELECT FileId, If I kill the mysql process ID eg 2270 I then get the option to restore all files or use a regexp but I cannot browse the files backed up and select them. Anyone else have this problem? FWIW http://old.nabble.com/Restores-to-Windows-host-fail-and-file-daemon-crashes-on-5.2.9-to34034119.html -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] alldrivers plugin
Op 20120523 om 08:33 schreef Simone Caronni: Hello, what happened to the alldrives plugin that was in the previous manual? http://bacula.org/5.2.x-manuals/en/main/main/Enterprise_Bacula_New_Featu.html#SECTION0036 subject line now matches message body Cheers Bottom Post -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Adding New Storage Device (HDD) to Bacula Server
Op 20120515 om 23:35 schreef Modulok: Op 20120515 om 21:01 schreef Humnphrey Bryant: Bacula now has two (2) Storage Devices to backup to. The 1st 1.5TB has just started been used and has only used about 20% of the total hard Drive Capacity, the volumes that I created were set to be expired , recycled and auto prunes so that the drives don't run out of space when the file server size starts to increase. 1. How will Bacula Treat/Handle 2nd New Drive that I've just added? 2. Will the new drive only be used when the 1st drive has reached its full capacity? 3. Can I Schedule backups' to the New 1TB drive ONLY? 4. When adding new drives for backups what are the best practices when it comes on to Bacula I've never used CentOS, but on every other linux/BSD systems I've never deal directly with drives. The notion of having the userland programs deal directly with hard drives is almost perverse, lol. Here's what I do, and I know this doesn't directly address your question, but it's food for thought if nothing else: I put a file system on the hard drive and mount them to a location, say '/home/bacula/volumes' and have bacula backup to file based volumes just like your original disk. Here has bacula-sd.conf these lines Device { Name = FileStorage Media Type = File Archive Device = /srv/bacula/pool00 In the directory /srv/bacula/pool00 are symbolic links like lrwxrwxrwx 1 v467 - ../d04/v467 lrwxrwxrwx 1 v468 - ../d04/v468 lrwxrwxrwx 1 v325 - ../d06/v325 lrwxrwxrwx 1 v326 - ../d06/v326 Under /srv/bacula are directories like d04, d05, d06 those are used as mountpoints for the disks. Partial output of `mount` /dev/sdb1 on /srv/bacula/d04 type ext3 (rw) /dev/sdc1 on /srv/bacula/d05 type ext3 (rw) /dev/sdd1 on /srv/bacula/d06 type ext3 (rw) In directory /srv/bacula/d06, being disk /dev/sdd1, are the actual bacula volumes. Cheers Geert Stappers -- http://www.vanadplatform.com/ -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restore issue with Windows 2003 SBS client
Op 20120425 om 16:01 schreef Christopher Hylarides: On 12-04-21 2:27 PM, Marco Carcano wrote: I (guess) have succesfully installed bacula 5.2.6 on my CentOS 5.6 Server (Physical). I have also installed the Windows client on a 2003 SBS (virtualized with KVM on another machine) We had this exact same issue restoring on Windows with 5.2.6 as well (backups worked fine). Downgrading to 5.0.3 for the windows client fixed it (my research showed a known bug that will hopefully be in the next release). Thanks for sharing the workaround, being downgrade the MS Windows client I wonder where is the known bug documented Geert Stappers -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Cant connect to bacula-sd on debian system
Op 20120419 om 22:37 schreef Jérôme Blion: Le 19/04/2012 09:47, alexturner a écrit : Hey all, I'm trying to set up a bacula sever to backup all machines on the network to LTO tape. I'm having a hard time getting my config to work. For starters bacula-dir wont start from the /etc/init.d/bacula-director script but it will start if I simply run bacula-dir in the terminal. snip/ bacula-sd.conf # # List Directors who are permitted to contact Storage daemon # Director { Name = bacula-dir Password = helloworld } snip/ Bacula-dir.conf Director {# define myself Name = localhost-dir DIRport = 9101 QueryFile = /etc/bacula/scripts/query.sql WorkingDirectory = /var/lib/bacula PidDirectory = /var/run/bacula Maximum Concurrent Jobs = 1 Password = tralala # Console password Messages = Daemon DirAddress = 127.0.0.1 } snip/ Hello, Your director's name is not the same in your files. Passwords are not the same neither. In bacula-sd.conf, your director's password has to match the Storage's one in bacula-dir.conf. Please see also the graphics at http://www.bacula.org/en/dev-manual/main/main/What_is_Bacula.html They picture how the parts fit together. Cheers Geert Stappers -- http://www.vanadplatform.com/ -- For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] VirtualBackup
Op 20120403 om 16:44 schreef Juan Diaz: Hello, I'm trying to make a Virtual backup of a machine that I already backed-up with a base backup and a full backup after. The problem is that the backup's size of the virtual backup is the same of the full backup. Witch tell us that it is not taking the base for doing the Virtual Backup. Has anybody tried it successfully? Base+full = Virtual Over here we use 'full' and 'incremental'. This mailinglist made me aware there is something called Virtual full, but it is something that I don't miss. So I didn't investigate what I _might_ be missing. To me is VirtualBackup new and frankly I think that VirtualBackup is something being mistaken. Hope this Helps, Geert Stappers -- http://www.vanadplatform.com/ -- Better than sec? Nothing is better than sec when it comes to monitoring Big Data applications. Try Boundary one-second resolution app monitoring today. Free. http://p.sf.net/sfu/Boundary-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restore crash file daemon Windows 2008 R2 machine with VSS
Op 20120322 om 17:00 schreef mail...@securitylabs.it: Hello, I have some files backed up with bacula from a client Windows 2008 R2 machine with VSS, when I try to restore them on the same machine or a different Windows machine the file daemon on the machine crash: Faulting application name: bacula-fd.exe, version: 0.0.0.0, time stamp: 0x4f43c12a Faulting module name: VSSAPI.DLL, version: 6.1.7601.17514, time stamp: 0x4ce7c9f9 Exception code: 0xc005 Fault offset: 0x00053025 Faulting process id: 0x2ec Faulting application start time: 0x01cd083e0a5f463b Faulting application path: C:\Program Files\Bacula\bacula-fd.exe Faulting module path: C:\Windows\system32\VSSAPI.DLL Report Id: 34f2946d-7435-11e1-b9b1-842b2b13420a If I restore the same files on la linux machine it works. Bacula director is 5.2.6 on Debian. bacula fd on windows machines is the same version. The trouble seems like this: http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg51254.html And what new information do you have? -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restoring from bconsole in a shell script
Op 20120327 om 08:42 schreef Maria Arrea: Hello Still no luck, dir= option is not recognized: # cat /root/miprueba restore client=wiki current dir=/root/ yes # bconsole -c /etc/bacula/bconsole.conf /root/miprueba Connecting to Director backup-virtual:9101 1000 OK: backup-virtual-dir Version: 5.0.3 (30 August 2010) Enter a period to cancel a command. restore client=wiki current dir=/root/ yes Using Catalog MyCatalog Unknown keyword: dir You have messages. Bacula version: 5.0.3 Regards Maria Not tested, but I expect that a _multi_ line miprueba gives a better result. So try # cat /root/miprueba restore client=wiki dir=/root current yes # bconsole -c /etc/bacula/bconsole.conf /root/miprueba and please provide feedback in the discussion order. ( In other words: Reply _below_ the previous text ) Cheers Geert Stappers -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Mysterious Director console connection failures
Op 20120307 om 21:36 schreef Kern Sibbald: On 03/07/2012 06:54 PM, Martin Simmons wrote: On Wed, 07 Mar 2012 09:58:48 -0500, Phil Stracchino said: On the theory that network bandwidth may be somehow involved, I tried scheduling several jobs 15 minutes ahead of time, to see if I could get more jobs running if I scheduled them all before any started. Starting at about 0915, schedule job 1 for 0925. No problem. Schedule Job 2 for 0925. No problem. Schedule job 3 for 0925. No problem. At about 0918, try to schedule job 4 for 0925. None of the new jobs has yet started. No go; neither bat nor bconsole can connect. This is what the trace logged as I tried to connect with bconsole: babylon4-dir: bnet.c:708-0 who=client host=10.24.32.10 port=36131 babylon4-dir: job.c:1331-0 wstorage=babylon5-sd babylon4-dir: job.c:1340-0 wstore=babylon5-sd where=Pool resource babylon4-dir: job.c:1031-0 JobId=0 created Job=-Console-.2012-03-07_09.19.16_37 babylon4-dir: cram-md5.c:72-0 send: auth cram-md5 1723850907.1331129956@babylon4-dir ssl=0 babylon4-dir: cram-md5.c:131-0 cram-get received: auth cram-md5 85736557.1331129966@bat ssl=0 babylon4-dir: cram-md5.c:150-0 sending resp to challenge: 25Q2B+IdJ/UKI/+p6++vkC babylon4-dir: ua_dotcmds.c:164-0 Cmd: .api 1 babylon4-dir: ua_dotcmds.c:164-0 Cmd: .levels Backup babylon4-dir: bnet.c:708-0 who=client host=10.24.32.10 port=36131 babylon4-dir: bnet.c:708-0 who=client host=10.24.32.14 port=36131 That looks like bat, not bconsole, so I think you got the wrong output. Also, next time it starts failing, run bconsole -d 100 while the Director is running with setdebug, so the outputs of both sides can be compared. __Martin Hello, ~ In looking at the output above, I have a similar comment to Martin about bat and bconsole. First, you should understand that currently the Director only has a concept of a *single* console. When you run with bat, it puts the console in gui mode, and so if you are running any bconsoles at the same time and you just happen to get some output, you will probably get stuff destined for bat, which will completely confuse bconsole. Moral of the story. Don't run multiple bconsoles if possible because you probably will get output mixed between them, and above all don't run bconsole at the same time as bat or they both will probably get confused particularly bconsole. bconsole won't have any idea how to handle signals destined for bat. Oops. I have default a bconsole open in my screen[1] session. And now I know that it might grab / get data from another bconsole ... If I recall correct, I keep the bconsole session open to capture messages. Otherwise I get loads of job messages on opening a bconsole. That is with version 2.4.4 From another posting: } Someone (not me) added Maximum Console Connections, which defaults } to 20, but I am not 100% sure how it interacts with Maximum Concurrent } Jobs. Before Maximum Console Connections, everything was lumped int } Maximum Concurrent Jobs. What does that mean? Is it saying: Multiple console connections is work in progress ? Cheers Geert Stappers Footnote: [1] Terminal multiplexer, http://en.wikipedia.org/wiki/GNU_Screen -- Virtualization Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Set real size cartridge in bacula
Op 20120214 om 06:32 schreef Anatoly S. Zimin: Hello, I am new to the list. I am also a beginner with bacula. I already have my environment almost set, server already running and has clients storing files on my backup drive (IBM ULT3580-HH4). I am using original cartridges with a capacity of LTO4 800/1600GB. Use the latest version of CentOS. Unfortunately have not been able to make the bacula use the total space of the cartridges. In general, little is being stored more than 20GB per cartridge. I put a new cartridge, empty, and during the first backup he changes the volume to full. Even changing to append to inform him about full. Cartridge information: [Root @ backup ~] # tapeinfo-f / dev/st0 Product Type: Tape Drive Vendor ID: 'IBM' Product ID: 'ULT3580-HH4' Revision: 'B171' Attached Changer API: No SerialNumber: '1068015389 ' MinBlock: 1 MaxBlock: 16777215 SCSI ID: 0 SCSI LUN: 0 Ready: yes BufferedMode: yes Medium Type: 0x48 Density Code: 0x46 BlockSize: 0 DataCompEnabled: yes DataCompCapable: yes DataDeCompEnabled: yes CompType: 0x1 DeCompType: 0x1 BOP: yes Block Position: 0 Remaining Kbytes Partition 0: -1 Partition Size in Kbytes 0: -1 ActivePartition: 0 EarlyWarningSize: 0 | Mediaid | volumename | volstatus | enabled | volbytes | volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten | | 11 | FitaMacuco1 | Full | 1 | 21,785,831,424 |4 | 31,536,000 | 1 |4 | 1 | LTO-4 | 10.02.2012 11:02:16 | | 21 | FitaMacuco2 | Append| 1 | 27,078,976,512 |1 | 31,536,000 | 1 |8 | 1 | LTO-4 | 12.02.2012 03:43:26 | I do not know exactly where I'm wrong, but I can not use the total space of the cartridges. Does anyone have any tips? Thank you Darci Good day! Can you show me your configuration? I think trouble in config file. Anatoly S. Zimin Especial the bacula-sd.conf. I'm interrested in the value for Maximum Volume Size Something else: Please make it possible to read in the discussion order. Reply below the text. Cheers Geert Stappers -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Database insert error in bacula-5.2.5.
Op 20120202 om 18:12 schreef John Drescher: Op 20120202 om 17:40 schreef Marty Frasier: I GRANTed rights to user bacula for that table and in addition usage must be granted for the related sequence (postgresql). This is what I have now: bacula=# \dp restoreobject* Access privileges Schema | Name | Type | Access privileges | Column access privileges +---+--+---+-- public | restoreobject | table | bacula=arwdDxt/bacula public | restoreobject_restoreobjectid_seq | sequence | bacula=rwU/bacula | Sounds good to me. I will check this out later. Is no news, good news? Geert Stappers in an attempt to release a possible self-reply-lock -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Updating from debian package 5.0.2 to current version
Op 20120117 om 15:08 schreef Richard Marnau: Hi all, I'm wondering which steps I actually have to do to upgrade from the default debian repository bacula to the current version. I did download the current version and compiled (make / make install) the files. What are the next steps? Are there any database upgrades necessary? More questions: What does the Bacula Release notes say? Which item in the Bacula Changelog triggered you to start an upgrade? How went the upgrade of a Bacula client? Where will you publish your success story? Are you familiar with http://alioth.debian.org/projects/pkg-bacula ? Cheers, Richard Geert Stappers In an attempt to say that Bacula is libre, not gratuit -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Unsubscribe from the bacula mailinglist
Op 20120112 om 16:59 schreef Peter van der Meulen: From: Phil Stracchino Sent: Thursday, January 12, 2012 4:22 PM Are you getting useful information from it? If so, why unsubscribe? Well.. I have very little time to have a look at all the messages I'm getting. So.. that's one of the reasons. Thanks all! This is in the E-mail headers of each and every posting to this mailinglist. List-Unsubscribe: https://lists.sourceforge.net/lists/listinfo/bacula-users, mailto:bacula-users-requ...@lists.sourceforge.net?subject=unsubscribe -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Linux: backup and restore of file capabilities ?
Op 20120104 om 09:17 schreef Marco van Wieringen: On 01/ 4/12 12:03 AM, Wolfgang Denk wrote: snip/ I understand the problem is located, and no further testing on my side is needed? Correct I see what is causing this problem. I only need to code a workaround and test it so that will take some time to do it right. As I expected the current extended attribute code is sufficient perform the backup and restore no need to implement yet an other interface. I installed a Fedora 16 VM and can now test on that. As I read http://bugs.bacula.org/view.php?id=1807 is bug #1807 fixed. HtH -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] file capabilities ? Happy New Year
Op 20120101 om 21:58 schreef Wolfgang Denk: snip/ Note that this is probably a bigger problem - it appears that neither cpio nor tar nor rsync etc. can deal with file capabilities. Oops ... At the moment I don't know how to create a 100% correct backup of a plain vanilla Linux root filesystem... :-( Happy new year, btw... Yep, best wishes to all of you -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] General problems in creating Bacula configuration that would work as expected
Op 20111229 om 11:27 schreef SpamMePlease PleasePlease: Hi everyone! I've started Bacula installation in linux environment and I've reached a point in which complexity of Bacula configuration and volume/type of technical documentation is way beyond my understanding. My configuration can be viewed here, along with additional information: http://pastebin.ca/2097178 and first, most important issues/questions are below: * do I need multiple volumes for my storage, and if I do, then why, and how to do it properly? * why my volumes that have already been created and used, are not reusable? * how long will I keep backups in current configuration and how do I properly control that? (I'd like to keep the files for given fileset for a month back in time, for any day) * why my full backups arent starting and performing? * why my mysql catalog fails constantly? * is my per host configuration properly done? (each host should be able to have its own fileset or at least be able to extend basic/generic fileset - different files stored for webservers, diffferent for database servers, but all of them have common /etc for example) Its for a start. I will be extremely grateful for some clues what and where am I doing wrong, and why, because in richness of technical documentation I miss explanations and best practices for real life scenarios a lot. A good introduction is at http://catb.org/~esr/faqs/smart-questions.html Best wish for new year. Groeten Geert Stappers -- Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex infrastructure or vast IT resources to deliver seamless, secure access to virtual desktops. With this all-in-one solution, easily deploy virtual desktops for less than the cost of PCs and save 60% on VDI infrastructure costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Preserving data of decommissioned Bacula client
Op 20111221 om 18:12 schreef Win Htin: On Wed, Dec 21, 2011 at 12:03 PM, John Drescher dresche...@gmail.com wrote: If I want to retire an old server but need to keep the backup data for several years, what is the best option? Just disable the job? What happens if the old server is deleted from the clients list? The big problem is volume recycling. Does this server use volumes that any other server uses or separate volumes? John Yes, the volumes are shared with other servers/Bacula clients but the monthly full backups are kept off-site for the requisite period, i.e. the tapes/volumes are not re-cycled. Thanks, Win on this mailinglist a few days ago ... | Op 20111220 om 17:15 schreef Bill Arlofski: | On 12/19/11 21:31, Gary R. Schmidt wrote: | Hi, | Bacula 3.0.3. | | I've had some machines be removed from use, but I don't want their | backups to go away until we are sure their replacements are complete. | | I can disable them individually from the console, but is there something | I can do in the .conf file that will turn them off? | | Hi Gary... | | If you are talking about not having the DATA on your volumes being | over-written then I would create a pool called something like | Archive with a very long retention period. Then determine which | volumes have the jobs on them that you do not want to lose and move | them into that pool. | | Also, since you probably don't want the jobs running any more, | what I normally do is create a schedule called Manual with no | run definitions like so: | | Schedule { |Name = Manual | } | | and set the Job's schedule to Manual. This way, I can start any of | these jobs manually (they are not disabled) any time I want/need, | but they will no longer run on the nightly schedule. | | Hope this helps. | | -- | Bill Arlofski | Reverse Polarity, LLC | http://www.revpol.com/ | Groeten Geert Stappers -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Could not stat /local/notesdata: ERR=No such file or directory
Op 20111217 om 10:30 schreef Henry Gultom: Hi all, I have Bacula 5 running well and backup linux,windows server. I added new client to backup which is for Lotus Domino Server with File set /local/ notesdata dan /opt/ibm And test run backup job i got error : 17-Dec 14:47 backup01-dir JobId 5: Start Backup JobId 5, Job= notesJob.2011-12-17_14.47.18_05 17-Dec 14:47 backup01-dir JobId 5: Using Device FileStorage 17-Dec 14:47 backup01-sd JobId 5: Wrote label to prelabeled Volume Filebackupnotes on device FileStorage (/backups) 17-Dec 14:47 backup01-fd JobId 5: Could not stat /local/notesdata: ERR= No such file or directory 17-Dec 14:47 backup01-fd JobId 5: Could not stat /opt/ibm: ERR=No such file or directory 17-Dec 14:47 backup01-sd JobId 5: Job write elapsed time = 00:00:01, Transfer rate = 0 Bytes/second 17-Dec 14:47 backup01-dir JobId 5: Bacula backup01-dir 5.2.2 (26Nov11): [root@eoffice bacula]# ls -al /local total 88 drwxr-xr-x 10 root root 4096 Nov 8 18:03 . drwxr-xr-x 27 root root 4096 Nov 9 18:59 .. drwxr-xr-x 21 notes notes 12288 Dec 17 21:32 notesdata drwxr-xr-x 11 notes notes 4096 Nov 8 18:14 notesdata1 i try add bacula user to notes group(/etc/group) still same problem, i try change file set to /home and backup successfully, this happen only if backup at /local,/local/notesdata and /opt/ibm folder. Any idea or trick to bring these folder to bacula? My idea would be matching hostname and bacula file-deamon. Seeing 'eoffice' and ' backup01-fd' for the same machine, is odd to me. Groeten Geert Stappers -- Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Fedora 16 - RHEL 5/6 Bacula RPM repository
Op 20111215 om 16:40 schreef Joseph L. Casale: It is not a requirement but a recommendation inside the Fedora packaging guidelines: Right:) Not EL requirements. I could try to remove that and put standard useradd / userdel commands, but I need to assess the change with the other Bacula mantainers and good reasons to do so. Is there any particular requirement on why you would like to avoid using fedora-usermgmt? Mainly for the reason that as an EL shop, its a tough sale to 'suggest' as we haven't ever used those packages, now we should. I'd be pretty surprised if any el shop uses any fedora packages even if it is only wrappers like these. We are talking about } } /usr/sbin/fedora-groupadd 33 -r bacula /dev/null || : } } /usr/sbin/fedora-useradd 33 -r -s /sbin/nologin -d /var/spool/bacula -M \ } } -c 'Bacula Backup System' -g bacula bacula /dev/null || : } } } } It is used to create predictable user / group assignment + some other } } features like logging, etc. I'm sure of it is a pratical joke or a time bomb. The information I miss, is where id 33 is reserved / claimed / registered. Any package could do /usr/sbin/fedora-groupadd 33 -r anotherpackagename /dev/null || : So at which central place are user id and group ids for packages documented? Groeten Geert Stappers -- Learn Windows Azure Live! Tuesday, Dec 13, 2011 Microsoft is holding a special Learn Windows Azure training event for developers. It will provide a great way to learn Windows Azure and what it provides. You can attend the event by watching it streamed LIVE online. Learn more at http://p.sf.net/sfu/ms-windowsazure ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bconsole with json
Op 20111212 om 18:08 schreef Hugo Letemplier: Hello, I have some project ideas. If people like it, maybe it can be developed in next bacula versions. [ too many ideas for in a single post ] Idea --- Having a programming interface that can talk like bconsole. It's not always easy to talk to another shell and bconsole uses As I understood, python integration in bacula is effective only on a bacula event. Please correct me if I am wrong. I created a library in python (via pexpect) in order to have an interface for my scripts. It's talking to bconsole and directly to the catalog (read only). I can give this python lib to anyone but I am not a very good programmer so many things may need to be revisited. It allowed me to write many scripts (management, monitoring, pruning…) including the one that run my copy jobs that is mentioned at the beginning. A few weeks ago I had the idea to clone bconsole into a json bconsole. It would mostly be a rewrite of the output functions so that the output would be in json ( see http://en.wikipedia.org/wiki/Json and RFC 4627 for details ) That way it would be more easy to give bconsole a webinterface. I abandon the idea as I had no clue how to add session stuff so that a web request would be answered to the right connection. Now just only telling about it in the hope to spark someone more in the need for a webinterface then me. Thank you in advance for your comments about theses ideas. If someone is interested I will be happy to share parts of my python code. If some features are developed I might have time to help developing or try theses functionalities warningCompliment ahead/warning It brightens my day that users do care about development of the tool they use daily. Continue to persue what you think that is right for Bacula. Hugo Cheers Geert Stappers Only subscribed to the Bacula user mailinglist (Meaning has no information what happens on the developers list) -- Cloud Computing - Latest Buzzword or a Glimpse of the Future? This paper surveys cloud computing today: What are the benefits? Why are businesses embracing it? What are its payoffs and pitfalls? http://www.accelacomm.com/jaw/sdnl/114/51425149/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Protokoll mysql backup in BAT
Op 2008 om 12:51 schreef Robert Kromoser: Sehr geehrte Damen und Herren. Ladies and Gentlemen, AFAIK is this an english mailinglist. Ich sichere die mysql Datenbanken unserer Linux Systeme mit Bacula 5.0.3 und dem Plugin Bpipe.so. Nach dem das Backup gelaufen ist und ich eine Kontrolle wie folgt mache: SHELL echo „list files jobid=156” | bconsole job156.log Sehe ich die geischerten mysql Datenbanken mit dem definierten Pseudo Dateinamen /var/lib/mysql/mysql.sql Wenn ich allerdings im BAT den Versions Browser starte und nach diesen Pseudo Dateien suche, sehe ich diese im BAT nicht. Ist das so definiert, dass man diese Pseudo Dateien im BAT nicht kontrollieren kann? I'm not familiar with BAT, but it is unlikely that it has something block by design. ( Nothing is defined to disable any check ) OTOH it can be that you found something that is missing. I leave further processing of the BAT feature request to others. Lg Robert Groeten Geert Stappers -- RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] dassModus packages available
Op 20111018 om 12:32 schreef Philipp Storz: Philipp Storz philipp.st...@dass-it.de 16:49 16/10/2011 Hello everybody, I have been working on a bacula configuration gui named dassModus. Today I put some packages online on the dassModus homepage: http://www.dassmodus.org/download Feedback and testing is welcome, I have also an mailing list for dassmodus, as I don't want to disturb the bacula mailinglists: dassmodus-de...@lists.sourceforge.net Best regards, Philipp My advice, my free advice. Feel free to ignore it, feel free to feel insulted. :-) * Keep promisses. So if you say 'I don't want to distrub the bacula mailinglists', then do not say it again after two days. * Allow people to read in the discussion order. Make it possible by replying below the previous text. * Avoid crossposting. Choose the right mailinglist / newsgroup and post only there. Try to understand that the different lists exist for a reason. Cheers Geert Stappers Debian Developer (possible sponsor of the dassmodus package) -- The demand for IT networking professionals continues to grow, and the demand for specialized networking skills is growing even more rapidly. Take a complimentary Learning@Ciosco Self-Assessment and learn about Cisco certifications, training, and career opportunities. http://p.sf.net/sfu/cisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Python New Volume
Op 20111017 om 17:21 schreef Judi Cushing: Good Morning, I am new to bacula. Most of what I have tried has worked wonderfully, with one exception. I know I must be doing something wrong, but I cannot figure out what. Technical Details: Bacula 5.0.3 running on SLES 11 Problem: I am getting the error: 11-Oct 08:28 SRSBackup-sd JobId 55: Please mount Volume Server_180001 or label a new one for: Job: ServerNapa3Backup.2011-10-11_08.28.00_03 Storage: Server (/dev/st0) Pool: SRS_Server Media type: LTO-4 I have a new tape in the drive. My device is defined as: Device { Name = Server Media Type = LTO-4 Archive Device = /dev/st0 AutomaticMount = yes; # when device opened, read it AlwaysOpen = yes; RemovableMedia = yes; RandomAccess = no; Maximum File Size = 5GB LabelMedia = yes; # lets Bacula label unlabeled media } and I have in NewVolume defined in Dirstartup.py. I know that python is running because I get: 11-Oct 08:34 SRSBackup-dir JobId 56: Python Dir JobEnd output: JobId=56 Status= A Client=SRSBackup-fd. 11-Oct 08:28 SRSBackup-dir JobId 55: Python Dir JobStart: JobId=55 Client= Napa3-fd NumVols=1 I have the line: print New Volume is requested\n in my NewVolume script before doing anything else and it does not show up in the log. It seems that NewVolume in not begin called. Why? Bacula needs a new volume and I have LabelMedia=yes in my device definition. Why is the NewVolume command not being called? What am I missing? I don't know, however I do know that I'm missing the Python script ... -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2d-oct ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula10 director issue with bacula8 fd host
Op 20110926 om 17:24 schreef JJ: Hello Bacula Community: I have an Ubuntu 10.04 LTS Server that has bacula 5.0.1 (dir, sd, and fd daemons) installed and an Ubuntu 8.04 LTS host that has Version: 2.2.8-5ubuntu7 (fd daemon) installed, both from the REPOs. I am having an issue getting the director on 10 to communicate to the fd on 8 with this error using bconsole status client: Fatal error: Unable to authenticate with File daemon at 192.168.1.18:9102. Possible causes: Passwords or names not the same or Maximum Concurrent Jobs exceeded on the FD or FD networking messed up (restart daemon). Please see http://www.bacula.org/en/rel-manual/Bacula_Freque_Asked_Questi.html#SECTION00376 for help. I can telnet successfully from the 10 host to the 8 client on the 9102 port and the password is definitely correct. I did a trace using /usr/sbin/bacula-fd -d100 -c /etc/bacula/bacula-fd.conf on the fd host and received this output when connecting from the director... bacula-fd: filed_conf.c:438-0 Inserting director res: bacula-director-mon bacula-director-fd: jcr.c:132-0 read_last_jobs seek to 188 bacula-director-fd: jcr.c:139-0 Read num_items=10 bacula-director-fd: pythonlib.c:113-0 No script dir. prog=FDStartUp root@bacula-director:/etc/bacula# bacula-director-fd: filed.c:225-0 filed: listening on port 9102 bacula-director-fd: bnet_server.c:96-0 Addresses host[ipv4:192.168.1.18:9102] bacula-director-fd: bnet.c:667-0 who=client host=192.168.1.17 port=36387 bacula-director-fd: jcr.c:603-0 OnEntry JobStatus=bacula-director-fd: jcr.c:623-0 OnExit JobStatus=C set=C bacula-director-fd: find.c:81-0 init_find_files ff=80a2968 bacula-director-fd: job.c:233-0 dird: Hello Director bacula10-dir calling bacula-director-fd: job.c:249-0 Executing Hello command. bacula-director-fd: job.c:252-0 Quit command loop. Canceled=0 bacula-director-fd: pythonlib.c:237-0 No startup module. bacula-director-fd: job.c:337-0 Calling term_find_files bacula-director-fd: job.c:340-0 Done with term_find_files bacula-director-fd: job.c:342-0 Done with free_jcr So my question is, is there any known issues using a 5.0.1 director communicating with a lower versioned client? AFAIK can a 5.x director talk with 3.X and above file-deamons, the gap between 2.x and 5.x is too big. Should I build the fd client from source? According https://launchpad.net/ubuntu/+source/bacula is there nothing between 2.4.2 and 5.0.1 Is there anything else I can check? Thank you for your time. Cheers Geert Stappers -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] fat32 incrementals backup too much
Op 20110926 om 20:49 schreef scar: Martin Simmons @ 09/26/2011 11:10 AM: Any particular types of file? Check the ctimes (ls -lc). most of the files are homemade audio recordings... mp3, wav, and flac. the ctimes don't show any modification either. I'm not sure if fat32 really has ctime, it could be faked for compatabilty reasons. In the original post is said that the fat32 disk is an external device and not allways mounted. Here a quick check: * Note the timestamp of the directory that will be the mount point * Mount the fat32 disk * Note the timestamp of the directory that is the mount point * Unmount the disk, take it somewhere else and write there * that the disk back and mount it * Check the timestamp of the mount point directory * Compare it with the previous notes My guess is that timestamps are artificul changed at mount time. Hope this helps Cheers Geert Stappers -- All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula-Web project - web site update
Op 20110922 om 20:10 schreef Rodrigo Renie Braga: 2011/9/22 Bacula-Dev bacula-...@dflc.ch Dear all, I'm proud to announce that the Bacula-Web project's web site has been updated with more content and better design □ Documentation page and content □ RSS feeds subscriptions □ Newsletter subscription (coming soon) □ and so on... Hope that you'll appreciate and as usual, any feedback are welcome ;) What the URL? http://bacula-web.dflc.ch/ Too lazy to Google it.. ;) And too lazy to place the cursor on a proper place. Please allow people to read in the discussion order. Reply below the text. Cheers Geert Stappers -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2dcopy2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Linux Bare Metal Recovery USB
Op 20110915 om 12:24 schreef niki niki: How i can make Linux Bare Metal Recovery USB Key on Debian? http://live.debian.net/manual/ -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerryreg; mobile platform with sessions, labs more. See new tools and technologies. Register for BlackBerryreg; DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] MTX-Changer support list disappears
Op 20110912 om 12:13 schreef Simone Martina: Good morning, I've to buy a new tape library and I've discovered that HP dismisses on July the well known MSL6030 (analog to Overland NEO 2000e). Our seller want's to sell us a HP MSL4048, but mtx-changer web site is offline and I could not see compatibility list: http://mtx.opensource-sw.net/compatibility.php It is still down and even worse: the domain opensource-sw.net is without content. Advertisments isn't content. ( Advertising needs content to travel ) But hey, who am I to judge the business model of opensource-sw.net ??? Have some one tried an HP MSL4048 tape library with Bacula? Thanks for any suggestions, Make your seller stakeholder and work both of you on updating http://wiki.bacula.org/doku.php?id=hardware_results Cheers Geert Stappers -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA Learn about the latest advances in developing for the BlackBerryreg; mobile platform with sessions, labs more. See new tools and technologies. Register for BlackBerryreg; DevCon today! http://p.sf.net/sfu/rim-devcon-copy1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] License
Op 20110825 om 06:38 schreef Mehma Sarja: Need a clarification on Bacula license for a backup appliance that I am contemplating. Would I be able to sell such a device or service? ( AFAIK first reply to mailing list ) Is the silence a loud YES WE CAN! ??? -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bat/bconsole on Windows 2008 r2
Op 20110826 om 10:01 schreef Helge Tore Høyland: Hi. I have a problem with connecting bat/bconsole(64/32bit) to director on a Windows 2008 r2. IIRC is running the director on a Microsoft server _not recommented_. My setup is this: Ubuntu 10.04 LTS with bacula 5.0.1. Using shorewall as firewall on that. Client is a Windows Server 2008 R2 running as primary DC. I've installed bacula 5.0.1 64bit client on that. Everything went well with installation. The fd started up nice. Passwords, addresses and director/fd names are ok. And i still time out on connection. On the windows server ive opened up both inbound and outbound tcp connection on port 9101, 9102 and 9103. My shorewall setup is ACCEPT fw loc tcp 9101,9102,9103 ACCEPT loc fw tcp 9101,9102,9103 ACCEPT fw fw tcp 9101,9102,9103 I even tried to shut off my windows firewall, no diffrence. Ive tried telnet IP-of-Director 9101 but that goes inactive straight away. Ive also opened up my server, used bconsole and tried a status client-fd and that times out. Ubuntu uses self signed certificates, and windows 2008 r2 domains dont accept self signed certificates. Could the trouble be something along that line? Does Bacula use certificate in some way? Im asking, cus i cant use putty to get a ssh-connection to my ubuntu on this windows 2008 r2 server, something i can from a linux box or a windows 7 machine. As I understand the original poster, wants he/she to make a remote bconsole connection. I don't known if it possible and think it is undesirable. ( bconsole doesn't ask for password ) What I have working is Bacula directory and bconsole the same host. The host being a Linux server. Cheers Geert Stappers -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] FD can't communicate With SD !?
Please allow people to read in the discusion order. Op 20110818 om 06:10 schreef sabrina: From: John Drescher dresche...@gmail.com Sent: Wednesday, August 17, 2011 11:16 PM 2011/8/17 Sabrina Bomel sabrinabo...@gmail.com: SD name match between SD config and client/FD config. I put Ip adress, as the FD is on a different network. I can't telnet from the client on the server only on port 9103. But i CAN open BAT and Bconsole, on the client. Thanks. Do you have your bacula SD configured to use address 127.0.0.1 or localhost. Neither of these will work if you want to use bacula as a Network backup program.. Non, i've deleted the 127.0.0.1 adress on the SDAdress. I'm gone test with domain name, like toto.example.org Because, i've put domain name for my SD client, and IP for the Server and SD. As my client has a dynamic IP, i used dyndns, so i've got a domain name. And a public IP for the Server. Back to: I can't telnet from the client on the server only on port 9103. Fix that. Go to the client: Have a working telnet client program. Verify that the telnet programm actually works. Example given, on a host that response to port 22: $ telnet shell.xs4all.nl 22 Trying 194.109.21.8... Connected to shell.xs4all.nl. Escape character is '^]'. SSH-2.0-OpenSSH_5.1p1 Debian-5 !-- here I typed 'Hi' + [enter] -- Protocol mismatch. Connection closed by foreign host. $ That is what you should see. Now you known the telnet program works and your firewall allows SSH. Now check that the bacula-fd computer can connect the bacula-sd. Assumed is that the bacula storage daemon is at host toto.example.org and listens on port 9103 $ telnet toto.example.org 9103 Trying 20.11.8.18... Connected to m1.data.vanadcc.nl. Escape character is '^]'. !-- here I typed 'Hi' + [enter] -- Connection closed by foreign host. $ Being able to type 'Hi' and [enter] and getting 'Connection closed by foreign host.' as response is good. Getting 'Unable to connect to remote host: Connection refused' is also good, but in different meaning, you found something that is wrong. It means that the client can not connect to storage deamon, further action on your side is need. Take your time to perform the checks and especial take care for providing feedback. Cheers Geert Stappers -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-d2d-2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] connections timing out
Op 20110811 om 22:15 schreef Boudewijn Ector: On 07/27/2011 10:31 AM, Pietro Bertera wrote: 2011/7/26 Boudewijn Ectorboudew...@boudewijnector.nl: Can someone please point me out where I should start to investigate this problem? From the internet, I can reach the director and the SD @ the 'leiden' system. I can reach the FD's at all servers which are to be backed up. the command status client=xxx in bconsole returns everything correctly ? Regards, Pietro Hi Pietro, Sorry for the late reply, since I've been on a holiday. Nothing has changed, and the problem can still be reproduced: *status client=www Connecting to Client www at www.boudewijnector.nl:9102 www.boudewijnector.nl-fd Version: 5.0.2 (28 April 2010) x86_64-pc-linux-gnu debian squeeze/sid Daemon started 11-Aug-11 18:22, 1 Job run since started. Heap: heap=1,597,440 smbytes=176,189 max_bytes=267,404 bufs=145 max_bufs=279 Sizeof: boffset_t=8 size_t=8 debug=0 trace=0 Running Jobs: JobId 293 Job wwwjob.2011-08-11_21.45.14_07 is running. Full Backup Job started: 11-Aug-11 21:45 Files=3,607 Bytes=11,011,930 Bytes/sec=1,101,193 Errors=1 Files Examined=3,608 Processing file: /root/home/boudewijn/IMG_9895.JPG SDReadSeqNo=5 fd=5 Director connected at: 11-Aug-11 21:45 Terminated Jobs: JobId LevelFiles Bytes Status FinishedName == 292 Full 93,8766.468 G Error11-Aug-11 20:23 wwwjob * So the director seems to be able to connect to the file daemon, am I correct? Cheers, Boudewijn Ector See if adding a line like Heartbeat Interval = 60 # seconden ( 0 is uit ) to both bacula-dir and bacula-fd helps. Cheers Geert Stappers who had in the past also time out errors on long back-ups -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] API to Communicate with Bacula from a client portal?
Op 20110809 om 17:31 schreef Yazan: Hey guys, We have been using Bacula for some time now and I wanted to automate a few things and allow the clients to take control of their backups. We want to give our clients the option of buying backup space and creating/editing backup schedules of their data and their databases. We're hoping to automate this as well as allow the clients to have access to their backup files with the option of restoring a file (or multiple) all via our PHP based portal. Please let me know if anybody has worked with this in the past and if they are willing to help. We can work out compensation as well if you have a solution. Simular requests have been posted to the bacula-users mailinglist before. I would really appreciate your help and feedback on this matter. Usually there isn't any follow up _here_. I guess such requests get more response on the bacula-developers M.L. Check it yourself, I'm not subscribed to -devel. Thank you! +-- |This was sent by ya...@rightservers.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- My advice: Subscribe to the developers mailinglist and be part of the community. (Surely don't hide behind a webforum) Cheers Geert Stappers saying Choose your forum carefully as documented at http://www.catb.org/~esr/faqs/smart-questions.html -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula client on Windows Seven and Vista don't work
Op 20110810 om 15:18 schreef sabrina bomel: Hello, I have got a server Debian Squeeze 6.0.2, updated. I*ve installed mysql-server. Then I*ve installed Bacula, using command *apt-get install*. Installation*s good. I*ve done some tests : - I*ve put a debian squeeze client : Backup ok :-) - Some Windows Seven clients, on which I*ve put the lastest version of Bacula. I am missing a bconsole test doing `estimate` I*ve got problems with the Windows Seven clients. I*ve got one client (PC-inf-03), works properly for save, but unable to start BAT, and I*ve got this message: bat:ABORTING due to ERROR in console/console.cpp:155 Failes to connect to SRVTLX01-dir for populateLists. I*ve got some errors reported in Windows Events : Nom de l*application defaillante bat.exe, version : 0.0.0.0, horodatage : 0x4bd743cf Nom du module defaillant : bacula.dll, version : 0.0.0.0, horodatage : 0x4bd74377 Code d*exception : 0xc005 Decalage d*erreur : 0x00032f45 ID du processus defaillant : 0x16a0 Heure de debut de l*application defaillante : 0x01cc57347e9d42a5 Chemin d*acces de l*application defaillante : C:\Program Files\Bacula\bat.exe Chemin d*acces du module defaillant: C:\Program Files\Bacula\bacula.dll ID de rapport : df66dc12-c327-11e0-af8e-14feb5e22837 The Bacula service start only manually. Other clients : unable to start BAT, unable to start the Bacula service too. And there*s an error 1067 when trying to start bacula service. The Server Bacula : unable to join them. So I wish you*ll help me. Sorry, I can't. This posting is only to advice to run bat on a Linux system. Thanks a lot, Sabrina BOMEL Hope this helps Cheers Geert Stappers Not using bat at all -- Get a FREE DOWNLOAD! and learn more about uberSVN rich system, user administration capabilities and model configuration. Take the hassle out of deploying and managing Subversion and the tools developers use with it. http://p.sf.net/sfu/wandisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] One SD two subnets
Op 20110806 om 02:40 schreef Andre Ruiz: On Tue, Aug 2, 2011 at 10:31, Simone Martina smart...@noc.skylogicnet.com wrote: Goodevening, I got a little problem: I have a bacula director on a server with two NIC interfaces, each of one got a different subnet: 172.20.60.0/24 and 172.20.61.0/24 and I could only use a single LTO-4 tape reader. Now, the problem is howto configure storage section in director configuration file, because the differnt client (from the two nets) should receive two different IP to contact SD. Now I have tried this storage config: Storage { Name = TAPECORP Address = 172.20.60.1 SDPort = 9103 Password = foobar1 Device = TAPE Media Type = LTO-4 Maximum Concurrent Jobs = 20 } Storage { Name = TAPECUST Address = 172.20.61.1 SDPort = 9103 Password = foobar2 Device = TAPE Media Type = LTO-4 Maximum Concurrent Jobs = 20 } 172.20.60.1 and 172.20.61.1 are, respectively, the IPs of BaculaDIR/SD for each net (DIR and SD are located onto the same physical server). Is it the right way to configure it? Thanks in advance for your suggestions, Simone Hi Simone. The way I see it, you put 0.0.0.0 on the listening IP of the daemons that would be receiving connections from more than one network and it will listen on both interfaces. If the _name_ and password of the other end matches, they will comunicate. I have mine set this way (and it's confirmed working), and I have a client in a different network (dir and sd on the same machine): In bacula-dir.conf: Director { ... DirAddress = 0.0.0.0 DirPort = 9101 ... } In bacula-sd.conf Storage { ... SDAddress = 0.0.0.0 SDPort = 9103 ... } In bacula-fd.conf: FileDaemon { ... FDAddress = 0.0.0.0 FDport = 9102 ... } These are the addresses that they will listen on, not to be confused with the addresses where to connect to indicated in the other daemons. Andre Please allow people to read in the discussion order. In other words: Reply _below_ the question. Cheers Geert Stappers -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] One SD two subnets
Op 20110808 om 14:51 schreef Andre Ruiz: On Mon, Aug 8, 2011 at 07:45, Martin Simmons mar...@lispworks.com wrote: On Tue, 02 Aug 2011 15:31:39 +0200, Simone Martina said: I got a little problem: I have a bacula director on a server with two NIC interfaces, each of one got a different subnet: 172.20.60.0/24 and 172.20.61.0/24 and I could only use a single LTO-4 tape reader. Now, the problem is howto configure storage section in director configuration file, because the differnt client (from the two nets) should receive two different IP to contact SD. Now I have tried this storage config: Storage { Name = TAPECORP Address = 172.20.60.1 The best option is to use Address = baculaserver and then use the resolver (DNS or /etc/hosts) to map baculaserver to the correct IP address on each machine. __Martin That is on the clients, indeed the best option is that. But he was talking about on which IP the server would listen (from what I could understand), and the 0.0.0.0 address will make it listen on all interfaces. Note that I mean client and server from the TCP connection perspective, not bacula client and bacula server. Andre Please allow people to read in the discussion order. In other words: Reply _below_ the question. Cheers Geert Stappers -- uberSVN's rich system and user administration capabilities and model configuration take the hassle out of deploying and managing Subversion and the tools developers use with it. Learn more about uberSVN and get a free download at: http://p.sf.net/sfu/wandisco-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Install Script
Op 20110701 om 05:13 schreef Mehma Sarja: On 6/30/11 7:09 PM, Venkatesh K Reddy wrote: The way package dependencies are handled in Ubuntu can be bit confusing at times. I have Bacula installed in 10.10 and I find all the configuration files in /etc/bacula. You can find state files in /var/lib/bacula and log in /var/lob/bacula. I am using MySQL though. I like postgres and that's what I kept selecting. Is the apt-get or aptitude convenience that people like or is there an aversion to compiling? It is easy and you have so many configure options to select from. Mehma Thanks for the joke. If it was flame bait, then also thank you. Geert Stappers Removed aptitude_distro_name_version from the Subject: line -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Job is waiting for a mount request
Op 20110629 om 15:00 schreef John Drescher: Tons of thanks for your valuable time and pointing me to right direction. I am glad to be part of wonderful Bacula community. Thanks again, You are welcome. I am glad I could help. John Hello John, Here a public compliment from me. I appriciate your contributions to the Bacula mailinglist. Especial that you make it possible to read in the discussion order for the ML subscribers and the ML archive readers by replying below the text. It is good to see good practice in action. Cheers Geert Stappers Fan of the guide lines from http://en.opensuse.org/openSUSE:Mailing_list_netiquette -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users