Re: [Bacula-users] Bacula-Web 5.2.10 is out
On Thu, Aug 09, 2012 at 09:35:57PM +, bacula-...@dflc.ch wrote: Dear all, I'm proud to announce you that Bacula-Web 5.2.10 is available for download The full release note is available in the download section http://bacula-web.org/download.html Best regards Davide Hey Davide, thanks for the heads-up, I wasn't even aware bacula web was still being developed. I'll take a look at the new version shortly. It would be great if you could implement some form of client group support so one could easily determine the total backup space used by a group of clients, for instance. All the best keep up the good work, Uwe -- NIONEX --- Ein Unternehmen der Bertelsmann AG -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restore failed - bacula-fd doesn't follow symbolic links
Op 20120809 om 18:42 schreef Davide Franco: Hello all, today I've tried to restore some files on my server and the job failed. It appear that bacula-fd doesn't follow symbolic link. The server run under Linux Centos version 5.8 with bacula-fd version 5.0.2 I tought that by default, symlink will be followed by the file daemon, isn't ? I think that Bacula doesn't follow symbolic links. If it would follow symlinks it would get in trouble when the symlink is broken. If it would follow symlinks it would write multiple copies to tape, where only one exists on disk. Should I change the FileSet configuration ? As I still need to restore those files, any help would be really appreciated. I would check the filesystem (partition) where symlinks points to. Best regards Davide Cheers Geert Stappers -- http://www.vanadcimplicity.com/ -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Non-interactive restore
On Thu, Aug 09, 2012 at 04:58:32PM +0100, Gary Stainburn wrote: Hi folks. Google has burried me once again as this seems to be a recurring question. What is the best method of starting a restore without an interactive interface. Basically, I want to be able to start a restore of the last backup state (option 5) for a client, specifying a difference restoreclient. In an idea world I'd like to run a script after a successful completion. I've tried: restore all client=gary-fd restoreclient=eddie-fd but it still asks for a resture type which I want to default to 5 and then asks me for a FileSet resource. I now only have one fileset resource for Linux but it still insists on giving me two choices including one I no long have in the config files. Gary Hi Gary, you could brute-force your way into running a restore by doing lots of echos answering bconsole's restore questions like so (from memory): ( echo restore; echo mod ; echo 3; echo ; echo yes) | bconsole of course you'd have to keep track of changing client and fileset index numbers as your dir config changes. You should be able to remove the ghost fileset using mysql and deleting the appropriate table row in your bacula db. HTH, 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] Re - Restore failed - bacula-fd doesn't follow symbolic links
Hello all, I've just found a way to fix the problem I have. It was dns resolution problem (see bacula logs below). Fatal error: Bad response to Storage command: wanted 2000 OK storage , got 2902 Bad storage Anyway, I'm still trying to figure out how can I enforce the file daemon to follow symlinks on Linux filesystem. Any suggestion would be greatly appreciated. Best regards Davide On Fri, Aug 10, 2012 at 9:11 AM, Geert Stappers geert.stapp...@vanadgroup.com wrote: Op 20120809 om 18:42 schreef Davide Franco: Hello all, today I've tried to restore some files on my server and the job failed. It appear that bacula-fd doesn't follow symbolic link. The server run under Linux Centos version 5.8 with bacula-fd version 5.0.2 I tought that by default, symlink will be followed by the file daemon, isn't ? I think that Bacula doesn't follow symbolic links. If it would follow symlinks it would get in trouble when the symlink is broken. If it would follow symlinks it would write multiple copies to tape, where only one exists on disk. Should I change the FileSet configuration ? As I still need to restore those files, any help would be really appreciated. I would check the filesystem (partition) where symlinks points to. Best regards Davide Cheers Geert Stappers -- http://www.vanadcimplicity.com/ -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- 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-Web 5.2.10 is out
Hello Uwe, yes it is ! The development of Bacula-Web has been revived since November 2010. If you want to keep informed about project news and information, you can - subscribe to the newsletter trough http://bacula-web.org/newsletter.html - or trough the RSS feed http://bacula-web.org/bacula-web-news.xml That's something which can be really interesting to implement in this tool. If you want to give more details in how to group clients and describe maybe a little bit more this new feature, you can create an account in the bug tracker http://bacula-web.org/bugs Thanks for your feedback. Regards Davide On Fri, Aug 10, 2012 at 8:45 AM, Uwe Schuerkamp uwe.schuerk...@nionex.net wrote: On Thu, Aug 09, 2012 at 09:35:57PM +, bacula-...@dflc.ch wrote: Dear all, I'm proud to announce you that Bacula-Web 5.2.10 is available for download The full release note is available in the download section http://bacula-web.org/download.html Best regards Davide Hey Davide, thanks for the heads-up, I wasn't even aware bacula web was still being developed. I'll take a look at the new version shortly. It would be great if you could implement some form of client group support so one could easily determine the total backup space used by a group of clients, for instance. All the best keep up the good work, Uwe -- NIONEX --- Ein Unternehmen der Bertelsmann AG -- 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-Web 5.2.10 is out
Davide, Thanks for the latest version of Bacula-web. I installed it on our Ubuntu server running Bacula and it produces some useful information for us. Jack Cobb From: bacula-...@dflc.ch [mailto:bacula-...@dflc.ch] Sent: Thursday, August 09, 2012 5:36 PM To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] Bacula-Web 5.2.10 is out Dear all, I'm proud to announce you that Bacula-Web 5.2.10 is available for download The detailled release note is available in the download section http://bacula-web.org/download.html Best regards Davide Bacula-Web project site: www.bacula-web.org http://bacula-web.org/home.html -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Re - Restore failed - bacula-fd doesn't follow symbolic links
Hello, 2012/8/10 Davide Franco dfra...@dflc.ch Anyway, I'm still trying to figure out how can I enforce the file daemon to follow symlinks on Linux filesystem. Bacula does not follow any symbolic links. It just backups a symbolic link as a symbolic link no matter if it points to the file or directory. Automatically follow symbolic links threatens to uncontrolled looping. For example when someone (user) will make a simple command: $ ln -s . a If you want to backup a resources which was followed by symbolic link you have to add this resources to the FileSet definition. best regards -- Radosław Korzeniewski 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
Re: [Bacula-users] bacula confused about volumes
On 7/25/12 10:50 AM, John Drescher dresche...@gmail.com wrote: Anyone else have this happen? Probably a 1/2 dozen times over the years although it has not happened in a long time. Race condition? I think so. I thought that this was supposed to be fixed though. John I am having this same issue. Up until now, it had been intermittent. Today, I am consistently having the issue. I have 6 tape drives in my changer. I have 4 jobs running, each using a separate tape/drive all in the same pool. I've been manually starting another job which selects one of the free tape drives, but is asking for a tape that is currently in use in drive-0. I have canceled and restarted the job several times, started a different job (it asks for the tape in drive-0), manually mounted an available tape into drive-1, all of which has only resulted in the tape being unmounted from drive-1 and the tape in use in drive-0 being requested. I think it can be said that this is not a race condition. Addendum: I used an unmount command to BLOCK the drive. This seems to have broken the hold as the job selected the remaining open drive to use and the tape that I'd mounted there. Patti Clark Information International Associates, Inc. Linux Administrator and subcontractor to: Research and Development Systems Support Oak Ridge National Laboratory -- 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] Re - Restore failed - bacula-fd doesn't follow symbolic links
Hello, this sounds good for me. It's exactly what I did to recover my data. I just had to figure out where my data were located and it worked fine. The issue I had was not due 'cause the file daemon doesn't follow symlinks indeed. Thanks for your feedback Regards Davide On Fri, Aug 10, 2012 at 3:57 PM, Radosław Korzeniewski rados...@korzeniewski.net wrote: Hello, 2012/8/10 Davide Franco dfra...@dflc.ch Anyway, I'm still trying to figure out how can I enforce the file daemon to follow symlinks on Linux filesystem. Bacula does not follow any symbolic links. It just backups a symbolic link as a symbolic link no matter if it points to the file or directory. Automatically follow symbolic links threatens to uncontrolled looping. For example when someone (user) will make a simple command: $ ln -s . a If you want to backup a resources which was followed by symbolic link you have to add this resources to the FileSet definition. best regards -- Radosław Korzeniewski 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
[Bacula-users] Bacula refusing to use existing tape and wants to label a fresh one
I have this problem on one of my tape drives, it is a single drive, no autoloader. The job is partially completed and it needs a new tape, and it requests for me to label a new one. I have a tape that as far as I can see is perfect for the job, right pool, purged, yet when I mount it bacula just keeps telling me to label a new one. I suspect I must have a configuration problem but am not sure where to look. Thanks for any help, - 10-Aug 08:28 whatever.lan-sd JobId 10649: Job Archive.2012-08-09_10.59.32_30 is waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: whatever.lan-internal-tape (/dev/tape/by-id/scsi-3500110a0011ad17e-nst) Pool: ArchivePool Media type: LTO-4 - Listing from list media, the tape is in the correct ArchivePool. - | mediaid | volumename | volstatus | enabled | volbytes | volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten | | 88 | ZW1078L4 | Purged| 1 | 817,155,742,720 | 111 | 630,720,000 | 0 |0 | 0 | LTO-4 | 2012-05-12 18:03:46 | - Bacula sd configuration file: - Storage { Name = whatever.lan-sd SDPort= 9103 WorkingDirectory = /var/lib/bacula Pid Directory = /var/run Maximum Concurrent Jobs = 40 } Director { Name = whatever.nothing-dir Password = } Device { Name = whatever.lan-internal-tape Description = HP Ultrium StorageWorks 1840 Device Type = Tape Media Type= LTO-4 Archive Device= /dev/tape/by-id/scsi-3500110a0011ad17e-nst AlwaysOpen= yes RemovableMedia= yes RandomAccess = no # Allow 800MB of spooling Spool Directory = /mnt/localDrive/spool Maximum Spool Size = 880110 Maximum block size= 131072 # The following options allow tape requests to be handled without # interaction on the console. When a new tape is needed, the current # one will be ejected. The drive will be polled until the requested # tape is entered. Offline On Unmount= Yes Close on Poll = Yes Maximum Open Wait = 1 day AutomaticMount= Yes Volume Poll Interval = 15 minutes # Enable the Alert command only if you have the mtx package loaded Alert Command = sh -c 'tapeinfo -f /dev/sg0 |grep TapeAlert|cat' } - Notice of Confidentiality: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received this in error please contact the sender immediately by return electronic transmission and then immediately delete this transmission including all attachments without copying, distributing or disclosing the same. -- 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 refusing to use existing tape and wants to label a fresh one
I'm having a similar issue. I purchased some new tapes but don't see them in Bat or Bconsole. I put them into the drive and I suspected they would default to the Scratch Media Pool but no such luck. Thanks! Regards, Michael From: Eric Chennells [mailto:e...@zymeworks.com] Sent: Friday, August 10, 2012 12:03 PM To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] Bacula refusing to use existing tape and wants to label a fresh one I have this problem on one of my tape drives, it is a single drive, no autoloader. The job is partially completed and it needs a new tape, and it requests for me to label a new one. I have a tape that as far as I can see is perfect for the job, right pool, purged, yet when I mount it bacula just keeps telling me to label a new one. I suspect I must have a configuration problem but am not sure where to look. Thanks for any help, - 10-Aug 08:28 whatever.lan-sd JobId 10649: Job Archive.2012-08-09_10.59.32_30 is waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: whatever.lan-internal-tape (/dev/tape/by-id/scsi-3500110a0011ad17e-nst) Pool: ArchivePool Media type: LTO-4 - Listing from list media, the tape is in the correct ArchivePool. - | mediaid | volumename | volstatus | enabled | volbytes | volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten | | 88 | ZW1078L4 | Purged| 1 | 817,155,742,720 | 111 | 630,720,000 | 0 |0 | 0 | LTO-4 | 2012-05-12 18:03:46 | - Bacula sd configuration file: - Storage { Name = whatever.lan-sd SDPort= 9103 WorkingDirectory = /var/lib/bacula Pid Directory = /var/run Maximum Concurrent Jobs = 40 } Director { Name = whatever.nothing-dir Password = } Device { Name = whatever.lan-internal-tape Description = HP Ultrium StorageWorks 1840 Device Type = Tape Media Type= LTO-4 Archive Device= /dev/tape/by-id/scsi-3500110a0011ad17e-nst AlwaysOpen= yes RemovableMedia= yes RandomAccess = no # Allow 800MB of spooling Spool Directory = /mnt/localDrive/spool Maximum Spool Size = 880110 Maximum block size= 131072 # The following options allow tape requests to be handled without # interaction on the console. When a new tape is needed, the current # one will be ejected. The drive will be polled until the requested # tape is entered. Offline On Unmount= Yes Close on Poll = Yes Maximum Open Wait = 1 day AutomaticMount= Yes Volume Poll Interval = 15 minutes # Enable the Alert command only if you have the mtx package loaded Alert Command = sh -c 'tapeinfo -f /dev/sg0 |grep TapeAlert|cat' } - Notice of Confidentiality: The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, re-transmission, dissemination or other use of or taking of any action in reliance upon this information by persons or entities other than the intended recipient is prohibited. If you received
Re: [Bacula-users] Bacula refusing to use existing tape and wants to label a fresh one
Eric, Here's how you label a tape. 1. Open bconsole 2. Type update slots 3. Select your tape drive 4. It should tell you something like Volume x was not found in catalog. Slot=xy InChanger set to zero 5. Type label and select your tape drive where the tape is located. 6. Enter the slot number from step #4. IE: Slot=xy. Whatever value xy is. 7. Enter the correct name for the tape. If it's barcoded then the give it the name of the barcode. 8. Finally, select the pool you want to assign the tape to. Thanks! Regards, Michael From: Eric Chennells [mailto:e...@zymeworks.com] Sent: Friday, August 10, 2012 12:03 PM To: bacula-users@lists.sourceforge.net Subject: [Bacula-users] Bacula refusing to use existing tape and wants to label a fresh one I have this problem on one of my tape drives, it is a single drive, no autoloader. The job is partially completed and it needs a new tape, and it requests for me to label a new one. I have a tape that as far as I can see is perfect for the job, right pool, purged, yet when I mount it bacula just keeps telling me to label a new one. I suspect I must have a configuration problem but am not sure where to look. Thanks for any help, - 10-Aug 08:28 whatever.lan-sd JobId 10649: Job Archive.2012-08-09_10.59.32_30 is waiting. Cannot find any appendable volumes. Please use the label command to create a new Volume for: Storage: whatever.lan-internal-tape (/dev/tape/by-id/scsi-3500110a0011ad17e-nst) Pool: ArchivePool Media type: LTO-4 - Listing from list media, the tape is in the correct ArchivePool. - | mediaid | volumename | volstatus | enabled | volbytes | volfiles | volretention | recycle | slot | inchanger | mediatype | lastwritten | | 88 | ZW1078L4 | Purged| 1 | 817,155,742,720 | 111 | 630,720,000 | 0 |0 | 0 | LTO-4 | 2012-05-12 18:03:46 | - Bacula sd configuration file: - Storage { Name = whatever.lan-sd SDPort= 9103 WorkingDirectory = /var/lib/bacula Pid Directory = /var/run Maximum Concurrent Jobs = 40 } Director { Name = whatever.nothing-dir Password = } Device { Name = whatever.lan-internal-tape Description = HP Ultrium StorageWorks 1840 Device Type = Tape Media Type= LTO-4 Archive Device= /dev/tape/by-id/scsi-3500110a0011ad17e-nst AlwaysOpen= yes RemovableMedia= yes RandomAccess = no # Allow 800MB of spooling Spool Directory = /mnt/localDrive/spool Maximum Spool Size = 880110 Maximum block size= 131072 # The following options allow tape requests to be handled without # interaction on the console. When a new tape is needed, the current # one will be ejected. The drive will be polled until the requested # tape is entered. Offline On Unmount= Yes Close on Poll = Yes Maximum Open Wait = 1 day AutomaticMount= Yes Volume Poll Interval = 15 minutes # Enable the Alert command only if you have the mtx package loaded Alert Command = sh -c 'tapeinfo -f /dev/sg0 |grep TapeAlert|cat' } - Notice of Confidentiality: