Re: [Bacula-users] Getting more than wanted in backup
For the archive, the previous posting in the discussion order. Nothing new. Op 20120620 om 17:55 schreef Clark, Patricia A.: On 6/18/12 2:12 PM, Martin Simmons mar...@lispworks.com wrote: On Fri, 15 Jun 2012 13:59:26 -0400, Clark, Patricia A said: To get the multiple streams I've broken my filesets and their corresponding jobs into multiple pieces. The snippets below are 2 of the 7 that I created. I am finding that I am getting everything in /home from each of these filesets and not just the subset of the home directories. Testing with bwild suggests that the RegexDir should be correct. So, what am I missing? FileSet { Name = home_dirs1 Set # Capture /home/[0-9]* Include { Options { signature = MD5 RegexDir = /home/[0-9]* } Options { RegexDir = .* --I have also tried /home/* to be more explicit Exclude = yes } File = /home } } FileSet { Name = home_dirs2 Set # Capture /home/[a-e]* Include { Options { signature = MD5 RegexDir = /home/[a-e]* } Options { RegexDir = .* Exclude = yes } File = /home } } Your main RegexDir patterns are wrong: /home/[0-9]* matches everything starting with /home/ because of the definition of * in a regex. You probably want wilddir = /home/[0-9]* instead. Also, you should wild = * instead of RegexDir = .*. __Martin Thank you for the suggestions. Using wilddir on the includes works much better than the RegexDir. I did find that using wild = * on the excludes was problematic. I'd backup the directories, but none of the files. I've switched to using wilddir for the excludes, too, which adds a level of self-documentation to the fileset. A working example shows the changes and I just adjust the wilddir statements for the fileset as needed. FileSet { Name = home_dirs1 Set # Capture /home/[0-9]* Include { Options { signature = MD5 wilddir = /home/[0-9]* } Options { wilddir = /home/[a-z]* wilddir = /home/[A-Z]* Exclude = yes } File = /home } } Cheers Geert Stappers http://www.vanadplatform.com/ -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula 5.2.9 restore by jobid hangs
Op 20120621 om 00:58 schreef Stephen Carr: Dear All I have not had to do many restores but I have just noticed that a using option 3 of the restore command in bconsole and entering a JobID of a small Incremental job seems to hang - when I did restores before the response was fast to allow you to browse the backed up files. The Bacula database is about 10 GB and a recent dbcheck had been run with very few errors. From mysql show processlist 2270 | bacula | localhost | bacula | Query | 906 | executing | SELECT Path.Path, Filename.Name, T1.FileIndex, T1.JobId, LStat, DeltaSeq FROM ( SELECT FileId, If I kill the mysql process ID eg 2270 I then get the option to restore all files or use a regexp but I cannot browse the files backed up and select them. Anyone else have this problem? FWIW http://old.nabble.com/Restores-to-Windows-host-fail-and-file-daemon-crashes-on-5.2.9-to34034119.html -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Current Files on bacula.org
Hi, I've noted the link to Current files on bacula.org still points to the 5.2.6 tree. Is this intentional or simply an oversight? Cheers, Uwe -- 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
[Bacula-users] Bacula Rescue CDROM for Linux, where director, sd and fd is on one server
Hi, i wonder if there is a possibility to create a rescue cd where i can rescue a whole server with director, sd and fd on it? I found http://www.bacula.org/de/dev-manual/Disast_Recove_Using_Bacula.html#SECTION00248 but there i got told that this is only useful for servers where director and sd runs on a different machine. does anyone have an link pointing me int othe right direction? greets juergen -- 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
[Bacula-users] Could not find next Volume for Job error
Hello, We are running Bacula 5.0.1 on Ubuntu 10.04 64-bit on a Dell server with an internal LTO-3 tape drive. We have three pools (Daily, Weekly and Monthly) configured and Bacula has been running without incident for almost a year now until today. When running the list nextvol command the following error message appears: Could not find next Volume for Job Windows Server Backup (Pool=Weekly, Level=Full) When I run the list media command for the Weekly pool three tapes are listed in the used status with a volume retention period of 14 days. The oldest tape was written on 5-24-2012 so I would expect this tape to be used next. Pool: Weekly +-++---+-++--+-- +-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-++--+-- +-+--+---+---+-+ | 9 | 32X009 | Used | 1 | 92,813,349,888 | 94 | 1,209,600 | 1 |0 | 0 | LTO-3 | 2012-06-14 21:58:35 | | 10 | 32X010 | Used | 1 | 1 |0 | 1,209,600 | 1 |0 | 0 | LTO-3 | 2012-05-24 21:57:55 | | 11 | 32X011 | Used | 1 | 1 |0 | 1,209,600 | 1 |0 | 0 | LTO-3 | 2012-05-31 21:57:28 | +-++---+-++--+-- +-+--+---+---+-+ Any help would be appreciated in determining why Bacula cannot find the next volume. Jack Cobb -- 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] Could not find next Volume for Job error
Hi. Maybe some change related with storage, and the bacula-dir didn't know that. 2012/6/21 Jack Cobb jc...@skylinecorp.com Hello, ** ** We are running Bacula 5.0.1 on Ubuntu 10.04 64-bit on a Dell server with an internal LTO-3 tape drive. We have three pools (Daily, Weekly and Monthly) configured and Bacula has been running without incident for almost a year now until today. ** ** When running the list nextvol command the following error message appears: ** ** Could not find next Volume for Job Windows Server Backup (Pool=Weekly, Level=Full) ** ** When I run the list media command for the Weekly pool three tapes are listed in the used status with a volume retention period of 14 days. The oldest tape was written on 5-24-2012 so I would expect this tape to be used next. ** ** Pool: Weekly +-++---+-++--+--+-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-++--+--+-+--+---+---+-+ | 9 | 32X009 | Used | 1 | 92,813,349,888 | 94 |1,209,600 | 1 |0 | 0 | LTO-3 | 2012-06-14 21:58:35 | | 10 | 32X010 | Used | 1 | 1 |0 |1,209,600 | 1 |0 | 0 | LTO-3 | 2012-05-24 21:57:55 | | 11 | 32X011 | Used | 1 | 1 |0 |1,209,600 | 1 |0 | 0 | LTO-3 | 2012-05-31 21:57:28 | +-++---+-++--+--+-+--+---+---+-+ ** ** Any help would be appreciated in determining why Bacula cannot find the next volume. ** ** Jack Cobb ** ** -- 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 -- Cordialmente: Juan Pablo Botero Administrador de Sistemas informáticos Fedora Ambassador for Colombia http://www.jpilldev.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
Re: [Bacula-users] Could not find next Volume for Job error
Juan, What we ended up doing was to manually change the status on the tape we wanted to use to Recycle and then when we re-ran list nextvol it found the correct tape. Dont quite understand why this worked but it did. Thanks for your response. Jack Cobb From: Juan Pablo Botero [mailto:juanpabloboterolo...@gmail.com] Sent: Thursday, June 21, 2012 12:59 PM To: jc...@skylinecorp.com Cc: bacula-users@lists.sourceforge.net Subject: Re: [Bacula-users] Could not find next Volume for Job error Hi. Maybe some change related with storage, and the bacula-dir didn't know that. 2012/6/21 Jack Cobb jc...@skylinecorp.com Hello, We are running Bacula 5.0.1 on Ubuntu 10.04 64-bit on a Dell server with an internal LTO-3 tape drive. We have three pools (Daily, Weekly and Monthly) configured and Bacula has been running without incident for almost a year now until today. When running the list nextvol command the following error message appears: Could not find next Volume for Job Windows Server Backup (Pool=Weekly, Level=Full) When I run the list media command for the Weekly pool three tapes are listed in the used status with a volume retention period of 14 days. The oldest tape was written on 5-24-2012 so I would expect this tape to be used next. Pool: Weekly +-++---+-++--+-- +-+--+---+---+-+ | MediaId | VolumeName | VolStatus | Enabled | VolBytes | VolFiles | VolRetention | Recycle | Slot | InChanger | MediaType | LastWritten | +-++---+-++--+-- +-+--+---+---+-+ | 9 | 32X009 | Used | 1 | 92,813,349,888 | 94 | 1,209,600 | 1 |0 | 0 | LTO-3 | 2012-06-14 21:58:35 | | 10 | 32X010 | Used | 1 | 1 |0 | 1,209,600 | 1 |0 | 0 | LTO-3 | 2012-05-24 21:57:55 | | 11 | 32X011 | Used | 1 | 1 |0 | 1,209,600 | 1 |0 | 0 | LTO-3 | 2012-05-31 21:57:28 | +-++---+-++--+-- +-+--+---+---+-+ Any help would be appreciated in determining why Bacula cannot find the next volume. Jack Cobb -- 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 -- Cordialmente: Juan Pablo Botero Administrador de Sistemas informáticos Fedora Ambassador for Colombia http://www.jpilldev.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
[Bacula-users] PKI decryption problem: missing private key
Hi, we are trying to restore a backup of a client(let's call it A) to a new machine(let's call it B). B is identical to A, which both have centos 6.2 running and same version of bacula-fd running. the public and private keys of A are stored in /etc/bacula/fd-example.pem and /etc/bacula/master.cert, and these keys are also copied at B at the same path. in the bacula-fd.conf on both A and B, we use the following: PKI Signatures = Yes PKI Encryption = Yes PKI Keypair = /etc/bacula/fd-example.pem PKI Master Key = /etc/bacula/master.cert OK, here is the problem: - when we try to restore the backup from A to /tmp/bacula-restore in A, it's fine. - however, when we try to restore the backup from A to B, bconsole is repeatly printing: 21-Jun 00:52 tvb_restore_test-fd JobId 397: Error: Missing private key required to decrypt encrypted backup data. 21-Jun 00:52 tvb_restore_test-fd JobId 397: Error: Missing private key required to decrypt encrypted backup data. ... The keys in A are the same as the keys in B.(I did the md5sum to verify that they are the same) and the permissions are the same too. Please advise. Any suggestions or help will be appreciated. Thank you! Ricky -- 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
[Bacula-users] Bacula Query
Hello, I was wondering if anyone has written a bacula query that you can run to find out what clients haven't been backed up within a certain time period? If so could you share? I'm not an SQL guy which is why I am asking. Thank you, mike -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula Query
On Fri, Jun 22, 2012 at 1:54 AM, Mike Hobbs mho...@mtl.mit.edu wrote: Hello, I was wondering if anyone has written a bacula query that you can run to find out what clients haven't been backed up within a certain time period? If so could you share? I'm not an SQL guy which is why I am asking. Almir is doing that for clients view here http://almir-demo.domenkozar.com/client/ You could setup Almir and in deployment.ini tell it to echo SQL commands. Hopefully someone is kind enough to write the SQL :) -- 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