Re: [Bacula-users] Bacula-Web 6.0.0 released
Il 13/11/2013 10:01, Mauro Colorio ha scritto: uh? I feel annoying when a packages untars everything in the current folder and doens't creates a new folder :) it's better to use a sym link to manage variuos versions.. my 2 cent ciao Mauro -- DreamFactory - Open Source REST JSON Services for HTML5 Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Yes, it's annoying when tar archives unpack everything in the current directory. That's exactly what the OP is complaining about. He'd like tar xjf archive to create a project-version folder inside which all the files are extracted, like almost every project does. -- Marcello Romani -- DreamFactory - Open Source REST JSON Services for HTML5 Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Director console connection failures after upgrading from squeeze to wheezy (5.0-5.2)
Hi, I have recently upgraded my bacula box to debian wheezy. Bacula got upgraded to 5.2.6 (previous version was 5.0.2 IIRC). I started to get messages like the following one every minute: bacula-dir: ERROR in authenticate.c:415 Unable to authenticate console *UserAgent* at client: client-ip:client-port During the upgrade of the bacula package a warning came up stating that the previous director password had been changed to a more secure one. bconsole wouldn't connect anymore because of this. Just had to change the password in /etc/bconsole.conf and I could connect to the director again via bconsole. But the weird messages continued to appear. Turned out the culprit was a bacula-web alternative called almir, which I had installed almost one year before, that was still using the pre-update bconsole password, thus being unable to authenticate itself. After updating that password the messages stopped. Lesson learned: after changing bacula-dir password, remember to check the configuration of every third-party software that connects to it :-P I took me some time to figure this out, so I'm posting this in the hope it will be of some help to anybody stumbling upon a similar issue in the future. Marcello -- DreamFactory - Open Source REST JSON Services for HTML5 Native Apps OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access Free app hosting. Or install the open source package on any LAMP server. Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! http://pubads.g.doubleclick.net/gampad/clk?id=63469471iu=/4140/ostg.clktrk ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Best way to force a volume to recycle so it can be used immediately
Il 17/01/2013 21:36, Craig Isdahl ha scritto: All - I goofed on a config change and have multiple copies of 20gb data backups - I don't need all that so I'd like to recycle them immediately rather than waiting for auto recycling to happen (90 days). All backups are to disk volumes. What's the best way to do that? If I mark them 'used will that work? If not do I need to purge them? Version: 5.0.0 Thanks in advance! -- Craig -- 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 Used volumes are not selected for new backups. I think you should use the purge command on each volume you want to empty. Like: purge jobs volume=name of the volume -- Marcello Romani -- Master HTML5, CSS3, ASP.NET, MVC, AJAX, Knockout.js, Web API and much more. Get web development skills now with LearnDevNow - 350+ hours of 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_122812 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] no connect to win7-client
Il 21/09/2012 18:50, John Drescher ha scritto: Not 100% sure, but I think the FDAddress field in -fd.conf should report he FQDN of the client machine, not its ip address. It can be an ipaddress or a FQDN either will work. Since I use either in my client configs... I believe the problem that the OP needs to let bacula-fd through the windows firewall. This will not be enabled by default. John Thanks for clarifying that detail. Windows firewall is the likely cluprit, as you say. -- Marcello Romani -- 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] no connect to win7-client
Il 21/09/2012 18:50, John Drescher ha scritto: Not 100% sure, but I think the FDAddress field in -fd.conf should report he FQDN of the client machine, not its ip address. It can be an ipaddress or a FQDN either will work. Since I use either in my client configs... I believe the problem that the OP needs to let bacula-fd through the windows firewall. This will not be enabled by default. John Ehm... sorry, I answered before reading the rest of the thread... :P -- Marcello Romani -- 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] no connect to win7-client
Il 21/09/2012 10:06, Sven Gehr ha scritto: [snip] Not 100% sure, but I think the FDAddress field in -fd.conf should report he FQDN of the client machine, not its ip address. HTH -- Marcello Romani -- 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] how to use Maximum Bandwidth ?
Il 18/06/2012 14:35, Bryan Harris ha scritto: Hello Olivier, I also tried to use that directive. But I think it's only going to work in the Enterprise version of Bacula (it didn't work for me either). It seems so: http://www.bacula.org/en/dev-manual/main/main/Enterprise_Bacula_New_Featu.html Bryan On Jun 18, 2012, at 5:14 AM, Olivier L. wrote: Hi all, All is in title, how to use Maximum Bandwidth or Maximum Bandwidth per Job with bacula 5.2.3 or 5.2.6 ? I try to use it like it's indicated in the documentation but this parameter doesn't work. anybody have an idea ? -- 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 -- 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 -- Marcello Romani -- 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] [release] Almir 0.1.2 (bacula web interface)
Il 31/05/2012 21:09, Domen Kožar ha scritto: Hi all, I'm pleased to announce Almir 0.1.2. This is mostly a bugfix release. About Almir (bacula web interface): http://readthedocs.org/docs/almir/en/latest/ How to upgrade: http://readthedocs.org/docs/almir/en/latest/userguide.html#upgrading-to-a-newer-release Changelog: http://readthedocs.org/docs/almir/en/latest/changelog.html#id1 http://www.google.com/url?sa=Dq=http://readthedocs.org/docs/almir/en/latest/changelog.html%23id1usg=AFQjCNHZijIQMdtvcWu0WCoWNCevVva6sw Cheers, Domen -- 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 The Console section is awesome. -- Marcello Romani -- 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] Multiple bacula-sd dameons on same server?
Il 11/05/2012 16:50, Radosław Korzeniewski ha scritto: Hello, 2012/5/10 Troy Kocher tkoc...@mtadistributors.com mailto:tkoc...@mtadistributors.com Oh wise ones.. Demand on my bacula installation is growing and I need to increase the amount of simultaneous inbound data. One option that occurred to me was is it possible to launch multiple daemons on different ports of the same physical server? A simple question is: Yes, you can do that. All the data is written to disk only, no tape. It doesn't matter, unless you have a sufficient archive devices for multiple SD. If not any ideas for increasing my inbound capacity here would be really helpful. Currently I have jobs configured to cancel when they can't run in their window, to keep things from getting out of control when the job in line first takes to long. The main rule for increasing a backup performance of the Storage Daemon is to run multiple backup jobs concurrently. You can even run a hundred backup jobs per single Storage Daemon as long as you have an appropriate number of archive devices. You should read a ScanNet Story about Large Scale Disk-to-Disk backup. There were a very nice blog posts from Henrik Johansen about it, but it is currently unavailable on his website. He achieved about 600MB/s backup write performance per single Storage Daemon with about 100 concurrent jobs/archive devices. Bacula Storage Daemon is a multithreaded application, so in most cases it is not required to run a multiple sd instances on the same machine, just run a multiple archive devices. best regards -- Radosław Korzeniewski rados...@korzeniewski.net mailto:rados...@korzeniewski.net -- 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 Is it this ? http://myunix.dk/2010/12/01/large-scale-disk-to-disk-backups-using-bacula/ -- Marcello Romani -- 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] Running out of space on tape
Il 16/04/2012 15:59, Jack Cobb ha scritto: Hi, I am using Bacula 5.0.1 running on an Ubuntu 10.04 64-bit server with a Dell PowerVault TL2000 tape library attached via a SAS controller. In the library are two LTO4 drives and I am using LTO4 media. From a backup over the weekend I found the following message in the bacula log: utility-sd JobId 377: End of medium on Volume 32 Bytes=843,378,278,400 Blocks=13,073,199 at 14-Apr-2012 19:45 I was hoping to get more than 843GB on a tape that can hold 800GB without compression. I guess I can go to two tapes for this backup in the future but I would sure hate to spend money on more tapes. Has anyone run into a similar situation? Jack Cobb -- 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 If the data sent to tape is already compressed there's little that can be done by the tape drive to compress it further. For example, if all you store on the drive are text files, there are good chances you'll be able to store more than two times the uncompressed tape capacity. On the other side, if you store only jpeg images, it will fill up after no more than is native capacity, because the jpeg algorithm already eliminates redundand data from images in a very domain-specific way (thus any other algorithm can't do much better than that). So the actual size of data that can be stored on a tape depends on the level of redundancy of the data itself. In other words, one can only make assumptions about the native (i.e. uncompressed) tape capacity. HTH -- Marcello Romani -- 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] Have we reached bacula's limits?
Il 24/01/2012 10:05, Xabier Elkano ha scritto: El 23/01/12 16:28, Uwe Schuerkamp escribió: DB Size: Total clients: 107 Total bytes stored: 34.41 TB Total files: 47495362 Database size:31.64 GB Hi Uwe, I am having the same problem, backups are fast, but restores takes too long creating directory tree with bat. I have a lot of files to backup per client. I am using mysql with innodb engine, my File table is about 17GB on disk. My numbers: BytesPerJobAvg: 6539156346 ClientCount: 31 FileCount: 113286836 FileRetentionAvg: FilenameCount: 29713190 FilesPerJobAvg: 184213 JobRetentionAvg: PathCount: 6671143 TotalBytes: 1588763249151 TotalFiles: 44919364 First, I considered to create more bacula servers to separate clients on diferent databases, but now I am testing a configuration with one catalog per client. With this config, each client goes in separate db, It's more difficult to administer and setup it but I guess is the best way to scale the platform. Has anyone tried this config? Sorry for my bad english. Xabier -- 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 You mean 31 catalogs ?! -- Marcello Romani -- 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] Have we reached bacula's limits?
Il 24/01/2012 11:18, Xabier Elkano ha scritto: El 24/01/12 10:49, Marcello Romani escribió: Il 24/01/2012 10:05, Xabier Elkano ha scritto: El 23/01/12 16:28, Uwe Schuerkamp escribió: DB Size: Total clients: 107 Total bytes stored: 34.41 TB Total files: 47495362 Database size:31.64 GB Hi Uwe, I am having the same problem, backups are fast, but restores takes too long creating directory tree with bat. I have a lot of files to backup per client. I am using mysql with innodb engine, my File table is about 17GB on disk. My numbers: BytesPerJobAvg: 6539156346 ClientCount: 31 FileCount: 113286836 FileRetentionAvg: FilenameCount: 29713190 FilesPerJobAvg: 184213 JobRetentionAvg: PathCount: 6671143 TotalBytes: 1588763249151 TotalFiles: 44919364 First, I considered to create more bacula servers to separate clients on diferent databases, but now I am testing a configuration with one catalog per client. With this config, each client goes in separate db, It's more difficult to administer and setup it but I guess is the best way to scale the platform. Has anyone tried this config? Sorry for my bad english. Xabier -- 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 You mean 31 catalogs ?! Yes, now, I am only testing with two catalogs and it's working Ok, what are the downsides using this config? According to the documentation bacula supports it: The Catalog Resource defines what catalog to use for the current job. Currently, Bacula can only handle a single database server (SQLite, MySQL, PostgreSQL) that is defined when configuring*Bacula*. However, there may be as many Catalogs (databases) defined as you wish. For example, you may want each Client to have its own Catalog database, or you may want backup jobs to use one database and verify or restore jobs to use another database. -- 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 I'm just thinking out loud, but I don't see how having a catalog for each client can help you scale, since you can't put them on different db servers. You'd probably have a higher ROI by upgrading the DBMS hardware and/or migrating to postgres and/or throwing some (consultancy) money at tuning. Just my 2 cents. -- Marcello Romani -- 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] Have we reached bacula's limits?
Il 24/01/2012 12:21, Xabier Elkano ha scritto: [snip] I'm just thinking out loud, but I don't see how having a catalog for each client can help you scale, since you can't put them on different db servers. You'd probably have a higher ROI by upgrading the DBMS hardware and/or migrating to postgres and/or throwing some (consultancy) money at tuning. Just my 2 cents. Why not? If I want I can put each catalog on different db servers, each catalog has its own db config. But this is not the idea, I want to put all catalogs on the same db server but trying to keep tables as small as possible to reduce IOs on db server, because is the server bottleneck now. I can upgrade my server hardware, putting more memory or cpu, but my problem is on disks handling these table sizes. For the record: Currently, Bacula can only handle a single database server therefore you can't put different catalogs on different db servers. Also: In the current implementation, there is only a single Director resource, but the final design will contain multiple Directors to maintain index and media database redundancy. so now bacula is limited to a single director which connects to a single database server. So it seems the only way to spread the load of a huge db onto multiple servers is to exploit the load balancing and replication feature of the db server. These 2 cents of mine are based on my understanding of the docs :-) -- Marcello Romani -- 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] Have we reached bacula's limits?
Il 24/01/2012 17:43, Xabier Elkano ha scritto: El 24/01/12 17:02, Marcello Romani escribió: Il 24/01/2012 12:21, Xabier Elkano ha scritto: [snip] I'm just thinking out loud, but I don't see how having a catalog for each client can help you scale, since you can't put them on different db servers. You'd probably have a higher ROI by upgrading the DBMS hardware and/or migrating to postgres and/or throwing some (consultancy) money at tuning. Just my 2 cents. Why not? If I want I can put each catalog on different db servers, each catalog has its own db config. But this is not the idea, I want to put all catalogs on the same db server but trying to keep tables as small as possible to reduce IOs on db server, because is the server bottleneck now. I can upgrade my server hardware, putting more memory or cpu, but my problem is on disks handling these table sizes. May be, I've not explained it very well :-) Now, I can't grow my bacula installation without installing another director to distribute the clients, because using only one catalog, its database is too big and restores are becoming impossibles to do. So, I am currently testing two catalogs (with two databases) in same director and it is working fine (but, yes implies more stuff to do). For the record: Currently, Bacula can only handle a single database server I think that this sentence is only explaining that if you have compiled bacula to use mysql, you can only use mysql as db server (and not postgresql), but you can use as many mysql servers as you want to storage your catalogs. So what is the correct meaning of that sentence ? Only tests will tell :-) -- Marcello Romani -- 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] Bacula database is getting too long
Il 12/01/2012 21:03, Honia A ha scritto: After seeing your post I did some research and just ran this to change the ownership but didn't help: chown root:bacula /var/lib/bacula/bacula.sql The problem is not the permission bits on bacula.sql file, but rather those of /var/lib/bacula folder. If the process that is trying to create the bacula.sql file is run as user bacula, then /var/lib/bacula should be owned by user bacula, who should have rwx access permission. Or, if user bacula is part of group bacula, /var/lib/bacula could be owned by root:bacula, provided group permission is rwx as well. -- Marcello Romani -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula database is getting too long
Il 13/01/2012 15:30, Honia A ha scritto: Thanks for your reply. I just checked the permissions of the bacula folder and see the following: root@servername:/var/lib mailto:root@servername:/var/lib# ls -l drwx-- 2 baculabacula 4096 2012-01-13 09:24 bacula IMHO it should suffice. Is this sufficient? I've noticed the mysql error no longer shows up but the BackupCatalog job still returns error: 1650 Full 0 0 Error12-Jan-12 21:55 BackupCatalog How can I find out what's causing this error? Thank you in advance * ** * Well, I'd start reading the job log... HTH Date: Fri, 13 Jan 2012 10:58:39 +0100 From: mrom...@ottotecnica.com To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Bacula database is getting too long Il 12/01/2012 21:03, Honia A ha scritto: After seeing your post I did some research and just ran this to change the ownership but didn't help: chown root:bacula /var/lib/bacula/bacula.sql The problem is not the permission bits on bacula.sql file, but rather those of /var/lib/bacula folder. If the process that is trying to create the bacula.sql file is run as user bacula, then /var/lib/bacula should be owned by user bacula, who should have rwx access permission. Or, if user bacula is part of group bacula, /var/lib/bacula could be owned by root:bacula, provided group permission is rwx as well. -- Marcello Romani -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Marcello Romani -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] tuning lto-4
Il 19/12/2011 17:32, gary artim ha scritto: Thanks for the advice, _most_ responsive list I belong to! cheers! gary 2011/12/19 Radosław Korzeniewski rados...@korzeniewski.net: Hello, 2011/12/16 gary artim gar...@gmail.com No, just Spool Attributes = yes. g. A direct backup from FD into a SD tape device is performed with a little buffering and require more computation, disk seeks and context switching. It is a single, complicated chain with two threads one for FD and one for SD connected through logical network layer (even when a full backup is performed on local machine). With this chain it is very hard to get a full LTO speed. As opposite when you perform SD data spooling, you can easy achieve a full LTO speed because a writing chain (despooling) in SD is very simple and effective. Unfortunately doing a data spool takes a long time and slow down an overall backup speed. best regards -- Radosław Korzeniewski rados...@korzeniewski.net Would be curious to know if data spooling made any difference... Cheers! -- Marcello Romani -- 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] Forcing recycle
Il 20/12/2011 04:14, John Drescher ha scritto: On Mon, Dec 19, 2011 at 8:43 PM, Gary R. Schmidt g...@mcleod-schmidt.id.au wrote: Hi all, This is probably covered in the documentation, but I can't remember it. I am using bacula 3.0.3, and over the Yaksmas break I will run out of blank or already recycled tapes, so I am going to have to force some to be recycled, so I want to know if this will work: Mark the tapes Recycled Put them in the Scratch pool You probably want to Purge them to get their records out of the db. John -- 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 purge jobs volume=volume_label -- Marcello Romani -- 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] tuning lto-4
:0 SD Errors: 0 FD termination status: OK SD termination status: OK Termination:Backup OK FYI: fileserver is a virtual machine on a different host. HP LTO-1 drive, spool area and bacula database are on the same machine (postgres, btw). -- Marcello Romani -- 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] Noob user impressions and why I chose not to use Bacula
Il 06/12/2011 10:07, Phil Stracchino ha scritto: On 12/06/11 03:10, Marcello Romani wrote: Il 05/12/2011 03:39, Jesse Molina ha scritto: [snip food for thought] The closest thing to a custom eject tape builtin command in bconsole I could came up with is this: # admin job to manually eject tape from within bconsole Job { Name = TapeEject Type = Admin FileSet = LinuxDefaultSet Client = serverlinux-fd Storage = Tape Pool = Tape Messages = Standard RunBeforeJob = echo 'umount storage=Tape' | bconsole RunAfterJob = mt-st -f /dev/nst0 offl } This works on my setup, where I have a single tape drive (LTO-1, for the record). No autochanger. You know, personally I just set OfflineOnUnmount = yes. (The Tape storage was already unmounted when I tested the job.) It seems the proper way to unmount eject with a single command is to use offline on unmount = yes. Thanks. -- Marcello Romani -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Searching through backed-up files
Il 07/12/2011 13:29, Radosław Korzeniewski ha scritto: Hello, 2011/12/2 Marcello Romani mrom...@ottotecnica.com mailto:mrom...@ottotecnica.com Hallo, I've got a (hopefully not so) unusual problem. I need look for a text string inside some text files that I've backed up with bacula. The first, naive solution that comes to mind is of course to extract portion of the backup archive (e.g. going back in time), one fd-client at-a-time, do the search and then delete the restored files if the string is not found. But this process would be highly time-consuming and inefficient FWIKT. If you backup to disk volumes that you can search trough volume files. When you find a location (address) inside a volume then you can compare it with a jobmedia table in database. As a result you will get a jobid. In this case I assume that you don't perform any compression or encryption. best regards -- Radosław Korzeniewski rados...@korzeniewski.net mailto:rados...@korzeniewski.net Thank you for the suggestion. Unfortunately I compress files on disk. I could try this approach on tape, though. -- Marcello Romani -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Noob user impressions and why I chose not to use Bacula
Il 05/12/2011 03:39, Jesse Molina ha scritto: [snip food for thought] The closest thing to a custom eject tape builtin command in bconsole I could came up with is this: # admin job to manually eject tape from within bconsole Job { Name = TapeEject Type = Admin FileSet = LinuxDefaultSet Client = serverlinux-fd Storage = Tape Pool = Tape Messages = Standard RunBeforeJob = echo 'umount storage=Tape' | bconsole RunAfterJob = mt-st -f /dev/nst0 offl } This works on my setup, where I have a single tape drive (LTO-1, for the record). No autochanger. -- Marcello Romani -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Noob user impressions and why I chose not to use Bacula
Il 06/12/2011 10:07, Phil Stracchino ha scritto: On 12/06/11 03:10, Marcello Romani wrote: Il 05/12/2011 03:39, Jesse Molina ha scritto: [snip food for thought] The closest thing to a custom eject tape builtin command in bconsole I could came up with is this: # admin job to manually eject tape from within bconsole Job { Name = TapeEject Type = Admin FileSet = LinuxDefaultSet Client = serverlinux-fd Storage = Tape Pool = Tape Messages = Standard RunBeforeJob = echo 'umount storage=Tape' | bconsole RunAfterJob = mt-st -f /dev/nst0 offl } This works on my setup, where I have a single tape drive (LTO-1, for the record). No autochanger. You know, personally I just set OfflineOnUnmount = yes. Didn't know about that. Thank you. -- Marcello Romani -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Noob user impressions and why I chose not to use Bacula
Il 06/12/2011 11:15, James Harper ha scritto: The closest thing to a custom eject tape builtin command in bconsole I could came up with is this: # admin job to manually eject tape from within bconsole Job { Name = TapeEject Type = Admin FileSet = LinuxDefaultSet Client = serverlinux-fd Storage = Tape Pool = Tape Messages = Standard RunBeforeJob = echo 'umount storage=Tape' | bconsole RunAfterJob = mt-st -f /dev/nst0 offl } This works on my setup, where I have a single tape drive (LTO-1, for the record). No autochanger. It also supposes that the tape drive is local to the director, and not connected to another machine. james You're right. I should have mentioned it. Thanks. -- Marcello Romani -- Cloud Services Checklist: Pricing and Packaging Optimization This white paper is intended to serve as a reference, checklist and point of discussion for anyone considering optimizing the pricing and packaging model of a cloud services business. Read Now! http://www.accelacomm.com/jaw/sfnl/114/51491232/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Searching through backed-up files
Hallo, I've got a (hopefully not so) unusual problem. I need look for a text string inside some text files that I've backed up with bacula. The first, naive solution that comes to mind is of course to extract portion of the backup archive (e.g. going back in time), one fd-client at-a-time, do the search and then delete the restored files if the string is not found. But this process would be highly time-consuming and inefficient FWIKT. Searching around the 'net I found a potentially very useful object, named BaculaFS. Unfortunately it's requirements include pretty recent versions of postgresql (the db I currently use) and other libraries. Because of this I haven't been able to install it on my director host. If possible, I'd like to avoid upgrading this host just for the sake of installing baculafs... Does anybody have a hint about how to solve this ? Thank you in advance to anyone who'll answer. -- Marcello Romani -- 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. IT sense. And common sense. http://p.sf.net/sfu/splunk-novd2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] multiple spool files per job
Il 13/10/2011 11:51, Stefan Lubitz ha scritto: Hi, this feature would be really great. We have three Backup serves which all have single Jobs to backup (each job app. 13TB). The Time to despool is absolutely waste of time and could be used more efficient. This feature request is more than 4 Years old and still not implemented. Maybe I am wrong and I am sorry to say this, but as the data volume is growing all the time and this feature is still missing, I've got a notion that Bacula is not anymore up to date or state of the art. Regards, Stefan Hmmm... sounds like the perfect candidate for a paid enterprise feature request. I belive the creators of Bacula would be happy to hear from you. Just a hint... -- Marcello Romani -- 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] multiple spool files per job
Il 13/10/2011 15:16, Alan Brown ha scritto: Marcello Romani wrote: Hmmm... sounds like the perfect candidate for a paid enterprise feature request. I belive the creators of Bacula would be happy to hear from you. I looked into this earlier this year. Bacula Enterprise subscriptions are several _thousand_ euro per year, which is simply too much for us (and I daresay most academic sites). I'm not sure why Kern has priced this out of the reach of most organisations who'd be willing to pay 500-900 euro/year. I've never looked closely at their pricing, since we're a small shop and are doing reasonably well on our own so far, but if the prices are all-or-nothing in the range of thousands of dollars per year, as you write, then yes, I agree with you there's a gap in their support offering. Or maybe there are other companies offering bacula support / consulting which are able to fill this gap (as I'd expect with an opensource enterprise-grade software)... (ok I'll stop here since I've got nothing more to add than my own speculations :-) -- Marcello Romani -- 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] Question about the database structure of Bacula
Il 28/09/2011 20:47, Stefan Michael Guenther ha scritto: Hello, the table Status contains the long and the short form of the job status messages. When I have a look at the table JobHisto, it has a field named JobStatus, but most of the values are 54. How do get the real job status message out of the table JobHisto? Thanks, Stefan -- 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 jobstatus is char(1), can't hold values like '54'. For example on my installation I find: bacula= select distinct jobstatus from jobhisto; jobstatus --- A E f T (4 rows) bacula-dir Version: 5.0.2 (28 April 2010) i486-pc-linux-gnu debian 5.0.4 Anyway, if you're asking for an sql query you can try this: SELECT h.jobid, h.job, s.jobstatuslong FROM jobhisto h JOIN status s ON h.jobstatus=s.jobstatus; HTH -- Marcello Romani -- 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] Yet another 'Invalid command .messages' on restore
Il 21/09/2011 16:28, Marcio Merlone ha scritto: Em 21-09-2011 11:04, Marcello Romani escreveu: I suppose you're referring to Bat. If yes, Sorry, yes. :) do the following: Settings = Preferences Uncheck Check messages, or leave it checked but insert a very long interval (like 3600 seconds) Have done ages ago, no luck. below. This is not enough, though. If you have unread messages you'll still get the error on restore. Open an ssh (i.e. command line) connection to the bacula server. Launch the bconsole command and type the messages command. This will clear the unread messages queue in bacula. Now you can connect with BAT restore files without the .messages error. This is the procedure that currently works for me. HTH Good tip, but it is a workaround, not a solution. What is the solution? -- *Marcio Merlone* I haven't found one yet. This workaround seems good enough for me. I guess a definitive solution would come from modifying BAT (this looks like a bug in BAT to me). -- Marcello Romani -- 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] Questions about spooling
Il 01/09/2011 11:36, frank_sg ha scritto: Hi, I am doing some tests about spooling. I have created a spool filesystem for testing purposes. I decided to try a quiet small one - just 10 GB. Well, I get an ugly perfomance (10MB/s) with this one. So I assume that the spool file system is too small - is this assumption right? To get a bigger spool fs, there might be some options: 1) What is better: bigger spool fs or faster spool fs? So first option: 3,6 TB RAID0 with 12 SAS disks direct attatched vs second option: 2 or 3 120 GB SSDs? 2) Does it make any sense to have a spool fs much bigger than the tape size? (LTO4 - 800MB, with compression up to 1,6 TB - so does it make sense to use a fs 1,6 TB?) 3) Specially with the SSDs - will I run in problems because of MTBF? Is anybody using SSDs for spool fs? I have an autoloader with an SAS-LTO4 drive and I would like to get the drive to steam as fast as possible. Thanks for you answers! Regards, Frank +-- |This was sent by f...@frankeseidel.de via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users I'll add my 2 cents about spool filesystem size. IME the spool space gets emptied after every job run, so you need enough space just for the biggest job run you'll ever have, not for the entire tape. I'm not sure if this is a general rule or applies only to my setup though. About performance: to test the spool space performance I'd run some local disk benchmarks. Bacula job speed depends on so many other factors that it's almost impossible to use it as a benchmark for a single subsystem of the entire bacup process. In particular, look for bottlenecks at the client side: cpu, network and disk seek times. HTH. -- Marcello Romani -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Questions about spooling
Il 01/09/2011 11:36, frank_sg ha scritto: Hi, I am doing some tests about spooling. I have created a spool filesystem for testing purposes. I decided to try a quiet small one - just 10 GB. Well, I get an ugly perfomance (10MB/s) with this one. So I assume that the spool file system is too small - is this assumption right? To get a bigger spool fs, there might be some options: 1) What is better: bigger spool fs or faster spool fs? So first option: 3,6 TB RAID0 with 12 SAS disks direct attatched vs second option: 2 or 3 120 GB SSDs? 2) Does it make any sense to have a spool fs much bigger than the tape size? (LTO4 - 800MB, with compression up to 1,6 TB - so does it make sense to use a fs 1,6 TB?) 3) Specially with the SSDs - will I run in problems because of MTBF? Is anybody using SSDs for spool fs? I have an autoloader with an SAS-LTO4 drive and I would like to get the drive to steam as fast as possible. Thanks for you answers! Regards, Frank +-- |This was sent by f...@frankeseidel.de via Backup Central. |Forward SPAM to ab...@backupcentral.com. +-- -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users I almost forgot: the spool filesystem must be able to provide a sustained transfer rate a little greater than the nominal tape write rate, otherwise the benefits of spooling on tape wear will be lost due to the tape having to stop to wait for data from spool area. HTH. -- Marcello Romani -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Questions about spooling
Il 01/09/2011 13:38, frank_sg ha scritto: Thanks fpr replying. @Alexandre: Yes, exactly, the 10MB/s (average) come from bacula job report. @Marcello: No - very time the spool fs is full (or the maximum spool size per job etc.) is reached the spool fs is despooled to tape. And that is where I hope to get the advantage from: despooling with full speed to tape. You are right, the fs has to be fast enough - which SSDs would be obviously. That the reason for the idea about them. A RAID0 with 12 disks direct attached with SAS should also be fast enough - but which option is the one to choose? Regards, Frank I have not investigated deeply into bacula spooling... After your clarification I re-read this: http://www.bacula.org/en/dev-manual/main/main/Data_Spooling.html but I'm still not sure how the whole thing works if one doesn't set a limit on spool area size (I didn't). What puzzles me is that every e-mail I get from bacula (one e-mail per job run) contains lines similar to these: Job write elapsed time = 00:01:35, Transfer rate = 4.455 M Bytes/second Committing spooled data to Volume WednesdayTape. Despooling 423,960,356 bytes ... Despooling elapsed time = 00:00:25, Transfer rate = 16.95 M Bytes/second Sending spooled attrs to the Director. Despooling 2,392,621 bytes ... [...] Rate: 3405.1 KB/s Software Compression: None Which makes me wonder whether each job is spooled independently... About job speed: notice how the final speed reported for the whole job is very low compared to the despooling speed. That figure can be misleading. I think one has to consider transfer rate and despooling speed separately. -- Marcello Romani -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Full-Job gets killed by time limit
Il 31/08/2011 15:33, Jeremy Maes ha scritto: Op 31/08/2011 14:53, Uwe Bolick schreef: Hi, I have to backup a remote site with several TB of data over a slow connection (varying between 10-15 GB per hour). Under these circumstances, one of my initial Full jobs gets killed after 6 days: Bacula has a hardcoded time limit on jobs of 6 days. Kern called it an insanity check as any job that runs that long isn't all that useful... See http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg20159.html for a discussion on the mailing list from the past, and a pointer on where to change the time limit in the code if you wish. Regards, Jeremy DISCLAIMER http://www.schaubroeck.be/maildisclaimer.htm -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users I suggest emitting a warning on service startup if the user sets a max run time greater than this hardcoded limit. -- Marcello Romani -- Special Offer -- Download ArcSight Logger for FREE! Finally, a world-class log management solution at an even better price-free! And you'll get a free Love Thy Logs t-shirt when you download Logger. Secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsisghtdev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] LTO2 get filled at 136GB or 85GB
Il 10/06/2011 12:02, James Harper ha scritto: hi, i am running Bacula 5.0.2 on Debian Lenny amd64 with a Certance LTO2 streamer. since a while my backupjobs does not get finished, as bacula says 10-Jun 06:54 lx01-sd JobId 2422: Despooling elapsed time = 00:00:51, Transfer rate = 22.89 M Bytes/second 10-Jun 06:56 lx01-sd JobId 2422: Writing spooled data to Volume. Despooling 1,167,755,347 bytes ... 10-Jun 06:57 lx01-sd JobId 2422: Despooling elapsed time = 00:00:48, Transfer rate = 24.32 M Bytes/second 10-Jun 06:58 lx01-sd JobId 2422: Writing spooled data to Volume. Despooling 1,167,755,351 bytes ... 10-Jun 06:59 lx01-sd JobId 2422: End of Volume LX03DO01 at 159:2982 on device Certlto2 (/dev/nst0). Write of 64512 bytes got -1. 10-Jun 06:59 lx01-sd JobId 2422: Re-read of last block succeeded. 10-Jun 06:59 lx01-sd JobId 2422: End of medium on Volume LX03DO01 Bytes=158,745,581,568 Blocks=2,460,713 at 10-Jun-2011 06:59. LTO2 should be able to store 200GB on a media? 158GB is probably a bit low. 85GB is definitely a problem. Is this something that has been getting worse over time? How old are the tapes? Does your tape drive vendor provide any drive assessment tools? Eg HP provide Library Tape Tools. LTO is pretty smart and the heads are organised so that immediately after the media passes under the write head it passes under the read head and the data just written is read. If there is a problem reading it the data is rewritten. Obviously every time a block has to be rewritten the effective capacity of the tape is reduced. The drive assessment tools should tell you how much this is happening (margin, I think) and otherwise report the condition of the drive and the tapes. Some of our tapes are down to about 175GB capacity. Curiously it is the set of 5 tapes used on Fridays that are suffering from this problem which is strange as they are used about 5 times less than the other tapes. James -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users I suggest trying a btape fill test command. Just my 2 cents. -- Marcello Romani -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Director Control Protocol
Il 07/06/2011 18:35, Tim Gustafson ha scritto: Hi, I was wondering if there is any documentation anywhere on the protocol that bconsole uses to connect to the director and issue commands? I've built a web interface to the Bacula configuration files, and I would like to add the ability to reload the configuration and/or start or cancel jobs from that web interface as well. If it's not well documented, I'll just tcpdump the connection between bconsole and the director itself and try to reverse-engineer it, but I was hoping that it was actually documented somewhere. BTW: I don't need comments about re-inventing the wheel - I know there are other web-based Bacula tools out there; I built this one with specific organizational needs in mind. All I want to know is if the protocol between bconsole and the director is documented somewhere. I did find some documentation on the protocols for director-fd, direcdtor-sd and fd-sd, but nothing about bconsole-director. -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- Tim Gustafsont...@soe.ucsc.edu Baskin School of Engineering 831-459-5354 UC Santa Cruz Baskin Engineering 317B -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users I may sound silly, but have you tried looking at the source code ? -- Marcello Romani -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Archive function ?
Il 27/05/2011 16:32, Robert Kromoser ha scritto: Hi folks. Does exist any archive function in bacula. What do I mean? On a Backup the backed up data from a Fileset will stay on the filesystem after the backup. With an archive function the backed up data from the Fileset will be removed from the filesystem. Does exist any configuration option for that? br Robert -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users I think you should look into file and job retention periods. -- Marcello Romani -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] shutdown windows client after backup
Hi, I'd like to share a tip about shutting down a windows client after its backuò job has finished. Nothing spectacular, but I guessed somebody would find it useful. 1) Create a batch file with a suitable name, e.g. C:\shutdown.bat 2) Put this single line in it: shutdown -s -t 0 which simply means halt the system (-s) and do it now (-t 0). Then in bacula-dir.conf on the host where bacula director runs, edit the job resource of the windows client and add this line: ClientRunAfterJob = C:/shutdown.bat The client machine whill shutdown immediataly after the backup job has finished. Disclaimer: I haven't tested this with unsaved documents open... HTH -- Marcello Romani -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] shutdown windows client after backup
Il 26/05/2011 09:51, J. Echter ha scritto: Am 26.05.2011 09:23, schrieb Marcello Romani: Hi, I'd like to share a tip about shutting down a windows client after its backuò job has finished. Nothing spectacular, but I guessed somebody would find it useful. 1) Create a batch file with a suitable name, e.g. C:\shutdown.bat 2) Put this single line in it: shutdown -s -t 0 which simply means halt the system (-s) and do it now (-t 0). Then in bacula-dir.conf on the host where bacula director runs, edit the job resource of the windows client and add this line: ClientRunAfterJob = C:/shutdown.bat The client machine whill shutdown immediataly after the backup job has finished. Disclaimer: I haven't tested this with unsaved documents open... HTH also you can start and stop services with net stop and net start. cheers. -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Thank you for reminding me that useful bit. -- Marcello Romani -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] shutdown windows client after backup
Il 26/05/2011 11:00, Konstantin Khomoutov ha scritto: On Thu, 26 May 2011 09:23:22 +0200 Marcello Romanimrom...@ottotecnica.com wrote: I'd like to share a tip about shutting down a windows client after its backuò job has finished. Nothing spectacular, but I guessed somebody would find it useful. 1) Create a batch file with a suitable name, e.g. C:\shutdown.bat 2) Put this single line in it: shutdown -s -t 0 which simply means halt the system (-s) and do it now (-t 0). Then in bacula-dir.conf on the host where bacula director runs, edit the job resource of the windows client and add this line: ClientRunAfterJob = C:/shutdown.bat The client machine whill shutdown immediataly after the backup job has finished. The batch file is not needed: Client Run After Job = shutdown -r -t 30 -f exit /b 0 works just fine for us. We use -t 30 because otherwise sometimes shutdown does its job so fast, bacula-fd fails to report its completion which marks the whole job as failed. That exit /b 0 trick is not strictly needed here but is anyway useful for running other commands (for instance, on Windows machines we stop the antivirus program before making the backup and start it afterwards--otherwise the performance is horrible) which for some reason may fail and we do not want it to fail the whole backup job as a consequence. Thanks for the tips. -- Marcello Romani -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] shutdown windows client after backup
Il 26/05/2011 09:23, Marcello Romani ha scritto: Hi, I'd like to share a tip about shutting down a windows client after its backuò job has finished. Nothing spectacular, but I guessed somebody would find it useful. 1) Create a batch file with a suitable name, e.g. C:\shutdown.bat 2) Put this single line in it: shutdown -s -t 0 which simply means halt the system (-s) and do it now (-t 0). Then in bacula-dir.conf on the host where bacula director runs, edit the job resource of the windows client and add this line: ClientRunAfterJob = C:/shutdown.bat The client machine whill shutdown immediataly after the backup job has finished. Disclaimer: I haven't tested this with unsaved documents open... HTH Some random thoughts after reading the comments to my initial message: - don't use a batch file, but include the commands directly in the bacula-dir.conf directive. This has the advantage of keeping the information all in one place instead of spreading it on all of the clients (plus you don't have to backup those .bat files); - stop antivirus with Client Run Before Job directive - use exit /b 0 to avoid interrupting the job if some of the previous commands (e.g. net stop antivirus) fails for some reason (a slow backup is better than no backup); - delay shutdown somewhat to let bacula-fd close the job properly; - use -f option in shutdown to force closing open applications. - remember the difference between RunAfterJob and ClientRunAfterJob (guess how I found that out... ;-) Let's recap: ClientRunBeforeJob = antivirus stop command exit /b 0 ClientRunAfterJob = shutdown -s -t 30 -f exit /b 0 Thanks everybody for the useful suggestions. -- Marcello Romani -- vRanger cuts backup time in half-while increasing security. With the market-leading solution for virtual backup and recovery, you get blazing-fast, flexible, and affordable data protection. Download your free trial now. http://p.sf.net/sfu/quest-d2dcopy1 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] speed up my backups
Il 19/04/2011 15:37, hymie! ha scritto: So one of my machines has a few zillion tiny little files. My full backup took 44 hours. I can deal with that if I have to. My incremental backup has been running for 10 hours now. Files=71,560 Bytes=273,397,510 Bytes/sec=7,666 Errors=0 Files Examined=14,675,372 I know that bacula has to look at each file to determine if it's changed. And I am investigating whether or not we actually need to keep all of these little files, or if we can zip them up into archives. In the meantime, I'm just wondering if there is some why to speed up my backups. For example, signature=sizeonly or signature=stupid or some other undocumented and unrecommended (but needed) way to speed up the verification of file changes (or lack thereof). Thanks. --hymie!http://lactose.homelinux.net/~hymiehy...@lactose.homelinux.net --- -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Maybe it's not relevant to your case, but have you tried to enable spooling ? HTH -- Marcello Romani -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula-dir.conf - the DirAddress variable
Il 14/04/2011 23:41, John Drescher ha scritto: On Thu, Apr 14, 2011 at 5:37 PM, John Drescherdresche...@gmail.com wrote: That's my first message to the bacula-users mailing list. I searched in all the Bacula's documentation and didn't find the answer: In the bacula-dir.conf file there is a variable named DirAddress (the default is 127.0.0.1). I think I should to change to my server's IP, but I'm not sure. Yes. Change this and ALL instances of 127.0.0.1 or localhost to limit bacula to only the machine that the director runs on. Sorry my browser locked up because of an addon and I did not send what I intended.. I meant change all instances of 127.0.0.1 and localhost to the external ip address unless you want to limit bacula to only the machine that the director is on. Some over secure distributions supply bacula with default configuration files that cause bacula to be a single machine backup server that can only backup itself and you can only connect to it on the server itself.. John -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users One of these distros is debian. If you put the fqdn or hostname (as suggested by comments in the conf file) instead of the server IP address, check /etc/hosts and comment out or delete the line that has 127.0.0.1 and the hostname, otherwise the hostname will be translated to 127.0.0.1 and you'll be back to the start. -- Marcello Romani -- Benefiting from Server Virtualization: Beyond Initial Workload Consolidation -- Increasing the use of server virtualization is a top priority.Virtualization can reduce costs, simplify management, and improve application availability and disaster protection. Learn more about boosting the value of server virtualization. http://p.sf.net/sfu/vmware-sfdev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula on a mixed Win Ubuntu Lan
Il 11/04/2011 20:41, acorn12 ha scritto: On 11/04/2011 1:23 AM, Marcello Romani wrote: Il 10/04/2011 01:15, acorn12 ha scritto: On 08/04/2011 12:29 AM, Marcello Romani wrote: Il 08/04/2011 02:33, acorn12 ha scritto: I am trying to run bacula on a mixed LAN with some Win XP/Vista machines and one Ubuntu 10.04 Server. The server has the bacula 5.0.1 package installed, while on the Windows XP machine I have bacula-win32-5.0.3.exe installed. - As I am very new to bacula, I'm sure I am missing something, but have no clue what or where to look. Any hints or pointers are most welcome. TIA The Windows installer asks for the director name but doesn't set the password correctly. Copy the password from XP-fd.conf to the bacula-dir.conf Copying the password did not seem to make a difference. As a test I've installed bacula 5.0.1 bacula-console-qt, bacula-console and bacula-common packages in a VMWare Ubuntu box on WinVista. The director (also 5.0.1) runs on the machine 'geek', not on the local machine. Calling up just bconsole I get only: /user@ubuntu:~$ sudo bconsole Connecting to Director geek:9101 user@ubuntu:~$/ /user@ubuntu:~$ sudo bconsole -t user@ubuntu:~$/ Running BAT gives me the same error and behaves the same in every other way, first it does connect, but then fails with the same error message. So it looks it is not really (or at least not only) a Windows problem!!! bconsole.conf --- # # Bacula User Agent (or Console) Configuration File # Director { Name = geek-dir DIRport = 9101 address = geek Password = yveAet993vzsWug3KoZUKjVbdZy0nrSqIqQCFH80rIVS } --- bat.conf - # # Bacula Administration Tool (bat) configuration file # Director { Name = geek-dir DIRport = 9101 address = geek Password = yveAet993vzsWug3KoZUKjVbdZy0nrSqIqQCFH80rIVS } - -- Fight Spam - report it with wxSR http://www.columbinehoney.net/wxSR.shtml -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users I don't have a solution, but some other suggestions... In bacula-dir.conf, the Password field must match the one listed in the client conf files above. Same for Name parameter. Thank you; That much seems to check out OK In /etc/bacula/bacula-dir.conf check that DirAddress also reports geek In /etc/bacula/bacula-dir.conf I have DirAddress = 127.0.0.1 Check also that /etc/hosts doesn't contain an entry where the fqdn of geek is matched to 127.0.0.1 my /etc/hosts has two entries 127.0.0.1 geek.aww.net geek localhost 127.0.0.1 geek.aww.net Geek My understanding - which is very soft and unsure - is that that is sort of expected. Can you please help me understand why this is not wanted for bacula? and how I would have to change it to make things work? TIA The line should read just 127.0.0.1 localhost Bacula director is a server program, i.e. it creates a tcp socket to listen for incoming connections. That socket is bound to an ip address, which AFAIKT is taken from the address = line. If the hostname on that line translates to 127.0.0.1, then the bacula-director socket will be listening onlly to connections coming from the machine itself, i.e. won't respond to requests coming from the network. Omitting the 127.0.0.1 geek line will force the hostname (geek) to be resolved by the system by querying dns, which will produce the same result seen by the client machines (i.e. the ip address assigned to the ethernet interface). HTH -- Marcello Romani -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] backup level: last full timestamp ?
Hallo, daily bacula e-mail reports about job runs have a line like this: Backup Level: Incremental, since=2011-04-10 21:07:35 is it possible (or is it something to put into a wishlist) to have the last full backup timestamp also reported ? Thank you -- Marcello Romani -- Forrester Wave Report - Recovery time is now measured in hours and minutes not days. Key insights are discussed in the 2010 Forrester Wave Report as part of an in-depth evaluation of disaster recovery service providers. Forrester found the best-in-class provider in terms of services and vision. Read this report now! http://p.sf.net/sfu/ibm-webcastpromo ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula on a mixed Win Ubuntu Lan
Il 10/04/2011 01:15, acorn12 ha scritto: On 08/04/2011 12:29 AM, Marcello Romani wrote: Il 08/04/2011 02:33, acorn12 ha scritto: I am trying to run bacula on a mixed LAN with some Win XP/Vista machines and one Ubuntu 10.04 Server. The server has the bacula 5.0.1 package installed, while on the Windows XP machine I have bacula-win32-5.0.3.exe installed. - As I am very new to bacula, I'm sure I am missing something, but have no clue what or where to look. Any hints or pointers are most welcome. TIA The Windows installer asks for the director name but doesn't set the password correctly. Copy the password from XP-fd.conf to the bacula-dir.conf Copying the password did not seem to make a difference. As a test I've installed bacula 5.0.1 bacula-console-qt, bacula-console and bacula-common packages in a VMWare Ubuntu box on WinVista. The director (also 5.0.1) runs on the machine 'geek', not on the local machine. Calling up just bconsole I get only: /user@ubuntu:~$ sudo bconsole Connecting to Director geek:9101 user@ubuntu:~$/ /user@ubuntu:~$ sudo bconsole -t user@ubuntu:~$/ Running BAT gives me the same error and behaves the same in every other way, first it does connect, but then fails with the same error message. So it looks it is not really (or at least not only) a Windows problem!!! bconsole.conf --- # # Bacula User Agent (or Console) Configuration File # Director { Name = geek-dir DIRport = 9101 address = geek Password = yveAet993vzsWug3KoZUKjVbdZy0nrSqIqQCFH80rIVS } --- bat.conf - # # Bacula Administration Tool (bat) configuration file # Director { Name = geek-dir DIRport = 9101 address = geek Password = yveAet993vzsWug3KoZUKjVbdZy0nrSqIqQCFH80rIVS } - -- Fight Spam - report it with wxSR http://www.columbinehoney.net/wxSR.shtml -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users I don't have a solution, but some other suggestions... In bacula-dir.conf, the Password field must match the one listed in the client conf files above. Same for Name parameter. In /etc/bacula/bacula-dir.conf check that DirAddress also reports geek Check also that /etc/hosts doesn't contain an entry where the fqdn of geek is matched to 127.0.0.1 HTH -- Marcello Romani -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula on a mixed Win Ubuntu Lan
Il 08/04/2011 02:33, acorn12 ha scritto: I am trying to run bacula on a mixed LAN with some Win XP/Vista machines and one Ubuntu 10.04 Server. The server has the bacula 5.0.1 package installed, while on the Windows XP machine I have bacula-win32-5.0.3.exe installed. After installing bacula on the XP machine, I copied the data from the XP-fd.conf file to the Ubuntu machine bacula-director.conf file. Next I start BAT on the XP machine, after a short delay, the status bar says connected to director', but then it tries to connect again and after a much longer delay a dialog pops up saying bat aborting due to error in console/console.cpp:155 - Failed to connect to director for populateLists. I have searched thew GMANE list for the error, but did not have any luck at all. As far as I can tell the Ubuntu server is working well enough, though I have concentrated more on the Windows machines, which are the ones I really want to back up. As I am very new to bacula, I'm sure I am missing something, but have no clue what or where to look. Any hints or pointers are most welcome. TIA The Windows installer asks for the director name but doesn't set the password correctly. Copy the password from XP-fd.conf to the bacula-dir.conf HTH -- Marcello Romani -- Xperia(TM) PLAY It's a major breakthrough. An authentic gaming smartphone on the nation's most reliable network. And it wants your games. http://p.sf.net/sfu/verizon-sfdev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula jobs causing VM server reboot consequent job fail
Il 24/03/2011 10.27, Sami Haahtinen ha scritto: On Thu, Mar 24, 2011 at 10:49, farmershort bacula-fo...@backupcentral.com wrote: however, I had scheduled the first big test of this new bacula system a couple of days ago - and asked it to back up about 350GB from each of 2 servers - at the same time. Both of these backups should run concurrently, and back up to the same esata disk. I managed to get this to happen yesterday, by manually running both jobs from bconsole, but for some reason, whenever they run from schedule, then cause the VM to reboot. If you watch it happening, you see the VM go into saving mode, then saved then some minutes later it reboots. I would start by assuming that bacula is only the trigger in the situation and start by running stress tests on the virtual machines. First for the disks and then for the network (and if you use client side compression, on CPU as well). It's pretty likely that the higher IO loads have caused some driver to fail somewhere and that is causing the situation. I'm finding it rather unlikely that the cause would be directly related to bacula, but everything is possible. Regards, For example, VMWare 2 linux guests can have problems with virtual scsi disks under very high I/O loads (like those triggered by bacula backups), which cause the root fs to be remounted r/o, thus forcing a guest reset via vmware console. I've seen this happen mainly when vmware guest tools are installed. Suggestions on the web are to switch to a virutal ide controller. This example just to say that bacula can push virtual systems to their limits in terms of I/O throughput, thus exposing subtle bugs that are seen by guest systems as hardware failures. HTH -- Enable your software for Intel(R) Active Management Technology to meet the growing manageability and security demands of your customers. Businesses are taking advantage of Intel(R) vPro (TM) technology - will your software be a part of the solution? Download the Intel(R) Manageability Checker today! http://p.sf.net/sfu/intel-dev2devmar ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula and 16 bay JBOD
Il 18/03/2011 19:01, Mehma Sarja ha scritto: On 3/17/11 4:57 PM, Phil Stracchino wrote: On 03/17/11 18:46, Marcello Romani wrote: Il 16/03/2011 18:38, Phil Stracchino ha scritto: On 03/16/11 13:08, Mike Hobbs wrote: Hello, I'm currently testing bacula v5.0.3 and so far so good. One of my issues though, I have a 16 bay Promise Technologies VessJBOD. How do I get bacula to use all the disks for writing volumes to? I guess the way I envision it working would be, 50gb volumes would be used and when disk1 fills up, bacula switches over to disk2 and starts writing out volumes until that disk is filled, then on to disk3, etc.. eventually coming back around and recycling the volumes on disk 1. I'm not sure the above scenario is the best way to go about this, I've read that some people create a pool for each drive. What is the most common practice when setting up a JBOD unit with bacula? Any suggestions or advice would be appropriated. That scheme sounds like a bad and overly complex idea, honestly. Depending on your data load, I'd use software RAID to make them into a single RAID5 or RAID10 volume. RAID10 would be faster and, if set up correctly[1], more redundant; RAID5 is more space-efficient, but slower. [1] There's a right and a wrong way to set up RAID10. The wrong way is to set up two five-disk stripes, then mirror them; lose one disk from each stripe, and you're dead in the water. The right way is to set up five mirrored pairs, then stripe the pairs; this will survive multiple disk failures as long as you don't lose both disks of any single pair. Hi Phil, that last sentence sounds a little scary to me: this will survive multiple disk failures *as long as you don't lose both disks of any single pair*. Isn't RAID6 a safer bet ? That depends. With RAID6, you can survive any one or two disk failures, in degraded mode. You'll have a larger working set than RAID10, but performance will be slower because of the overhead of parity calculations. A third failure will bring the array down and you will lose the data. With RAID10 with sixteen drives, you can survive any one drive failure with minimal performance degradation. There is a 1 in 15 chance that a second failure will be the other drive of that pair, and bring the array down. If not, then there is a 1 in 7 chance that a third drive failure will be on the same pair as one of the two drives already failed. If not, the array will still continue to operate, with some read performance degradation, and there is now a just less than 1 in 4 chance (3/13) that if a fourth drive fails, it will be on the same pair as one of the three already failed. ... And so on. There is a cumulative 39% chance that four random failures will fail the entire array, which rises to 59% with five failures, and 78% with six. (91% at seven, 98% at eight, and no matter how many leprechauns live in your back yard, at nine failures you're screwed of course. It's like the joke about the two men in the airliner.) But if the array was RAID6, it already went down for the count when the third drive failed. Now, granted, multiple failures like that are rare. But ... I had a cascade failure of three drives out of a twelve-drive RAIDZ2 array between 4am and 8am one morning. Each drive that failed pushed the load on the remaining drives higher, and after a couple of hours of that, the next weakest drive failed, which pushed the load still higher. And when the third drive failed, the entire array went down. It can happen. But ... I'm running RAIDZ3 right now, and as soon as I can replace the rest of the drives with new drives, I'll be going back to RAIDZ2. Because RAIDZ3 is a bit too much of a performance hit on my server, and - with drives that aren't dying of old age - RAIDZ2 is redundant *enough* for me. There is no data on the array that is crucial *AND* irreplaceable *AND* not also stored somewhere else. What it comes down to is, you have to decide for yourself what your priorities are - redundancy, performance, space efficiency - and how much of each you're willing to give up to get as much as you want of the others. There is one more thing to think about and that is cumulative aging. Starting with all new disks is a false sense of security because as they age, and if they are in any sort of RAID/performance configuration, they will age and wear evenly. Which means they will all start to fail together. It is OK to design a system and assume one or two simultaneous drive failure - when the drives are relatively young. After 3 years of sustained use, like email storage, you are at higher risk no matter which RAID scheme you have used. Mehma This is an interesting point. But what parameter should one take into account to decide when it's time to replace an aged (but still good) disk with a fresh one ? Marcello
Re: [Bacula-users] File Storage for Windows and Linux
Il 17/03/2011 16:32, Mike Hendrie ha scritto: I do not have the firewall running on the windows computer or the linux box. Hmm Perhaps I will try the older bacula client to see if that will work. On Mar 17, 2011 10:28 AM, Steve Ellis el...@brouhaha.com mailto:el...@brouhaha.com wrote: On 3/17/2011 7:30 AM, Mike Hendrie wrote: *I cannot telnet from the windows machine to any 9102 port, is that the problem?* Yes. That is definitely a problem (may not be the only one). I haven't been following this thread closely, but it could easily be either the windows firewall or linux. For windows firewall, you don't have to turn it off, just add the bacula daemon as an exception. -se -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Another idea (from experience): if you have a debian system as your server platform, check /etc/hosts. By default the system fqdn name is put as an alias for 127.0.0.1, causing problems with bacula. HTH Marcello -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula and 16 bay JBOD
Il 16/03/2011 18:38, Phil Stracchino ha scritto: On 03/16/11 13:08, Mike Hobbs wrote: Hello, I'm currently testing bacula v5.0.3 and so far so good. One of my issues though, I have a 16 bay Promise Technologies VessJBOD. How do I get bacula to use all the disks for writing volumes to? I guess the way I envision it working would be, 50gb volumes would be used and when disk1 fills up, bacula switches over to disk2 and starts writing out volumes until that disk is filled, then on to disk3, etc.. eventually coming back around and recycling the volumes on disk 1. I'm not sure the above scenario is the best way to go about this, I've read that some people create a pool for each drive. What is the most common practice when setting up a JBOD unit with bacula? Any suggestions or advice would be appropriated. That scheme sounds like a bad and overly complex idea, honestly. Depending on your data load, I'd use software RAID to make them into a single RAID5 or RAID10 volume. RAID10 would be faster and, if set up correctly[1], more redundant; RAID5 is more space-efficient, but slower. [1] There's a right and a wrong way to set up RAID10. The wrong way is to set up two five-disk stripes, then mirror them; lose one disk from each stripe, and you're dead in the water. The right way is to set up five mirrored pairs, then stripe the pairs; this will survive multiple disk failures as long as you don't lose both disks of any single pair. Hi Phil, that last sentence sounds a little scary to me: this will survive multiple disk failures *as long as you don't lose both disks of any single pair*. Isn't RAID6 a safer bet ? Thanks. Marcello -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula and 16 bay JBOD
Il 18/03/2011 00:57, Phil Stracchino ha scritto: On 03/17/11 18:46, Marcello Romani wrote: Il 16/03/2011 18:38, Phil Stracchino ha scritto: On 03/16/11 13:08, Mike Hobbs wrote: Hello, I'm currently testing bacula v5.0.3 and so far so good. One of my issues though, I have a 16 bay Promise Technologies VessJBOD. How do I get bacula to use all the disks for writing volumes to? I guess the way I envision it working would be, 50gb volumes would be used and when disk1 fills up, bacula switches over to disk2 and starts writing out volumes until that disk is filled, then on to disk3, etc.. eventually coming back around and recycling the volumes on disk 1. I'm not sure the above scenario is the best way to go about this, I've read that some people create a pool for each drive. What is the most common practice when setting up a JBOD unit with bacula? Any suggestions or advice would be appropriated. That scheme sounds like a bad and overly complex idea, honestly. Depending on your data load, I'd use software RAID to make them into a single RAID5 or RAID10 volume. RAID10 would be faster and, if set up correctly[1], more redundant; RAID5 is more space-efficient, but slower. [1] There's a right and a wrong way to set up RAID10. The wrong way is to set up two five-disk stripes, then mirror them; lose one disk from each stripe, and you're dead in the water. The right way is to set up five mirrored pairs, then stripe the pairs; this will survive multiple disk failures as long as you don't lose both disks of any single pair. Hi Phil, that last sentence sounds a little scary to me: this will survive multiple disk failures *as long as you don't lose both disks of any single pair*. Isn't RAID6 a safer bet ? That depends. With RAID6, you can survive any one or two disk failures, in degraded mode. You'll have a larger working set than RAID10, but performance will be slower because of the overhead of parity calculations. A third failure will bring the array down and you will lose the data. With RAID10 with sixteen drives, you can survive any one drive failure with minimal performance degradation. There is a 1 in 15 chance that a second failure will be the other drive of that pair, and bring the array down. If not, then there is a 1 in 7 chance that a third drive failure will be on the same pair as one of the two drives already failed. If not, the array will still continue to operate, with some read performance degradation, and there is now a just less than 1 in 4 chance (3/13) that if a fourth drive fails, it will be on the same pair as one of the three already failed. ... And so on. There is a cumulative 39% chance that four random failures will fail the entire array, which rises to 59% with five failures, and 78% with six. (91% at seven, 98% at eight, and no matter how many leprechauns live in your back yard, at nine failures you're screwed of course. It's like the joke about the two men in the airliner.) But if the array was RAID6, it already went down for the count when the third drive failed. Now, granted, multiple failures like that are rare. But ... I had a cascade failure of three drives out of a twelve-drive RAIDZ2 array between 4am and 8am one morning. Each drive that failed pushed the load on the remaining drives higher, and after a couple of hours of that, the next weakest drive failed, which pushed the load still higher. And when the third drive failed, the entire array went down. It can happen. But ... I'm running RAIDZ3 right now, and as soon as I can replace the rest of the drives with new drives, I'll be going back to RAIDZ2. Because RAIDZ3 is a bit too much of a performance hit on my server, and - with drives that aren't dying of old age - RAIDZ2 is redundant *enough* for me. There is no data on the array that is crucial *AND* irreplaceable *AND* not also stored somewhere else. What it comes down to is, you have to decide for yourself what your priorities are - redundancy, performance, space efficiency - and how much of each you're willing to give up to get as much as you want of the others. Phil, that was an interesting read. Thanks for your detailed response. (Your last paragraph is of course the definitive word on the subject.) Now that I think about it, I realize I didn't fully take into account the high number of drives we're talking about. Probably if using RAID6 a spare drive is to be considered. Or, better yet, a mirror machine... But then we're back to it depends, I guess :-) Oh, and BTW, maybe it's time for me to move past these old limited raid levels and investigate ZFS and those intriguing RAIDZx arrays... Marcello -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d
Re: [Bacula-users] File Storage for Windows and Linux
Il 16/03/2011 00:48, Mike Hendrie ha scritto: Any suggestions or configuration requirements needed? Whatever it is I am constant. I setup 2 virtual bacula server instances and one physical instance. Also, I used The following clients - 2 virtual xp machines, 1 virtual windows 7 machines and 1 physical windows 7 machine. I get the same result every time. Regardless, it fails for windows. Any suggestions? Dns works for the bacula server and client workstations. Passwords are all the same. Thanks again I guess you mean you have tried three times, not that you run three bacula servers at once :-) Have you checked that the configuration file you setup in windows is the one actually used by the fd process ? On XP, the bacula 5.0.x installer puts a config file in C:\, but that's just for reference. The actual one is somewhere in C:\docs and settings\whatever\appdata\etc. (don't have a machine to look up the actual location right now). HTH -- Marcello Romani -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula bandwith usage
Il 11/03/2011 10:48, Laurent HENRY ha scritto: Le Wednesday 09 March 2011 16:28:52, vous avez écrit : I tried to enable spooling (500 Gb spool) for the tape backup. The perf were worse. BTW, I use 5GB spool. I assume then you do not run concurrent jobs? For a single job the time will be longer because bacula does not concurrently spool and despool but with concurrent jobs and spooling with a few GB spool size bacula will maximize the performance of the tape drive when spooling is enabled. I get despool rates of 20 to 50MB/s for LTO2 which is about what the tape drive can handle. The rates vary because of compression. Yes, i use just one job at a time. For disk backup, it seems to me spooling does not make sense. Attribute spooling makes sense for either though. Attribute spooling ? It refers to spooling of file attributes. IME if you activate spooling, file attributes are automatically spooled as well. -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Marcello Romani -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] One tape per day and Volume Use Duration
Hi all, searching the 'net for how to setup a one-tape-per-day schedule, I found in many places the suggestion to set the Volume Use Duration parameter to 23 hours. If I remember correctly, these are counted from the last written timestamp of the tape. So my question is: shouldn't this value take into account the time it takes for the backup to complete (otherwise subsequent backups are delayed until the previous day's tape becomes 'used') ? Is it correct to set it to something like 12 hours to remain on the safe side ? Thanks. -- Marcello Romani -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] One tape per day and Volume Use Duration
Il 10/03/2011 12:47, Martin Simmons ha scritto: On Thu, 10 Mar 2011 09:55:26 +0100, Marcello Romani said: searching the 'net for how to setup a one-tape-per-day schedule, I found in many places the suggestion to set the Volume Use Duration parameter to 23 hours. If I remember correctly, these are counted from the last written timestamp of the tape. So my question is: shouldn't this value take into account the time it takes for the backup to complete (otherwise subsequent backups are delayed until the previous day's tape becomes 'used') ? Is it correct to set it to something like 12 hours to remain on the safe side ? No, the Volume Use Duration is counted from the first written timestamp, so the only delay is the time between the scheduled time and the start time of the job. You were probably thinking of the Volume Retention, which /is/ counted from the last written time. __Martin -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Thank you Martin. -- Marcello Romani -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Should I use data spooling when writing to nfs mounted storage?
Il 03/03/2011 18:05, Phil Stracchino ha scritto: On 03/03/11 09:52, Fabio Napoleoni - ZENIT wrote: Il giorno 03/mar/2011, alle ore 04.52, Fabio Napoleoni - ZENIT ha scritto: I have my director using an external raid device which exports its filesystem with nfs protocol as storage. I just ended my bacula configuration and just launched my first remote job. I have this in the report JobId 3: Job write elapsed time = 00:14:23, Transfer rate = 1.182 M Bytes/second which seems a little poor to me (our network is currently on a 100M switch, we're planning to upgrade with something better in the near future). Currently data flows from bacula-fd on client to bacula-sd on bacula server and then the storage daemon writes data on a volume mounted in an nfs partition, so data goes on the wire at the same time. Is advisable to enable data spooling in the storage daemon in this situation? I made a try with this results JobId 7: Spooling data ... JobId 7: Job write elapsed time = 00:13:07, Transfer rate = 1.295 M Bytes/second JobId 7: Committing spooled data to Volume FullVolume-0004. Despooling 1,021,072,888 bytes ... JobId 7: Despooling elapsed time = 00:02:19, Transfer rate = 7.345 M Bytes/second JobId 7: Sending spooled attrs to the Director. Despooling 6,816,214 bytes ... There is only a little improvement of performances. So I'm asking you what is the transfer rate in your jobs? These rates are normal or are they slow compared to yours? Is there any way you can run your SD directly on the storage device, instead of the SD writing to storage mounted over NFS? Also, what about using a dedicated NIC to link SD with NFS storage ? That would avoid sharing bandwidth between nfs-traffic and client to storage daemon traffic. Just my 2 cents. -- Marcello Romani -- Colocation vs. Managed Hosting A question and answer guide to determining the best fit for your organization - today and in the future. http://p.sf.net/sfu/internap-sfd2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Windows XP Backup
Il 18/02/2011 20:17, John Drescher ha scritto: 2011/2/18 Mike Hendriem...@hendrienet.com: I simplified the FileSet to include one directory, c:\home. I then ran the estimate, from bconsole, to verify if the contents All files were accounted for. When I run the job I get this from the bconsole director status: 28 Full il93mdec-fd.2011-02-18_06.51.37_05 is waiting for Client il93mdec-test-fd to connect to Storage File. Nothing happens. why? Thanks Firewall on the machine with the storage? Improperly configured storage that uses 127.0.0.1 or localhost as its address? John Or even an /etc/hosts file where the fqdn of the storage daemon is translated to 127.0.0.1 Debian has this default, for example. -- Marcello Romani -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Off topic: Backing up Client Workstations
Il 18/02/2011 04:08, Randy Katz ha scritto: Hi, This is clearly off topic so flame away if need be! Since I have come to know many on this list are quite savvy how are you all backing up your personal workstations? The ones that have 2-5GB data and are not at the same location as your servers and are not on public ip space for one reason or another. Currently I have been using a client software I am not sure I like to do full/diffs to a user account on one of my main servers which gets backed up in the cycle. I am not sure this is the best I can do, any feedback much appreciated, thanks. Regards, Randy -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Hi, I'm not one of the savvy, but I've read some days ago a thread in this ml's archives about backing up a remote Windows client using bacula. Remote meaning its internet connection was not stable enough to handle the whole backup job traffic. The solution proposed was to mirror the client with rsync and use bacula to backup the rsync'd client image. HTH -- Marcello Romani -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Windows XP Backup
Il 16/02/2011 20:44, Mike Hendrie ha scritto: *Server: *Ubuntu 10.10 *File Backup Location: */bacula/backups *Local Server Backup:* worked! --- *Client:* XP *bconsole Status to client:* good --- *Question:* Running a Windows XP client backup to File. When I start the job via bconsole it said it started. When I look on the Windows XP client bacula says it is running. However, nothing is happening. why? -*Troubleshooting Information*- *Bconsole Storage Status:* Nothing there on the Windows Job *Bconsole Client Status:* JobID 15 Job il93mdec-fd.2011-02-16_07.18.11_03 is running Full System or Console Job started: 16-Feb-11 13:38 FIles=0 Bytes=0 Bytes/sec=0 Errors=0 Files Examined=0 SDSocket closed. FileSet Using for Windows === FileSet { Name =Windows Workstations Set Include { Options { exclude = yes ignore case = yes wildfile =*.bak wildfile =*.tmp wildfile =*.lnk wildfile =*.exe wildfile =*.cab wildfile =*.msi WildDir =c:/Documents and Settings/*/My Documents/My Pictures WildDir =c:/Documents and Settings/*/My Documents/My Music WildDir =c:/Documents and Settings/*/My Documents/My Videos WildDir =c:/Documents and Settings/*/My Documents/My Downloads WildDir =c:/Documents and Settings/*/My Documents/My Games } Options { signature = MD5 compression=GZIP noatime = yes checkfilechanges = yes ignore case = yes DriveType = fixed @/etc/bacula/fileset/windows_user_backup_places } Options { exclude = yes ignore case = yes Wild =c:/Documents and Settings/* } #Exclude Dir Containing =.svn # doesn't work File =c:/Documents and Settings } Exclude { File =c:/Documents and Settings/All Users File =c:/Documents and Settings/Administrador File =c:/Documents and Settings/Default User File =c:/Documents and Settings/LocalService File =c:/Documents and Settings/NetworkService } } Thanks -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Try estimate listing command in bconsole to see what files are selected by the fileset. echo estimate listing job=FileServerTape | bconsole | less Of course you should substitute FileServerTape with the actual name of your job. HTH -- Marcello Romani -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Job renaming
Hallo, I found a typo in a Job resource that has been backed up for a couple of weeks, so I wanted to rename it. Here are the steps I took. I hope it will be useful to somebody else. Bacula gurus feel free to burn me if this is heresy :-) References: http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg20479.html Let's call the job Mailserver and suppose the misspelled name is Malserver (missing 'i'). The database server is postgresql. - stop bacula-director to avoid catalog modifications while we are working on it; - backup the catalog (e.g. with mysql or postgresql dump tools), just in case; - rename the job in the bacula-dir config file; - connect to bacula database directly via db console (psql in my case) The table we'll work on is named job. The columns that we have to modify are job and name. The jobhist table should also be checked: if it has records, the procedure should be applied there too. - count the number of records to be modified (just to check the update command) bacula=# SELECT COUNT(*) FROM job WHERE name='Malserver'; bacula=# SELECT COUNT(*) FROM job WHERE job LIKE 'Malserver%'; You should get the same number of records. - update the name column bacula=# UPDATE job SET name='Mailserver' WHERE name='Malserver'; - update the job column bacula=# UPDATE job SET job=replace(job, 'Malserver', 'Mailserver') WHERE job LIKE 'Malserver%'; The two update commands should modify the same number of rows counted before. - Check the jobhist row count and apply the rename procedure if it's not zero. - restart the director The misspelled job name will remain unchanged in the terminated jobs section of the status command, both on the director and on the client nodes (*-fd). That's because that information is stored into status files and not into the database. - Test table Before applying the update commands to the actual catalog, I tested them on a temporary table. To create and populate it with the actual records, I used the following commands: bacula=# CREATE TABLE test_rename(jobid integer, job text, name text); bacula=# INSERT INTO test_rename(jobid, job, name) SELECT jobid, job, name FROM job; Obviously a DROP TABLE test should be issued at the end of the rename procedure. HTH -- Marcello Romani -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] no upgrade path for windows servers?
Il 10/02/2011 09:00, Randy Katz ha scritto: On 2/9/2011 11:40 PM, Marcello Romani wrote: Il 10/02/2011 08:14, Ralf Gross ha scritto: Jeff Shanholtz schrieb: ... Finally, I assume that if I stay with 3.0.1 on the server, I can upgrade clients to 5.0.3, correct? I'm crossing my fingers that the client status window will be a little more informative than just a big blank window like it is in 3.0.1. :) don't know about the other things, but newer clients can't connect to an older director. The other way is ok, new director and older clients. Ralf -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users I have a 5.0.3 director and a mixture of 2.4.x and 5.0.x storage daemons, and all works fine. Being on debian, I had to enable lenny-backports to install bacula 5.0.x on the server, otherwise the 2.4.x version provided by the stable branch of debian wouldn't work with the 5.0.x client (i.e. file daemon) provided by ubuntu 10.04. Oh, I assumed all the debian based users were compiling from source. I I prefer to stay with distro packages unless some important features exist in newer versions. Even then, I assume backports are better integrated with the OS than any self-compiled package. am sure anyone new to bacula would want to run the latest version. At any rate easy enough to compile from source, right? Not sure about gui and library support Easy or not, compiling the package means IMHO adding unnecessary complexity to the task of learning bacula, which is challenging enough in and of itself. though, I am sure someone can comment further, also ubuntu is essentially debian, right? Yes, but much less conservative (they pull from unstable IIRC). That's why you get bacula 2.4.x with debian stable and 5.0.x with Ubuntu. Regards, Randy -- Marcello Romani -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] no upgrade path for windows servers?
Il 10/02/2011 08:59, James Harper ha scritto: Ever tried colinux in this configuration? http://www.colinux.org Amazing! Although I don't see why bother running a stable OS under an unstable one instead of the other way around... :-) -- Marcello Romani -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Job renaming
Il 10/02/2011 10.38, Timo Neuvonen ha scritto: Hallo, I found a typo in a Job resource that has been backed up for a couple of weeks, so I wanted to rename it. Here are the steps I took. I hope it will be useful to somebody else. Bacula gurus feel free to burn me if this is heresy :-) References: http://www.mail-archive.com/bacula-users@lists.sourceforge.net/msg20479.html Let's call the job Mailserver and suppose the misspelled name is Malserver (missing 'i'). The database server is postgresql. - stop bacula-director to avoid catalog modifications while we are working on it; - backup the catalog (e.g. with mysql or postgresql dump tools), just in case; - rename the job in the bacula-dir config file; - connect to bacula database directly via db console (psql in my case) The table we'll work on is named job. The columns that we have to modify are job and name. The jobhist table should also be checked: if it has records, the procedure should be applied there too. - count the number of records to be modified (just to check the update command) bacula=# SELECT COUNT(*) FROM job WHERE name='Malserver'; bacula=# SELECT COUNT(*) FROM job WHERE job LIKE 'Malserver%'; You should get the same number of records. - update the name column bacula=# UPDATE job SET name='Mailserver' WHERE name='Malserver'; - update the job column bacula=# UPDATE job SET job=replace(job, 'Malserver', 'Mailserver') WHERE job LIKE 'Malserver%'; The two update commands should modify the same number of rows counted before. - Check the jobhist row count and apply the rename procedure if it's not zero. - restart the director The misspelled job name will remain unchanged in the terminated jobs section of the status command, both on the director and on the client nodes (*-fd). That's because that information is stored into status files and not into the database. - Test table Before applying the update commands to the actual catalog, I tested them on a temporary table. To create and populate it with the actual records, I used the following commands: bacula=# CREATE TABLE test_rename(jobid integer, job text, name text); bacula=# INSERT INTO test_rename(jobid, job, name) SELECT jobid, job, name FROM job; Obviously a DROP TABLE test should be issued at the end of the rename procedure. Nice trick. A couple of things that came into my mind: - I think the job's name (among other things) is used to calculate a hash to identify changes in the job. This propably will force next backups to be promoted to full? The first job run after the renaming has been Incremental as expected, so at least at first glance it seems renaming doesn't cause a backup level promotion from I to F. - is the job's name inside the stored data in the physical volume too, or only in the catalog? I belive it's there, since there is a tool to re-build the catalog from the media. So, does restore still work, or will it crash because of some conflict between names? I did a full restore of the client which the renamed job refers to. The restore included one job run after the job was renamed and four job runs before the job was renamed. The director completed the restore job without any warnings or errors. A quick check with ls did not reveal any major inconsistency (I know the folder structure fairly well because it's my home folder). -- TiN -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users Thank you for your ideas. Marcello -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Multiple storage daemons on the same machine
Il 09/02/2011 02:01, John Drescher ha scritto: I have one iSCSI drive with more than one storage devices defined but when I run backup jobs only runs one an the others are waiting. I want it to run concurrently. I think that is possible running more than one storage daemon. I tried to execute bacula with more than one bacula-sd.conf (with different names and differents ports to listen 9104, 9105, ...) but it didn't worked. You do not need multiple storage daemons. You probably need multiple storage devices. Do you know if there's any way to run multiple jobs at same machine (using multiple storage daemons or something else)? Did you turn on concurrency in your bacula-dir.conf? Are all of your jobs the same priority? Are all jobs going to the same pool? If not have you defined more than 1 storage device? Remember that a storage device can only have 1 open bacula volume at a time so it is not possible to use more than 1 pool on a single storage device at a time. John -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users John, sorry for the probably obvious question: if I have one storage daemon with two storage devices defined, one File and on Tape, can I have two backup jobs running simultaneously, provided one goes on the File device and the other one on the Tape one ? Thanks -- Marcello Romani -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Multiple storage daemons on the same machine
Il 09/02/2011 12:42, John Drescher ha scritto: John, sorry for the probably obvious question: if I have one storage daemon with two storage devices defined, one File and on Tape, can I have two backup jobs running simultaneously, provided one goes on the File device and the other one on the Tape one ? You can have at least that many. I believe at work I run 10 jobs maximum per storage device so in therory for a 2 drive tape autochanger I could have 20 jobs running to 2 storage devices in a single storage daemon. John Thanks everybody for the clarification. -- Marcello Romani -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] no upgrade path for windows servers?
Il 10/02/2011 08:14, Ralf Gross ha scritto: Jeff Shanholtz schrieb: ... Finally, I assume that if I stay with 3.0.1 on the server, I can upgrade clients to 5.0.3, correct? I'm crossing my fingers that the client status window will be a little more informative than just a big blank window like it is in 3.0.1. :) don't know about the other things, but newer clients can't connect to an older director. The other way is ok, new director and older clients. Ralf -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users I have a 5.0.3 director and a mixture of 2.4.x and 5.0.x storage daemons, and all works fine. Being on debian, I had to enable lenny-backports to install bacula 5.0.x on the server, otherwise the 2.4.x version provided by the stable branch of debian wouldn't work with the 5.0.x client (i.e. file daemon) provided by ubuntu 10.04. -- Marcello Romani -- The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE: Pinpoint memory and threading errors before they happen. Find and fix more than 250 security defects in the development cycle. Locate bottlenecks in serial and parallel code that limit performance. http://p.sf.net/sfu/intel-dev2devfeb ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Large scale disk-to-disk Bacula deployment
Il 01/12/2010 16:04, Henrik Johansen ha scritto: Hi folks, I did prepare a paper for this years Bacula Konferenz 2010 about doing large scale, high peformance disk-to-disk backups with Bacula but unfortunately my workload prohibited me from submitting. I have turned the essence of the paper into a few blog posts which will explain our setup, why we chose Bacula over the competetion (IBM, Symanted and CommVault) and give some real world numbers from our Bacula deployment. The first post is out now if people should be interested and can be found here : http://blog.myunix.dk/2010/12/01/large-scale-disk-to-disk-backups-using-bacula/ The remaining posts will follow over the next month or so. Very interesting. I'm looking seriously at bacula, although for a much smaller setup than yours (to say the least). Your first post got me very interested. I hope to read soom the other chapters of the tale... -- Marcello Romani -- Increase Visibility of Your 3D Game App Earn a Chance To Win $500! Tap into the largest installed PC base get more eyes on your game by optimizing for Intel(R) Graphics Technology. Get started today with the Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs. http://p.sf.net/sfu/intelisp-dev2dev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users