[Bacula-users] Question about backup window and schedule resource
Hello I am running happily bacula 5.0.3 for 1 year. Last weekend a full job took too much time, and the rest of backups started too late, on Monday. I have read several time about the schedule resource, but I can not find how to force and end time for a job. For example, the full backup of system development box should start at 00:01 on Sundays, but it should be cancelled if has not finished at 17:00, ¿how can I accomplish that with Bacula? Regards Maria -- 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] Restoring from bconsole in a shell script
Hello Still no luck, dir= option is not recognized: # cat /root/miprueba restore client=wiki current dir=/root/ yes # bconsole -c /etc/bacula/bconsole.conf /root/miprueba Connecting to Director backup-virtual:9101 1000 OK: backup-virtual-dir Version: 5.0.3 (30 August 2010) Enter a period to cancel a command. restore client=wiki current dir=/root/ yes Using Catalog MyCatalog Unknown keyword: dir You have messages. Bacula version: 5.0.3 Regards Maria - Original Message - From: Martin Simmons Sent: 03/26/12 01:10 PM To: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Restoring from bconsole in a shell script On Mon, 26 Mar 2012 10:32:15 +0200, Maria Arrea said: Hello Bacula-list Any other idea about how to restore a directory from a backup within a shell script? There is an undocumented dir= option to the restore command that you can use instead of file=. __Martin - Original Message - From: Maria Arrea Sent: 03/23/12 12:30 PM To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] Restoring from bconsole in a shell script Hello I am trying to restore a directory tree (and the files inside) with bconsole in a shell script with no success. Restoring a single file works: bconsole -c /etc/bacula/bconsole.conf /root/miprueba Content of /root/miprueba: restore client=wiki current file=/root/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm yesBut what do I have to do to restore a full directory tree like /etc/* ? Any wildcard? Regards Maria --GMXBoundary134761332750735426686 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable span style=3D'font-family:Verdana'span style=3D'font-size:12px'br /= =20 br /=20 Hello Bacula-listbr /=20 br /=20 Any other idea about how to restore a directory from a backup within a shel= l script?br /=20 br /=20 Regardsbr /=20 br /=20 Mariabr /=20 p style=3Dmargin:0px; padding:0px; =20 =C2=A0/p=20 blockquote style=3Dborder-left: 1px solid #CCC; padding-left: 5px; margin= -left: 5px; margin-bottom: 0px; margin-top: 0px; margin-right: 0px; type= =3Dcite=20 p style=3Dmargin:0px; padding:0px; =20 span style=3Dfont-family:Verdanaspan style=3Dfont-size:12px- = Original Message -/span/span/p=20 p style=3Dmargin:0px; padding:0px; =20 span style=3Dfont-family:Verdanaspan style=3Dfont-size:12pxFrom: = Maria Arrea/span/span/p=20 p style=3Dmargin:0px; padding:0px; =20 span style=3Dfont-family:Verdanaspan style=3Dfont-size:12pxSent: = 03/23/12 12:30 PM/span/span/p=20 p style=3Dmargin:0px; padding:0px; =20 span style=3Dfont-family:Verdanaspan style=3Dfont-size:12pxTo: ba= cula-us...@lists.sourceforge.net/span/span/p=20 p style=3Dmargin:0px; padding:0px; =20 span style=3Dfont-family:Verdanaspan style=3Dfont-size:12pxSubjec= t: [Bacula-users] Restoring from bconsole in a shell script/span/span/= p=20 br /=20 div=20 span style=3Dfont-family:Verdanaspan style=3Dfont-size:12pxspan = style=3Dfont-family: verdana;span style=3Dfont-size: 12px;Hellobr /= =20 br /=20 I am trying to restore a directory tree (and the files inside) with bcons= ole in a shell script with no success.br /=20 br /=20 Restoring a single file works:/span/spanbr /=20 br /=20 bconsole -c /etc/bacula/bconsole.conf lt; /root/mipruebabr /=20 br /=20 Content of /root/miprueba:br /=20 br /=20 restore client=3Dwiki current file=3D/root/rpmforge-release-0.3.6-1.el5.= rf.x86_64.rpmnbsp; yesbr /=20 br /=20 br /=20 But what do I have to do to restore a full directory tree like /etc/* ? A= ny wildcard?br /=20 br /=20 Regardsbr /=20 br /=20 Maria/span/span/div=20 /blockquote=20 p style=3Dmargin:0px; padding:0px; =20 =C2=A0/p=20 /span/span --GMXBoundary134761332750735426686-- --===2373911006917332974== Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure --===2373911006917332974== Content-Type: text/plain; charset=us-ascii MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users --===2373911006917332974==-- -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure
Re: [Bacula-users] Restoring from bconsole in a shell script
Op 20120327 om 08:42 schreef Maria Arrea: Hello Still no luck, dir= option is not recognized: # cat /root/miprueba restore client=wiki current dir=/root/ yes # bconsole -c /etc/bacula/bconsole.conf /root/miprueba Connecting to Director backup-virtual:9101 1000 OK: backup-virtual-dir Version: 5.0.3 (30 August 2010) Enter a period to cancel a command. restore client=wiki current dir=/root/ yes Using Catalog MyCatalog Unknown keyword: dir You have messages.Bacula version: 5.0.3Regards Maria Not tested, but I expect that a _multi_ line miprueba gives a better result. So try # cat /root/miprueba restore client=wiki dir=/root current yes # bconsole -c /etc/bacula/bconsole.conf /root/miprueba and please provide feedback in the discussion order. ( In other words: Reply _below_ the previous text ) Sorry for the previous top-posting. Still no luck. [root@backup-virtual ~]# cat /root/miprueba restore client=wiki dir=/root current yes [root@backup-virtual ~]# bconsole -c /etc/bacula/bconsole.conf /root/miprueba Connecting to Director backup-virtual:9101 1000 OK: backup-virtual-dir Version: 5.0.3 (30 August 2010) Enter a period to cancel a command. restore client=wiki dir=/root Using Catalog MyCatalog Unknown keyword: dir You have messages. current current: is an invalid command. yes yes: is an invalid command. Regards Maria -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restoring from bconsole in a shell script
Hello Bacula-list Any other idea about how to restore a directory from a backup within a shell script? Regards Maria - Original Message - From: Maria Arrea Sent: 03/23/12 12:30 PM To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] Restoring from bconsole in a shell script Hello I am trying to restore a directory tree (and the files inside) with bconsole in a shell script with no success. Restoring a single file works: bconsole -c /etc/bacula/bconsole.conf /root/miprueba Content of /root/miprueba: restore client=wiki current file=/root/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm yes But what do I have to do to restore a full directory tree like /etc/* ? Any wildcard? Regards Maria -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Restoring from bconsole in a shell script
Hello I am trying to restore a directory tree (and the files inside) with bconsole in a shell script with no success. Restoring a single file works: bconsole -c /etc/bacula/bconsole.conf /root/miprueba Content of /root/miprueba: restore client=wiki current file=/root/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm yes But what do I have to do to restore a full directory tree like /etc/* ? Any wildcard? Regards Maria -- This SF email is sponsosred by: Try Windows Azure free for 90 days Click Here http://p.sf.net/sfu/sfd2d-msazure___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Perfomance improvement moving from mysql 5.0 to 5.1 or 5.5?
Hello We are using bacula 5.0.3 with mysql 5.0.77 on RHEL 5.7 x64. We are backing tens millons of file and we are staring to see performance problems with mysql. Our server has 6 GB of ram and 1 quad core Intel Xeon E5520 @2.27 Ghz. We have converted from MyISAM to InnoDB in our mysql, and we have seen some performance improvements. Doe anybody know if migrating mysql 5.0 to 5.1 or 5.5 will improve performance with innodb? We have tried to migrate from mysql to postgresql with no luck (http://mtu.net/~jpschewe/blog/2010/06/migrating-bacula-from-mysql-to-postgresql/) though. Maybe more ram would increase also performance? We are using my-innodb-heavy-4G.cnf as mysql config file. Regards Maria -- EMC VNX: the world's simplest storage, starting under $10K The only unified storage solution that offers unified management Up to 160% more powerful than alternatives and 25% more efficient. Guaranteed. http://p.sf.net/sfu/emc-vnx-dev2dev___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users