Re: [Bacula-users] Encryption errors
2010/1/22 Martin Simmons mar...@lispworks.com On Fri, 22 Jan 2010 10:31:39 +, Conor O'Callaghan said: 2010/1/21 Martin Simmons mar...@lispworks.com On Wed, 20 Jan 2010 17:23:34 +, Conor O'Callaghan said: Hi everyone, Client/Server both 3.02 on linux x64 I have made some encrypted backups from my client, I can successfully recover from the backup using bconsole. When I try to simulate a machine crash, by using another machine with the keys and config from the original client, I get the following errors on restoration of files. The files appear to restore correctly regardless of the error relating to the encryption missing. http://pastebin.ca/1759144 and http://pastebin.ca/1759151 ( most recent ) Is there any way to resolve this issue? Or is it normal since the machine has changed? I have found very little relating to this issue in the archives. The Missing cryptographic signature message is generated after the file has been restored, which is why the files appear OK. I'm not sure why that would happen, but it means that restore failed to find the signature that should have been generated when the file was backed up. Maybe the PKI configuration is incorrect or you changed it between backup and restore? I am just thinking that the issue might be caused by the fact that the keys were generated on the original client box, I didn't import them in the new ( recovery ) box, simply put them on disk and pointed the bacula configuration to them ( identical to the client ). Could that be the cause? I may be able to investigate further today. AFAIK, there is no need to import them (or indeed anywhere to import them to). The keys must have been used, because otherwise you couldn't decrypt the backup. That error would also be generated if the signature was not recorded. Are you 100% sure that it was actually encrypted and signed? What does the restore do on the original box if you remove the pki lines from the config? Also look at the output of bscan -v -v -r path-to-volume, to check for Stream=22 (encrypted data) and Stream=19 (signature). The output will be large, so I suggest writing it to file. __Martin -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Hi Martin, Ok I find this a bit strange, I can restore the files to the original client when I comment out the PKI lines in the config on it. However when I try to view this file on the master, it shows as encrypted garbage. I have this information from the bscan also: bscan: bscan.c:425 Record: SessId=30 SessTim=1264090948 FileIndex=2 Stream=22 len=640 bscan: bscan.c:425 Record: SessId=30 SessTim=1264090948 FileIndex=3 Stream=22 len=640 [root@ tmp]$ cat mysqlbscan-2010012501 | grep -i Stream=19 bscan: bscan.c:425 Record: SessId=30 SessTim=1264090948 FileIndex=2 Stream=19 len=322 bscan: bscan.c:425 Record: SessId=30 SessTim=1264090948 FileIndex=3 Stream=19 len=322 Thanks, Conor -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] 3924 Device not in SD Device resources Error on Windows backups only
Greetings, I solved this issue by taking back my configuration from scratch. I uncovered that the main problem was a mismatch between Director and Storage daemons. On Director, I got : "Media Type = File" under a storage section. On Storage, I got : "Media Type = file" So the Capital Letter (or not) was the problem. That's where the problem was since it appears to work just fine now. I am using Bacula 3.0.3 and winbacula 3.0.3a Hope this will help others with similar configuration issues. M. Sébastien LELIEVRE a écrit : John Drescher a écrit : Did you restart the sd after adding tse01-dv? Yes, I did Does your linux machines use tse01-dv? No, each machine has its on $HOSTNAME-dv, but those devices are on the same Storage Daemon Thank you for you support ! -- Cordialement Sébastien LELIEVRE AZNetwork 40 rue Ampère 61000 ALENÇON +33 (0)2 33 32 12 47 sebastien.lelie...@aznetwork.fr Pour respecter l’environnement, merci de n’imprimer que si nécessaire. -- This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Cordialement Sébastien LELIEVRE AZNetwork 40 rue Ampère 61000 ALENÇON +33 (0)2 33 32 12 47 sebastien.lelie...@aznetwork.fr Pour respecter l’environnement, merci de n’imprimer que si nécessaire. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Installation Configuration of Webacula admin Interface
On Saturday 23 January 2010 06:56:05 mehma sarja wrote: OK, I'm done with all the steps. How do you log into it? You still having issues with logging in ?? In fact, I don't remember any user settings in webacula, I'm just creating virtual host in apache for webacula dir and then adding apache password and IP lockdown to it. Without that additional apache bit, I would expect webacula being available in browser in that way : http://your.server.ip.or.domain/webacula/html;. -- Piotr Gbyliczek ForLinux Ltd, Innovation House, Cafferata Way Beacon Hill Business Park, Newark, Notts, NG24 2TN Tel: 0845 4210444 FAX 01636 703910, Web: http://www.forlinux.co.uk/ Registered Company No 04227715 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Installation Configuration of Webacula admin Interface
2010/1/25 Piotr Gbyliczek p...@forlinux.co.uk: On Saturday 23 January 2010 06:56:05 mehma sarja wrote: OK, I'm done with all the steps. How do you log into it? You still having issues with logging in ?? In fact, I don't remember any user settings in webacula, I'm just creating virtual host in apache for webacula dir and then adding apache password and IP lockdown to it. Without that additional apache bit, I would expect webacula being available in browser in that way : http://your.server.ip.or.domain/webacula/html;. Properly be so http://your.server.ip.or.domain/webacula/ other directories should not be accessible through a browser -- Piotr Gbyliczek ForLinux Ltd, Innovation House, Cafferata Way Beacon Hill Business Park, Newark, Notts, NG24 2TN Tel: 0845 4210444 FAX 01636 703910, Web: http://www.forlinux.co.uk/ Registered Company No 04227715 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- with best regards -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Schedule not working as expected
On 01/25/10 02:50, Glyn wrote: I have 2 external USB drives which I swap around each Monday, some jobs run during the day for the laptops and the servers run at night. I have a schedule which contains even weeks and of odd weeks, like this: Schedule { Name = WeeklyCycle Run = Level = Incremental IncrementalPool = Incr-Pool-B 1st 3rd 5th mon-fri at 19:05 Run = Level = Full FullPool = Full-Pool-B 1st 3rd 5th sat at 02:05 Run = Level = Incremental IncrementalPool = Incr-Pool-A 2nd 4th mon-fri at 19:05 Run = Level = Full FullPool = Full-Pool-A 2nd 4th Sat at 02:05 } Schedule { Name = DayTime Run = Level = Incremental IncrementalPool = Incr-Pool-B 1st, 3rd, 5th tue-fri at 09:05 Run = Level = Full FullPool = Full-Pool-B 1st, 3rd, 5th mon at 09:05 Run = Level = Incremental IncrementalPool = Incr-Pool-A 2nd, 4th tue-fri at 09:05 Run = Level = Full FullPool = Full-Pool-A 2nd, 4th mon at 09:05 } # This schedule does the catalog. It starts after the WeeklyCycle Schedule { Name = WeeklyCycleAfterBackup Run = Level = Full FullPool = Full-Pool-B 1st, 3rd, 5th mon-sat at 19:10 Run = Level = Full FullPool = Full-Pool-A 2nd, 4th mon-sat at 19:10 } Schedule { Name = DayTimeAfterBackup Run = Level = Full FullPool = Full-Pool-B 1st, 3rd, 5th mon-sat at 09:10 Run = Level = Full FullPool = Full-Pool-A 2nd, 4th mon-sat at 09:10 } However, the wom does not seem to get followed. If I do in the console, a status dir I get this: Scheduled Jobs: Level Type Pri Scheduled Name Volume === IncrementalBackup10 25-Jan-10 19:05SugarA *unknown* IncrementalBackup10 25-Jan-10 19:05TyphoonB *unknown* IncrementalBackup10 25-Jan-10 19:05CumulusB *unknown* IncrementalBackup10 25-Jan-10 19:05SugarB *unknown* IncrementalBackup10 25-Jan-10 19:05TyphoonA *unknown* IncrementalBackup10 25-Jan-10 19:05CumulusA *unknown* Full Backup11 25-Jan-10 19:10BackupCatalogA *unknown* Full Backup11 25-Jan-10 19:10BackupCatalogB hddb-full-0040 IncrementalBackup10 26-Jan-10 09:05GlynA *unknown* IncrementalBackup10 26-Jan-10 09:05ColynA *unknown* IncrementalBackup10 26-Jan-10 09:05GlynB *unknown* IncrementalBackup10 26-Jan-10 09:05ColynB *unknown* Full Backup11 26-Jan-10 09:10DayTimeBackupCatalogA *unknown* Full Backup11 26-Jan-10 09:10DayTimeBackupCatalogB hddb-full-0040 For some reason both odd and even week schedules are set to run every week. I am sure I have something wrong somewhere, but don't know where. Here is a single job resource for completeness: Job { Name = TyphoonB JobDefs = TyphoonJob Schedule = WeeklyCycle Pool = Default Full Backup Pool = Full-Pool-B Incremental Backup Pool = Incr-Pool-B Write Bootstrap = /var/lib/bacula/bin/Typhoon.bsr } I would appreciate any help here, please As far as I can see, this is doing exactly what you're telling it to do. You have TyphoonB set to run every weekday at 19:05, to alternate pools on alternate weeks, and there it is, scheduled to run at 19:05. What were you expecting to be different? -- Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355 ala...@caerllewys.net ala...@metrocast.net p...@co.ordinate.org Renaissance Man, Unix ronin, Perl hacker, Free Stater It's not the years, it's the mileage. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula Project Version 5.0.0 released to Source Forge
Hello, The source code tar files and the Windows (32/64) binaries for Bacula version 5.0.0 have been released to Source Forge. We are very pleased with this release for a number of reasons: 1. It is the 10th anniversary of the beginning of the Bacula Project 2. This is the first release that has been cut by someone other than me. Eric Bollengier did this one. 3. This release has a good number of important stablity enhancements as indicated by how few errors we have been seeing in the regresson tests. 4. More and more users are helping us test by running the regression tests (thanks). 5. There has been a significant number of contributions to this release -- in fact, the source code (SF git repo) contains patches in this version submitted by 21 people. Many thanks, and please keep it up! I have spent a good deal of effort trying to improve the Win32/64 install procedure. However, there are a number of problems. Please be sure to look at the Warnings below -- particularly the fact that you must de-install the prior version *before* attempting to upgrade to the current version. Thanks again to everyone for using Bacula and for all those who have contributed to the project. Best regards, Kern Release Notes for Bacula 5.0.0 Bacula code: Total files = 1,081 Total lines = 217,272 (Using SLOCCount) Release Numbering: --- You might be wondering why this release jumps from 3.0.x to 5.0.0 thus skipping version 4.0.0. We have done this for several reasons: first, we wanted a way of distinguishing the numbering system for the Bacula System Enterprise version and the Bacula Project version. So, to do so, we have decided that the first number of the Bacula Project version will always be odd, and the first number of the Enterprise version will always be even. Thus the Bacula Project now moves from 3.0.x to 5.0.x. In addition, we want to keep the Bacula Project version larger than the Enterprise version to indicate that the Bacula Project version is more advanced or has more features than the Enterprise version. For memory, the current Enterprise version is 2.6.1, and the next release (in a few months -- before June 2010) will be version 4.0.0. Warning: -- Please note the three Warnings below before doing any install or upgrade. Changes since 3.0.3a (the last Bacula Project release): --- Bug fixes: 1337 1351 1352 1354 1357 1361 1367 1369 1370 1373 1376 1391 1403 1409 1420 1422 1427 1428 1431 1450 1454 1455 1458 1456 Fixed: - Problem that locks the Director when the SMTP server wasn't responding to the bsmtp program - Restore's dir command shows incorrect file sizes - Fix various problems with the reload command - Fix problems with conio - Eliminate several deadlocks or potential race conditions from SD Enhancements: - Project 5: Truncate volume after purge - Project 6: File Deduplication using Base Jobs - Project 10: Restore from Multiple Storage Daemons - Project 11: AllowCompression per Device - Project 23: Add Maximum Concurent Jobs for Devices to balance load between drives - Add Accurate Fileset Options to configure accurate detection. Can use checksum verification for example. - Allow FD to keep root read but drop write permission (CAP) - Secure handling of passwords for catalog backup - Add Tab-completion for Bconsole when using Readline - Add Bvfs API to query the catalog without building a memory tree - Add new speed test to btape program - Add new Bat screens (Autochanger content, Job view, Media view, ...) - Windows version of Bat - Added Spanish Bacula translation - New bconsole -u nnn option to have timeout on commands - Allow Migrate, Copy, and Virtual Full to read and write to the same Pool - show disabled -- shows disabled Jobs - Add Pool File and Job retention periods (take precedence over Client) - Many ACL improvements - Level added to FD status Job entry - Allow turning on/off Block Checksum per device - Set Device Poll interval to 5 minutes -- previously did not poll - Implement lock manager with bad order protection Compatibility: As always, both the Director and Storage daemon must be upgraded at the same time, and on any given machine, you must run only one version of Bacula. This means that on the Director and Storage daemon machines, you *must* upgrade your File daemon as well. Older 3.0.x and possibly 2.4.x File Daemons are compatible with the 5.0.0 Director and Storage daemons. There should be no need to upgrade older File Daemons immediately. However, we recommend that you do so as soon as is reasonable for your situation. == Warning !! == New Catalog format in version 5.0.0 (3.1.9 or later) - This release of
Re: [Bacula-users] Installation Configuration of Webacula admin Interface
On Monday 25 January 2010 10:47:18 Yuri Timofeev wrote: Without that additional apache bit, I would expect webacula being available in browser in that way : http://your.server.ip.or.domain/webacula/html;. Properly be so http://your.server.ip.or.domain/webacula/ other directories should not be accessible through a browser I might have not followed your instructions in install file totally, but when I untar webacula tarball to directory, then I need to point my virtualhost to that directory plus /html bit, otherwise it does not work, showing me directory listing. That's why I said above in previous message. By the way thanks for this great piece of software. -- Piotr Gbyliczek ForLinux Ltd, Innovation House, Cafferata Way Beacon Hill Business Park, Newark, Notts, NG24 2TN Tel: 0845 4210444 FAX 01636 703910, Web: http://www.forlinux.co.uk/ Registered Company No 04227715 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Schedule not working as expected
Hi Phil, From what you are saying, I need to have 2 schedules (odd and even) rather then just the one. I also need 2 jobs for each client one for odd and one for even weeks, with each job pointing to the relevant schedule, yes? I thought that because the schedule defines the odd and even weeks, it would just run the appropriate jobs in those weeks. Is there a more elegant way of doing this, do you think? TIA Glyn +-- |This was sent by g...@cirrus.co.za via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Schedule not working as expected
On 01/25/10 09:09, glynd wrote: Hi Phil, From what you are saying, I need to have 2 schedules (odd and even) rather then just the one. I also need 2 jobs for each client one for odd and one for even weeks, with each job pointing to the relevant schedule, yes? I thought that because the schedule defines the odd and even weeks, it would just run the appropriate jobs in those weeks. It defines odd and even weeks to alternate pools, yes. But - guessing at what you're trying to do here - Bacula has no way to know, the way you've set it up, that you want given jobs to run to only one of those pools. I'm not really quite clear what you're trying to accomplish here, because what you seem to want Bacula to do is not what your Schedules say it should, but if your intent is to have each client only backed up every two weeks, in two alternate sets, then you need to create two different schedules (perhaps WeeklyCycleA and WeeklyCycleB) and part out the jobs between them accordingly. As it is, what you've told Bacula to do is run every job that uses the WeeklyCycle schedule every week, using your A and B pools on alternate weeks, and that's exactly what it's doing. You might want to sit down and plan out exactly what you want to happen, and then write a new set of schedules to accomplish it. -- Phil Stracchino, CDK#2 DoD#299792458 ICBM: 43.5607, -71.355 ala...@caerllewys.net ala...@metrocast.net p...@co.ordinate.org Renaissance Man, Unix ronin, Perl hacker, Free Stater It's not the years, it's the mileage. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Project Version 5.0.0 released to Source Forge
On 1/25/2010 7:17 AM, Kern Sibbald wrote: Hello Kern and others: This are great news for Bacula community. I want to update/upgrade my Bacula to this release but due to Terms of Use from SourceForge (http://p.sf.net/sourceforge/terms#ProhibitedPersons) my country, Cuba, can't download anything from SF. Could any help me hosting Bacula files on any other server just for download? -- Cheers ReynierPM -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula, Virtual Tapes and Tape Libraries
Hi every: I'm working in a methodology that I called Methodology for Design Implement Data Centers based on TIA-942 standards and so others. I want to keep a cloud or SaaS as is knowed and for backup recovery i propose to use Bacula instead others privative softwares. A DataCenter, as I though, have a SAN connected to Enclosures or Servers but connected to SAN have a Virtual Tape and then a Tape Library (for backups politics and save time between backups and restore). How Bacula deal with this? Any here have the same infraestructure? -- Cheers ReynierPM -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Windows client performance
Bacula sucks the vital essence from your computer says the slogan... and somehow it now looks true to me (though not the way it was meant to) After years of some experience with LinuxBacula combination, I finally started making some experiments with Windows client. After a few very (not so nicely) surprising experiencies in production environment, I set up a testbech with oldish 2.8 GHz (800 MHz FSB) Dual-Core P4 and 1 GB of memory, pata-interfaced 80 GB had drive, gigabit ethernet. Testbench was running a clean Windows XP sp3 with Winbacula 3.0.3a. No antivirus stuff (yet), no real applications, nothing to cause any extra mess. Fileset contains basically /WINDOWS/system32 directory. It's something I could find from every system I tried before this testbench. The very basic test result: Elapsed time: 2 mins 35 secs Priority: 10 FD Files Written: 4,648 SD Files Written: 4,648 FD Bytes Written: 664,739,011 (664.7 MB) SD Bytes Written: 665,458,318 (665.4 MB) Rate: 4288.6 KB/s Software Compression: None VSS:yes Encryption: no Accurate: no Then, after adding lowest-level (GZIP1) compression: Elapsed time: 2 mins 43 secs Priority: 10 FD Files Written: 4,648 SD Files Written: 4,648 FD Bytes Written: 308,509,378 (308.5 MB) SD Bytes Written: 309,228,685 (309.2 MB) Rate: 1892.7 KB/s Software Compression: 53.6 % VSS:yes Encryption: no Accurate: no Basically, it takes the same amount of real time to run the same job, and some more cpu load, but no peak in workstation's cpu load meter exceeded 50%. Any ideas what is the bottleneck here? I think 1GB of memory should be enough for XP alone. Some glue makes me think about the disk, but this rate is a decade below what to expect from even that old hard disk. Finally, for reference purposes I installed antivirus sw (NOD32) to the testbench, it drops only about 10% of the rate above: Elapsed time: 2 mins 51 secs Priority: 10 FD Files Written: 4,657 SD Files Written: 4,657 FD Bytes Written: 665,372,665 (665.3 MB) SD Bytes Written: 666,093,882 (666.0 MB) Rate: 3891.1 KB/s Software Compression: None VSS:yes Encryption: no Accurate: no My Bacula DIR/SD is a CentOS 5.4 box, old 32-bit piece of junk, a lower speed hw than the workstation described above. As a reference, below is a sample of backup from a linux box (64-bit CentOS), it's of the same class with rates when backing up the SD/DIR machine itself -which obviously limits the rate to 11-12MB/s level. Anyway, the samples above were clearly not limited by the Bacula server. Elapsed time: 8 mins 1 sec Priority: 10 FD Files Written: 7 SD Files Written: 7 FD Bytes Written: 5,311,971,015 (5.311 GB) SD Bytes Written: 5,311,971,759 (5.311 GB) Rate: 11043.6 KB/s Software Compression: None VSS:no Encryption: no Accurate: no So, what's that tough with my Windows clients? -- TiN -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Windows client performance
Timo,. Your test involved just 600 some MB of data which may not be a large or varied enough data set. There is data and then there is data. Millions of small email index files is harder on Bacula than thousands of large files. And you don't mentioned if or how you controlled for your network bandwidth - did you keep all traffic off it? I'd suggest you use a data set which is typical of your intended use and multiply it by a factor of 10 and keep bandwidth stable. Mehma === -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Installation Configuration of Webacula admin Interface
Found the problem: The pgsql driver is not installed. Any ideas where I get one from and where I put it? Mehma === *Fatal error*: Uncaught exception 'Zend_Db_Adapter_Exception' with message 'The pgsql driver is not currently installed' in /var/www/webacula-3.4/library/Zend/Db/Adapter/Pdo/Abstract.php:111 Stack trace: #0 /var/www/webacula-3.4/library/Zend/Db/Adapter/Pdo/Pgsql.php(87) -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Installation Configuration of Webacula admin Interface
On 1/25/2010 12:01 PM, mehma sarja wrote: Any ideas where I get one from and where I put it? You can get it from your repo and when it's installed just restart your Apache and check (?php phpinfo() ? ) to see if driver is loaded or not -- Cheers ReynierPM -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Installation Configuration of Webacula admin Interface
On Monday 25 January 2010 17:01:26 mehma sarja wrote: Found the problem: The pgsql driver is not installed. Any ideas where I get one from and where I put it? Webacula uses PDO to access databases, so it seems that your php installation is missing PDO at all, or PDO pgsql part only. You need to install it through your distribution package manager ( like yum install php-pdo on CentOS ), or compile it from source ( http://php.net/manual/en/book.pdo.php ). That should make it accessible to Zend Framework and thus to your webacula. -- Piotr Gbyliczek ForLinux Ltd, Innovation House, Cafferata Way Beacon Hill Business Park, Newark, Notts, NG24 2TN Tel: 0845 4210444 FAX 01636 703910, Web: http://www.forlinux.co.uk/ Registered Company No 04227715 -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. The information contained in this message or any of its attachments maybe confidential and is intended for the exclusive use of the addressee(s). Any disclosure, reproduction, distribution or other dissemination or use of this communication is strictly prohibited without the express permission of the sender. The views expressed in this email are those of the individual and not necessarily those of ForLinux Limited. ForLinux Limited email is for business use only. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Windows client performance
On 1/25/2010 11:07 AM, Timo Neuvonen wrote: some more cpu load, but no peak in workstation's cpu load meter exceeded 50%. In Windows, 100% load means all CPU's together at max load. If you have two cores, 50% means 100% load on one core. So you're seeing the best that CPU can do (and P4's are a seriously awful design), short of a major change in the compression library to utilize multiple threads. -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Installation Configuration of Webacula admin Interface
Thanks Reiner, Got the pdo_pgsql installed using this link: http://www.theatons.com/ubuntu-install-php5-mysql-apache2-ssl-pdo-pdo_mysqland substituting pgsql. However, surfing to the html folder gives me a nice GUI and nothing after that. Meaning, I click on anyhting and get an error of nothing being there. Seems like it is looking for files in the html folder. Mine looks like so: drwxr-xr-x 6 root root 4096 2010-01-22 16:54 . drwxr-xr-x 9 root root 4096 2010-01-21 20:49 .. -rw-r--r-- 1 root root 1406 2009-12-02 00:00 favicon.ico -rw-r--r-- 1 root root 400 2010-01-22 16:54 .htaccess drwxr-xr-x 2 root root 4096 2009-12-02 00:00 images -rw-r--r-- 1 root root 7151 2009-12-02 00:00 index.php drwxr-xr-x 2 root root 4096 2009-12-02 00:00 scripts drwxr-xr-x 3 root root 4096 2009-12-02 00:00 styles drwxr-xr-x 2 root root 4096 2009-12-02 00:00 test_mod_rewrite si...@bacula:/var/www/webacula-3.4/html$ -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Installation Configuration of Webacula admin Interface
On 1/25/2010 12:46 PM, mehma sarja wrote: However, surfing to the html folder gives me a nice GUI and nothing after that. Meaning, I click on anyhting and get an error of nothing being there. Seems like it is looking for files in the html folder. Did you read the README file? Is all explain there, please check this first and come back with news -- Cheers ReynierPM -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula 5.0.0: Begin pruning Jobs older than 40 years 4 days...
Hello, I've upgraded one of my Bacula 3.0.3 to 5.0.0. All seems ok, there is only one thing I'm unsure about: at the end of every job now I have a line like this: 25-Jan 17:24 tramezzone-dir JobId 718: Begin pruning Jobs older than 40 years 4 days 16 hours 24 mins 54 secs. This happen before the normal Pruning of jobs for the single client, for example: 25-Jan 16:59 tramezzone-dir JobId 715: Begin pruning Jobs older than 40 years 4 days 15 hours 59 mins 37 secs. 25-Jan 17:00 tramezzone-dir JobId 715: Pruned 1 Job for client server05-fd from catalog. 25-Jan 17:00 tramezzone-dir JobId 715: Begin pruning Jobs. 25-Jan 17:00 tramezzone-dir JobId 715: No Files found to prune. 25-Jan 17:00 tramezzone-dir JobId 715: End auto prune. What's about that? Thanks for the support. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Encryption errors
On Mon, 25 Jan 2010 09:26:53 +, Conor O'Callaghan said: 2010/1/22 Martin Simmons mar...@lispworks.com On Fri, 22 Jan 2010 10:31:39 +, Conor O'Callaghan said: 2010/1/21 Martin Simmons mar...@lispworks.com On Wed, 20 Jan 2010 17:23:34 +, Conor O'Callaghan said: Hi everyone, Client/Server both 3.02 on linux x64 I have made some encrypted backups from my client, I can successfully recover from the backup using bconsole. When I try to simulate a machine crash, by using another machine with the keys and config from the original client, I get the following errors on restoration of files. The files appear to restore correctly regardless of the error relating to the encryption missing. http://pastebin.ca/1759144 and http://pastebin.ca/1759151 ( most recent ) Is there any way to resolve this issue? Or is it normal since the machine has changed? I have found very little relating to this issue in the archives. The Missing cryptographic signature message is generated after the file has been restored, which is why the files appear OK. I'm not sure why that would happen, but it means that restore failed to find the signature that should have been generated when the file was backed up. Maybe the PKI configuration is incorrect or you changed it between backup and restore? I am just thinking that the issue might be caused by the fact that the keys were generated on the original client box, I didn't import them in the new ( recovery ) box, simply put them on disk and pointed the bacula configuration to them ( identical to the client ). Could that be the cause? I may be able to investigate further today. AFAIK, there is no need to import them (or indeed anywhere to import them to). The keys must have been used, because otherwise you couldn't decrypt the backup. That error would also be generated if the signature was not recorded. Are you 100% sure that it was actually encrypted and signed? What does the restore do on the original box if you remove the pki lines from the config? Also look at the output of bscan -v -v -r path-to-volume, to check for Stream=22 (encrypted data) and Stream=19 (signature). The output will be large, so I suggest writing it to file. Hi Martin, Ok I find this a bit strange, I can restore the files to the original client when I comment out the PKI lines in the config on it. However when I try to view this file on the master, it shows as encrypted garbage. Yes, that is strange (though I'm not sure what you mean by on the master). Do you see any errors during the restore with no PKI lines? I would expect an error like No private decryption keys have been defined... to appear. I have this information from the bscan also: bscan: bscan.c:425 Record: SessId=30 SessTim=1264090948 FileIndex=2 Stream=22 len=640 bscan: bscan.c:425 Record: SessId=30 SessTim=1264090948 FileIndex=3 Stream=22 len=640 [root@ tmp]$ cat mysqlbscan-2010012501 | grep -i Stream=19 bscan: bscan.c:425 Record: SessId=30 SessTim=1264090948 FileIndex=2 Stream=19 len=322 bscan: bscan.c:425 Record: SessId=30 SessTim=1264090948 FileIndex=3 Stream=19 len=322 That looks correct, assuming those lines correspond to the files of interest and that is the correct job. It is worth looking at a few lines before that, which should show the filename (maybe use grep --context=6). __Martin -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Project Version 5.0.0 released to Source Forge
Clarifying SourceForge.net’s denial of site access for certain persons in accordance with US law http://ow.ly/10fVL On 1/25/2010 10:35 AM, Kern Sibbald wrote: Hello Reynier, I wasn't aware that Source Forge prohibited Open Source software from being distributed in a number of countries such as yours. It suprises me and in my opinion is not a good thing, but then Source Forge is a US entity and so they have no choice. Since Bacula is developed in Switzerland, we do not have such export restrictions. However, that said, eventhough we are not directly subject to US export laws, we would like to avoid any potential problems with the US government, so I would hesitate to setup another server. However, you might want to know that very often we load the Bacula release files onto http://www.bacula.org/downloads so that people can test them and developers can share the final versions before they are posted on Source Forge. If you look there, you will probably find what you want, but we cannot guarantee how long they will remain (normally they are only removed when the next version is released). I hope that helps. Best regards, Kern On Monday 25 January 2010 15:21:08 ReynierPm wrote: On 1/25/2010 7:17 AM, Kern Sibbald wrote: Hello Kern and others: This are great news for Bacula community. I want to update/upgrade my Bacula to this release but due to Terms of Use from SourceForge (http://p.sf.net/sourceforge/terms#ProhibitedPersons) my country, Cuba, can't download anything from SF. Could any help me hosting Bacula files on any other server just for download? -- Throughout its 18-year history, RSA Conference consistently attracts the world's best and brightest in the field, creating opportunities for Conference attendees to learn about information security's most important issues through interactions with peers, luminaries and emerging and established companies. http://p.sf.net/sfu/rsaconf-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] bacula and mysql password security
Hi, I'm new to bacula and would appreciate some advice on securing mysql with bacula. I have installed bacula-3.0.3 on Centos 5.4 with MySQL and all seems to be working well. My only concern is how to add password protection to the mysql database and not cause any of the bacula scripts to stop working. I have very little scripting or mysql experience so I hope you can be patient with my questions. I was wondering if anyone knows of a simple how to or can provide some steps that I can follow to add passwords to both the root and bacula mysql users while still allowing bacula to operate. Thanks. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Windows client performance
Mike Ruskai than...@earthlink.net kirjoitti viestissä news:4b5dcf2f.9050...@earthlink.net... On 1/25/2010 11:07 AM, Timo Neuvonen wrote: some more cpu load, but no peak in workstation's cpu load meter exceeded 50%. In Windows, 100% load means all CPU's together at max load. If you have two cores, 50% means 100% load on one core. Actually, there were two graphs, one per core. Neither of them peaked close to 50% at GZIP1 level. After increasing comprerssion level (up to GZIP9), it needed more cpu load, but it wasn't absolutely the limiting factor if the graphs are somehow close to truth. But the basic question still is, what limits the data rate without compression, when cpu load is very low? Using compression still drops the compressed rate by same factor the data size shrinks, while the required real time doesn't practically chage at all. Sounds very much like it was a limit of disk io rate, but it sounds unbelievable to me since figures are that low. But maybe I'll need to test disk read performance first by some other means. It will just take a couple of days until I'll have time for that project again. So you're seeing the best that CPU can do (and P4's are a seriously awful design), short of a major change in the compression library to utilize multiple threads. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Windows client performance
mehma sarja mehmasa...@gmail.com kirjoitti viestissä news:ec5d34681001250830h9cfb180naea17beb1a544...@mail.gmail.com... Timo,. Your test involved just 600 some MB of data which may not be a large or varied enough data set. There is data and then there is data. Millions of small email index files is harder on Bacula than thousands of large files. And you don't mentioned if or how you controlled for your network bandwidth - did you keep all traffic off it? I'd suggest you use a data set which is typical of your intended use and multiply it by a factor of 10 and keep bandwidth stable. Network load definetely wasn't the reason here, hard to document it, but I just know it. Also, the results were very repeatable when I run the same test several times, this doesn't sound like a network load problem either. But yes, I'll need to re-run the test with another type of data. A lot of small files will cause plenty of overhead. I just didn't think it would be that much overhead... -- Timo -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Max Wait Time
Hi, I'm trying to use Max Wait Time to abort jobs that are stuck waiting for an appendable volume. From reading the mailing list and the manual my understanding is that this should work starting from version 3. In my case though the jobs are not cancelled, but they stay in the queue and block all subsequent jobs. Did anyone manage to have Max Wait Time working? Thanks, Daniel. PS: I'm running 3.0.2. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Windows client performance
On 1/25/2010 2:46 PM, Timo Neuvonen wrote: Mike Ruskaithan...@earthlink.net kirjoitti viestissä news:4b5dcf2f.9050...@earthlink.net... On 1/25/2010 11:07 AM, Timo Neuvonen wrote: some more cpu load, but no peak in workstation's cpu load meter exceeded 50%. In Windows, 100% load means all CPU's together at max load. If you have two cores, 50% means 100% load on one core. Actually, there were two graphs, one per core. Neither of them peaked close to 50% at GZIP1 level. After increasing comprerssion level (up to GZIP9), it needed more cpu load, but it wasn't absolutely the limiting factor if the graphs are somehow close to truth. You can't go by Task Manager graphs, either. Unless you set process affinity, the thread will be scheduled on alternating cores, and the graphs won't accurately represent how loaded each core is over time. If you have a single thread running at full speed, it will very likely look like roughly 50% usage on each core over time. The calculations just don't happen with a granularity small enough to show the actual usage. If you look at the CPU usage figure on the bottom left, however, that will be reasonably accurate. If it reads 50%, then the compression work is going as fast as it can. But the basic question still is, what limits the data rate without compression, when cpu load is very low? Using compression still drops the compressed rate by same factor the data size shrinks, while the required real time doesn't practically chage at all. Sounds very much like it was a limit of disk io rate, but it sounds unbelievable to me since figures are that low. But maybe I'll need to test disk read performance first by some other means. It will just take a couple of days until I'll have time for that project again. It could be either disc I/O or network I/O that's bottlenecking. The Bacula file daemon for Windows is definitely not restricted to the rates you're seeing. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Incr/Diff upgrading to Full even after doing a Full?
I am running into a problem here. I have had to purge a previous full backup for a client machine. I then manually ran a full backup from the console.After that was completed I then tried to manually run an incremental (as the full took several days to run). But if I try either a differential or incremental backup both are upgraded to full's with the message No prior or suitable Full backup found in catalog. Doing FULL backup. The full backup is in the catalogue and I can restore files from it. It's as if there is no link to the full for some reason. How can I get bacula to recognize the full backup for subsequent incremental's/differentials? Attached is my bacula-dir.conf Steve Director { Name = loki-dir DIRport = 9101 HeartbeatInterval= 295 Maximum Concurrent Jobs = 1 Messages = Daemon Password = xx PidDirectory = /var/run QueryFile = /opt/bacula/etc/query.sql WorkingDirectory = /opt/bacula/var/bacula/working } JobDefs { Name = DefaultJob Accurate = yes Client = loki-fd FileSet = loki-FileSet Level = Incremental Messages = Standard Pool = BackupSetDD Priority = 50 Storage = LTO4 Type = Backup } Job { Name = loki-FullBackup Accurate = yes Client = loki-fd FileSet = loki-FileSet Level = Full Messages = Standard Pool = BackupSetAA Priority = 10 Schedule = loki-Schedule Storage = LTO4 Type = Backup } Job { Name = loki-DiffBackup Accurate = yes Client = loki-fd FileSet = loki-FileSet Level = Differential Messages = Standard Pool = BackupSetDD Priority = 20 Storage = LTO4 Type = Backup } Job { Name = loki-IncrBackup Accurate = yes Client = loki-fd FileSet = loki-FileSet Level = Incremental Messages = Standard Pool = BackupSetDD Priority = 30 Storage = LTO4 Type = Backup } Job { Name = loki-BackupCatalog Client = loki-fd FileSet = Catalog Level = Full Level = Incremental Messages = Standard Pool = BackupSetDD Priority = 15 RunAfterJob = /opt/bacula/etc/delete_catalog_backup RunBeforeJob = /opt/bacula/etc/make_catalog_backup bacula bacula Schedule = loki-Catalog Storage = File Type = Backup Write Bootstrap = /opt/bacula/var/bacula/working/BackupCatalog.bsr } Job { Name = loki-FTPVerify Client = loki-fd FileSet = loki-VerifyFileSet Level = Catalog Messages = Standard Pool = BackupSetAA Schedule = loki-VerifySchedule Storage = LTO4 Type = Verify } Job { Name = RestoreFiles Accurate = yes Client = loki-fd FileSet = loki-FileSet Messages = Standard Pool = BackupSetAA Replace = Always Storage = File Type = Restore Where = /tmp/bacula-restores } FileSet { Name = loki-FileSet Ignore FileSet Changes = yes Include { Options { accurate=mcs1 checkfilechanges=yes hardlinks=yes noatime=yes onefs=yes recurse=yes signature=SHA1 sparse=yes verify=pns1 } File = / File = /boot File = /home/mldonkey File = /home/software File = /home/vmware File = /var/ftp } Exclude { File = /cdrom File = /dev File = /lost+found File = /media File = /opt/bacula/var/bacula/spool File = /opt/bacula/var/bacula/working File = /proc File = /sys File = /tmp File = /var/ftp/tmp File = /var/lock File = /var/run File = /var/tmp File = /.fsck File = /.journal } } FileSet { Name = loki-VerifyFileSet Ignore FileSet Changes = yes Include { Options { accurate=mcs1 checkfilechanges=yes hardlinks=yes noatime=yes onefs=yes recurse=yes signature=SHA1 sparse=yes verify=pns1 } File = /var/ftp File = /home/software } Exclude { File = /cdrom File = /dev File = /home/software/Backups File = /home/vmware/Virtual_Machines File = /lost+found File = /media File = /opt/bacula/var/bacula/spool File = /opt/bacula/var/bacula/working File = /proc File = /sys File = /tmp File = /var/ftp/findls-li File = /var/ftp/ls-lR File = /var/ftp/ls-lR.gz File = /var/ftp/ls-lR.Z File = /var/ftp/tmp File = /var/lock File = /var/run File = /var/tmp File = /.fsck File = /.journal } } FileSet { Name = Catalog Include { Options { signature = MD5 } File = /opt/bacula/var/bacula/working/bacula.sql } } Schedule { Name=loki-Schedule Run=Full Pool=BackupSetAA 1st Friday December at 17:00 Run=Differential Pool=BackupSetDD FullPool=BackupSetAA 2nd 4th Sat at 05:00 Run=Incremental Pool=BackupSetDD FullPool=BackupSetAA Sun-Fri at 05:00 } Schedule { Name = loki-Catalog Run = Full sun-sat at 23:10 } Schedule { Name=loki-VerifySchedule Run= Level=Catalog 3rd 5th Friday at 06:00 } Client { Name = loki-fd Address = loki AutoPrune = yes Catalog = MyCatalog FDPort = 9102 File Retention = 365 days Job Retention = 13 months Password =
[Bacula-users] disk-changer
Hi, I'm trying to setup a backup storage daemon using files to disks in the server. I'd like to use the disk-changer Automount script. You can see my configuration below. I'm running in all nodes Bacula version 3.0.2 on Redhat 4. I've looked at: http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg38965.html and http://www.adsm.org/lists/html/Bacula-users/2008-07/msg00073.html and in the the script itself for help. I'm getting the errors below. Is there something I'm missing? -Renato $ sudo cat /var/lib/bacula/disk-changer.log 20100125-23:12:23 Parms: /etc/bacula/disk-changer.conf loaded 0 /data/backup/disk0 0 20100125-23:12:23 Doing disk -f /etc/bacula/disk-changer.conf 0 -- to find what is loaded 20100125-23:12:23 Parms: /etc/bacula/disk-changer.conf loaded 0 /data/backup/disk0 0 20100125-23:12:23 Doing disk -f /etc/bacula/disk-changer.conf 0 -- to find what is loaded 20100125-23:12:23 Parms: /etc/bacula/disk-changer.conf loaded 0 /data/backup/disk0 0 20100125-23:12:23 Doing disk -f /etc/bacula/disk-changer.conf 0 -- to find what is loaded () and this on the director: 25-Jan 23:11 backup01-dir JobId 9799: shell command: run AfterJob /usr/lib64/bacula/delete_catalog_backup 25-Jan 23:12 backup01-dir JobId 9800: Start Backup JobId 9800, Job=srv02.2010-01-25_23.11.58_06 25-Jan 23:12 backup01-dir JobId 9800: Using Device Disk-0 25-Jan 23:12 srv02-fd JobId 9800: DIR and FD clocks differ by 22 seconds, FD automatically compensating. 25-Jan 23:12 backup02-sd JobId 9800: Invalid slot=0 defined in catalog for Volume HQ-FileStorage-0122 on Disk-0 (/data/backup/disk0). Manual load may be required. 25-Jan 23:12 backup02-sd JobId 9800: 3301 Issuing autochanger loaded? drive 0 command. 25-Jan 23:12 backup02-sd JobId 9800: 3302 Autochanger loaded? drive 0, result: nothing loaded. 25-Jan 23:12 backup02-sd JobId 9800: Warning: dev.c:534 dev.c:532 Could not open: /data/backup/disk0, ERR=Is a directory 25-Jan 23:12 backup02-sd JobId 9800: 3301 Issuing autochanger loaded? drive 0 command. 25-Jan 23:12 backup02-sd JobId 9800: 3302 Autochanger loaded? drive 0, result: nothing loaded. 25-Jan 23:12 backup02-sd JobId 9800: Warning: dev.c:534 dev.c:532 Could not open: /data/backup/disk0, ERR=Is a directory 25-Jan 23:12 backup02-sd JobId 9800: 3301 Issuing autochanger loaded? drive 0 command. 25-Jan 23:12 backup02-sd JobId 9800: 3302 Autochanger loaded? drive 0, result: nothing loaded. 25-Jan 23:12 backup02-sd JobId 9800: Warning: dev.c:534 dev.c:532 Could not open: /data/backup/disk0, ERR=Is a directory 25-Jan 23:12 backup02-sd JobId 9800: Warning: label.c:330 Open device Disk-0 (/data/backup/disk0) Volume HQ-FileStorage-0122 failed: ERR=dev.c:532 Could not open: /data/backup/disk0, ERR=Is a directory $ mount /dev/sda2 on / type ext3 (rw) none on /proc type proc (rw) none on /sys type sysfs (rw) none on /dev/pts type devpts (rw,gid=5,mode=620) usbfs on /proc/bus/usb type usbfs (rw) /dev/sda1 on /boot type ext3 (rw) none on /dev/shm type tmpfs (rw) /dev/mapper/vg0-home on /home type ext3 (rw) /dev/mapper/vg0-opt on /opt type ext3 (rw) /dev/mapper/vg0-tmp on /tmp type ext3 (rw) /dev/mapper/vg0-usr on /usr type ext3 (rw) /dev/mapper/vg0-var on /var type ext3 (rw) none on /proc/sys/fs/binfmt_misc type binfmt_misc (rw) /dev/sdf1 on /data/backup/disk_x type ext3 (rw) /dev/sdb1 on /data/backup/disk0 type ext3 (rw) /dev/sdc1 on /data/backup/disk1 type ext3 (rw) /dev/sde1 on /data/backup/disk3 type ext3 (rw) /dev/sdg1 on /data/backup/disk5 type ext3 (rw) From bacula-sd.conf: Autochanger { Name = HQ-DiskAutochanger Device = Disk-0 Device = Disk-1 # Device = Disk-2 Device = Disk-3 # Device = Disk-4 Device = Disk-5 Changer Command = /usr/lib/bacula/disk-changer %c %o %S %a %d Changer Device = /etc/bacula/disk-changer.conf } Device { Name = Disk-0 Media Type = File Archive Device = /data/backup/disk0 Label Media = yes Random Access = yes Automatic Mount = yes Removable Media = no Always Open = yes Autochanger = yes Drive Index = 0 Device Type = File Autoselect = yes } Device { Name = Disk-1 Media Type = File Archive Device = /data/backup/disk1 Label Media = yes Random Access = yes Automatic Mount = yes Removable Media = no Always Open = yes Autochanger = yes Drive Index = 1 Device Type = File Autoselect = yes } Device { Name = Disk-2 Media Type = File Archive Device = /data/backup/disk2 Label Media = yes Random Access = yes Automatic Mount = yes Removable Media = no Always Open = yes Autochanger = yes Drive Index = 2 Device Type = File Autoselect = yes } Device { Name = Disk-3 Media Type = File Archive Device = /data/backup/disk3 Label Media = yes Random Access = yes Automatic Mount = yes Removable Media = no Always Open = yes Autochanger = yes Drive Index = 3 Device Type = File Autoselect = yes } Device { Name = Disk-4 Media Type = File Archive Device = /data/backup/disk4 Label Media = yes
Re: [Bacula-users] Windows client performance
Elapsed time: 2 mins 35 secs Priority: 10 FD Files Written: 4,648 SD Files Written: 4,648 FD Bytes Written: 664,739,011 (664.7 MB) SD Bytes Written: 665,458,318 (665.4 MB) Rate: 4288.6 KB/s Software Compression: None VSS:yes Encryption: no Accurate: no How long does it take to copy those files to a share on another windows computer? If you test that, make sure you 'pull' the files from another computer rather than 'push' them (eg originate the copy on the other computer). That should test your network and disk IO without involving Bacula. It would have to be an order of magnitude different at least to draw any real conclusions though. Then, after adding lowest-level (GZIP1) compression: Elapsed time: 2 mins 43 secs Priority: 10 FD Files Written: 4,648 SD Files Written: 4,648 FD Bytes Written: 308,509,378 (308.5 MB) SD Bytes Written: 309,228,685 (309.2 MB) Rate: 1892.7 KB/s Software Compression: 53.6 % VSS:yes Encryption: no Accurate: no Can you zip up the files to another computer? That might be a bit tricker to organise in a way that is similar to how bacula works... Any ideas what is the bottleneck here? I think 1GB of memory should be enough for XP alone. Some glue makes me think about the disk, but this rate is a decade below what to expect from even that old hard disk. The XP firewall at around sp2 was kind of broken in that the various tcp offloads didn't work properly and slowed things down to a crawl. Try disabling the firewall service in services.msc - just turning off the windows firewall on the network adapter is not sufficient, you have to stop the service. James -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bacula not restoreing files
My backsup are backing up and everythign seems ok but when i go to restore a file it just sits there. Starting restore of job Server01 to client server01-fd from storage File .. restore client=server01-fd jobid=36 storage=File it never goes any further any suggestions? Trying to restore to widnows box. +-- |This was sent by gash...@gmail.com via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Errors with 5.0.0 backup catalog
This is for the record. While creating the FreeBSD package for 5.0.0, I noticed a few new things to be aware of. With 5.0.0 comes a new backup catalog script. It parses the bacula-dir.conf file and extracts what it needs from that. This means you only need to specify the database connection information in one place and it is not passed to a script via the command line. If you see this error while running that script: 25-Jan 16:37 ducky.unixathome.org-dir JobId 32500: shell command: run BeforeJob /usr/local/share/bacula/make_catalog_backup.pl MyCatalog 25-Jan 16:37 ducky.unixathome.org-dir JobId 32500: BeforeJob: Can't get catalog information at /usr/local/share/bacula/make_catalog_backup.pl line 129. 25-Jan 16:37 ducky.unixathome.org-dir JobId 32500: Error: Runscript: BeforeJob returned non-zero status=13. ERR=Child exited with code 13 25-Jan 16:37 ducky.unixathome.org-dir JobId 32500: Error: Bacula ducky.unixathome.org-dir 5.0.0 (26Jan10): 25-Jan-2010 16:37:10 Then I suspect the permissions on make_catalog_backup.pl are insufficient for Bacula to run it. I made mine chown bacula:bacula and chmod 744: -rwxr-xr-- 1 bacula bacula 4120 Jan 25 17:10 make_catalog_backup.pl If you see this error: 25-Jan 16:44 ducky.unixathome.org-dir JobId 32502: shell command: run BeforeJob /usr/local/share/bacula/make_catalog_backup.pl MyCatalog 25-Jan 16:44 ducky.unixathome.org-dir JobId 32502: BeforeJob: Can't find your catalog (MyCatalog) in director configuration 25-Jan 16:44 ducky.unixathome.org-dir JobId 32502: Error: Runscript: BeforeJob returned non-zero status=1. ERR=Child exited with code 1 Then chances are the permissions on bacula-dir.conf or dbcheck are insufficient. Make sure this command works: # su -m bacula -c '/usr/local/sbin/dbcheck -B -c /usr/local/etc/bacula-dir.conf' catalog=MyCatalog db_name=bacula db_driver= db_user=bacula db_password= db_address= db_port=0 db_socket= db_type=PostgreSQL working_dir=/var/db/bacula If you get: /usr/local/sbin/dbcheck: Permission denied. Make sure bacula is allowed to run dbcheck. I use this: -rwxr-xr-- 1 root bacula 100225 Jan 25 17:12 dbcheck If you get this, check the permissions on bacula-dir.conf: 26-Jan 01:37 dbcheck: ERROR TERMINATION at parse_conf.c:898 Config error: Cannot open config file /usr/local/etc/bacula-dir.conf: Permission denied I use this: -rw-r- 1 root bacula 9095 Jan 25 17:16 bacula-dir.conf Finally, to be sure, run this command: su -m bacula -c '/usr/local/share/bacula/make_catalog_backup.pl MyCatalog' and if that runs fine, Bacula should be able to run it. Also, if during the backup, you see permission errors on pathhierarchy or pathvisibility then the database upgrade wasn't run as the correct user. You may have to adjust the owner of the database to match that of the other tables. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula and mysql password security
I'm new to bacula and would appreciate some advice on securing mysql with bacula. I have installed bacula-3.0.3 on Centos 5.4 with MySQL and all seems to be working well. My only concern is how to add password protection to the mysql database and not cause any of the bacula scripts to stop working. In your director conf, there is a config section: Catalog { Name = MyCatalog dbname = bacula; dbuser = bacula; dbpassword = } Add a password, and set that user in mysql with that password. You might also limit the accessibility of the mysql database to local only. Check mysql's docs for these procedures. Now, you can add a user/pass prompt in the shell scripts that create db's but I presume that's done. Notice the catalogue job definition? It points to a Script: RunScript { RunsWhen = Before # RunsOnClient = No FailJobOnError = Yes Command = /usr/lib64/bacula/make_catalog_backup bacula bacula } If you open this script, you'll see the input argument expectations. Add your password at the end for example. Note the blurb on arg 3 as it pertains to doing this a better way. The mysql End User Guidelines for Password Security detail better approaches. The above should get you going and allow you to test before you complicate it even more. Document what you change. hth, jlc -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula and mysql password security
Andy Lamb wrote: Hi, I'm new to bacula and would appreciate some advice on securing mysql with bacula. I have installed bacula-3.0.3 on Centos 5.4 with MySQL and all seems to be working well. My only concern is how to add password protection to the mysql database and not cause any of the bacula scripts to stop working. I have very little scripting or mysql experience so I hope you can be patient with my questions. I was wondering if anyone knows of a simple how to or can provide some steps that I can follow to add passwords to both the root and bacula mysql users while still allowing bacula to operate. Bacula 5.0.0 has a new script which removes any issues. It reads bacula-dir.conf to get the connection details. See: http://www.bacula.org/manuals/en/install/install/Bacula_Security_Issues.html and http://www.bacula.org/manuals/en/catalog/catalog/Catalog_Maintenance.html#SECTION00214 -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula 5.0.0: Begin pruning Jobs older than 40 years 4 days...
mail...@securitylabs.it wrote: Hello, I've upgraded one of my Bacula 3.0.3 to 5.0.0. All seems ok, there is only one thing I'm unsure about: at the end of every job now I have a line like this: 25-Jan 17:24 tramezzone-dir JobId 718: Begin pruning Jobs older than 40 years 4 days 16 hours 24 mins 54 secs. This happen before the normal Pruning of jobs for the single client, for example: 25-Jan 16:59 tramezzone-dir JobId 715: Begin pruning Jobs older than 40 years 4 days 15 hours 59 mins 37 secs. 25-Jan 17:00 tramezzone-dir JobId 715: Pruned 1 Job for client server05-fd from catalog. 25-Jan 17:00 tramezzone-dir JobId 715: Begin pruning Jobs. 25-Jan 17:00 tramezzone-dir JobId 715: No Files found to prune. 25-Jan 17:00 tramezzone-dir JobId 715: End auto prune. What's about that? I see the same: FD termination status: OK SD termination status: OK Termination:Backup OK 26-Jan 02:17 ducky.example.org-dir JobId 32508: Begin pruning Jobs older than 39 years 7 months 10 days 2 hours 17 mins 20 secs. 26-Jan 02:17 ducky.example.org-dir JobId 32508: No Jobs found to prune. 26-Jan 02:17 ducky.example.org-dir JobId 32508: Begin pruning Jobs. 26-Jan 02:17 ducky.example.org-dir JobId 32508: No Files found to prune. 26-Jan 02:17 ducky.example.org-dir JobId 32508: End auto prune. I have forwarded your email to the Bacula users mailing list. -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] General backup advice
On 1/24/10 6:23 PM, RYAN vAN GINNEKEN wrote: Or should i backup the LVM partitions like this I think then i could make snapshots or something and get my databases too. Also i do not think i would have so much trouble umounting these if necessary the only real draw back i can see is i would have to add creating LVM during restore process which is not really that big of a deal. I guess i should go off and read the lvm wiki page on the bacula site now! File = /dev/md0 File = /dev/mapper/vg0-home on /home type ext3 (rw) File = /dev/mapper/vg0-opt on /opt type ext3 (rw) File = /dev/mapper/vg0-tmp on /tmp type ext3 (rw) File = /dev/mapper/vg0-usr on /usr type ext3 (rw) File = /dev/mapper/vg0-var on /var type ext3 (rw) Or should i just use what i have now and go through the whole make raid then lvm then dump files back then fix databases? Personally I run the bacula-fd client on each virtual machine and don't bother to backup the raw disks. -- Jon Schewe | http://mtu.net/~jpschewe If you see an attachment named signature.asc, this is my digital signature. See http://www.gnupg.org for more information. For I am convinced that neither death nor life, neither angels nor demons, neither the present nor the future, nor any powers, neither height nor depth, nor anything else in all creation, will be able to separate us from the love of God that is in Christ Jesus our Lord. - Romans 8:38-39 -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Bat 5.0.0 not showing Console
Have just updated all components to 5.0.0 and a remote bat connection does not display the console window - it just stays on the last selected page. When starting bat, it just goes up with a blank page, but all other pages display correctly. Anyone else seeing this? Regards, Richard -- The Planet: dedicated and managed hosting, cloud storage, colocation Stay online with enterprise data centers and the best network in the business Choose flexible plans and management services without long-term contracts Personal 24x7 support from experience hosting pros just a phone call away. http://p.sf.net/sfu/theplanet-com ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users