[Bacula-users] Markus Kress is out of the office
Ich werde ab 06.09.2014 nicht im Büro sein. Ich kehre zurück am 10.09.2014. ___ GLS IT Services GmbH Sitz: Neuenstein, Amtsgericht Bad Hersfeld HRB 388, Geschäftsführer: Christian Herrlich, Thorsten Pruin ___ -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula-dir stuck trying to mount the wrong volume
Hello, It is not a question that I will not document something, why would I write code and discuss it if I did not want to document it? It *was* a question that I incorrectly thought it was already documented. What some people tend to forget is that I am doing this for free, I volunteer for this. Most people have a job and they use Bacula to get their job done, and they get paid for what they do -- not me. For transparency: I do have a salary for Bacula Systems, but it is only symbolic. I make less than any other employee in Bacula Systems, and probably less than the cleaning lady -- this is no exaggeration. That simply means that I do everything for Bacula for free, as I have done so for 14 years. With volunteers such as myself, if one wants something, the agreeable approach that 99.9% of the people on this list take is more in the non-contemptuous spirit of this list and much more likely to get results. Thanks for pointing out the problems and undocumented features. Despite having my motivation sapped, I will see what I can do. Best regards, Kern On 09/07/2014 12:03 AM, Dmitri Maziuk wrote: On 9/6/2014 2:59 PM, Kern Sibbald wrote: ... perhaps I am overly sensitive I've been dealing with other people's software for a living for close to two decades now and familiarity brings contempt. So yeah, I don't like software -- with very few exceptions, and bacula isn't one of them, I am jaded and sarcastic, and I don't like your position in the bareos debacle. So you're to some (large) extent correct on all counts. Keep telling us about wonderful features of your product that you won't document because I looked at you funny, see how many fans that wins you. Dimitri -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restore from dead client
On 09/07/2014 02:38 AM, Kenny Noe wrote: Dan, Appreciate the reply Yes this is exactly what I want to do. However when I try to just do a simple restore, the job finishes with the error previously given. Any suggestions to do this would be appreciated. Working with pipes or fifos is tricky, and the message about interrupted system call (or something along that line) indicates that your the conditions to make the pipe/fifo work are not properly setup. I recommend simplifying things. Best regards, Kern Thanks--Kenny On Sat, Sep 6, 2014 at 5:51 PM, Dan Langille d...@langille.org wrote: On Sep 5, 2014, at 5:48 PM, Kenny Noe knoe...@gmail.com wrote: Birre, Thanks for the reply. I guess this is where I get lost... The fifo is reading a file that was created in the pre-process called mail.tar. The mail.tar is made from the following directories /opt/zimbra and /var/mail/zimbra. This is where the Zimbra files and mailstore were kept. This pre-process is a script that has this : MailBackup.bash #!/bin/bash exec /dev/null MKDIR=/bin/mkdir MKFIFO=/usr/bin/mkfifo RM=/bin/rm TAR=/bin/tar DEFCODE=0 DUMPBASE=/data/backups errCode=${DEFCODE} mailDir=/var/mail/zimbra zimbraDir=/opt/zimbra Main() { service zimbra stop RunMailRestore service zimbra start ExitScript ${errCode} } RunMailRestore() { EXTENSION=.tar dumpDir=${DUMPBASE}/mail fifoDir=${dumpDir}/fifo RebuildFifoDir ${MKFIFO} ${fifoDir}/mail${EXTENSION} ${TAR} -xpf ${fifoDir}/mail${EXTENSION} 21 /dev/null } RebuildFifoDir() { if [ -d ${fifoDir} ] then ${RM} -rf ${fifoDir} fi ${MKDIR} -p ${fifoDir} } ExitScript() { exit ${1} } Main The restore script simply does a tar xpf instead of a tar cpf. Perhaps instead of doing that, just restore the data, and then do the tar xpf later. -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula for OSX 10.9
On 09/07/2014 07:33 AM, Eric Dannewitz wrote: I'm interested in perhaps deploying this in my k-8 school, but I have not found a good tutorial of how to install it. Or if it even works right on Mac. Anyone have some insights on this? My idea would be to back about 30 macs to an Ubuntu server. This would be a good way to setup Bacula. The Director, SD and catalog work well on a Ubuntu server -- I recommend Trusty (14.04). For the Mac's someone probably has made the binaries and distributes them on the Internet. Otherwise if you load all the appropriate build tools on the Mac, you can easily build the FD. Later this year, Bacula Systems will provide free binaries for MacOSX which should also help. If you have the budget, I *strongly* recommend taking the Bacula Systems Admin I training. It will provide you with everything you need to know and if you ask in advance, they can probably help you with the Mac builds. Best regards, Kern Thanks! Sent from my iSomething -- -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Restore from dead client
I suggest removing the before after scripts. -- Dan Langille http://langille.org/ On Sep 6, 2014, at 8:38 PM, Kenny Noe knoe...@gmail.com wrote: Dan, Appreciate the reply Yes this is exactly what I want to do. However when I try to just do a simple restore, the job finishes with the error previously given. Any suggestions to do this would be appreciated. Thanks--Kenny On Sat, Sep 6, 2014 at 5:51 PM, Dan Langille d...@langille.org wrote: On Sep 5, 2014, at 5:48 PM, Kenny Noe knoe...@gmail.com wrote: Birre, Thanks for the reply. I guess this is where I get lost... The fifo is reading a file that was created in the pre-process called mail.tar. The mail.tar is made from the following directories /opt/zimbra and /var/mail/zimbra. This is where the Zimbra files and mailstore were kept. This pre-process is a script that has this : MailBackup.bash #!/bin/bash exec /dev/null MKDIR=/bin/mkdir MKFIFO=/usr/bin/mkfifo RM=/bin/rm TAR=/bin/tar DEFCODE=0 DUMPBASE=/data/backups errCode=${DEFCODE} mailDir=/var/mail/zimbra zimbraDir=/opt/zimbra Main() { service zimbra stop RunMailRestore service zimbra start ExitScript ${errCode} } RunMailRestore() { EXTENSION=.tar dumpDir=${DUMPBASE}/mail fifoDir=${dumpDir}/fifo RebuildFifoDir ${MKFIFO} ${fifoDir}/mail${EXTENSION} ${TAR} -xpf ${fifoDir}/mail${EXTENSION} 21 /dev/null } RebuildFifoDir() { if [ -d ${fifoDir} ] then ${RM} -rf ${fifoDir} fi ${MKDIR} -p ${fifoDir} } ExitScript() { exit ${1} } Main The restore script simply does a tar xpf instead of a tar cpf. Perhaps instead of doing that, just restore the data, and then do the tar xpf later. -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula for OSX 10.9
On Sep 7, 2014, at 5:42 AM, Kern Sibbald k...@sibbald.com wrote: On 09/07/2014 07:33 AM, Eric Dannewitz wrote: I'm interested in perhaps deploying this in my k-8 school, but I have not found a good tutorial of how to install it. Or if it even works right on Mac. Anyone have some insights on this? My idea would be to back about 30 macs to an Ubuntu server. This would be a good way to setup Bacula. The Director, SD and catalog work well on a Ubuntu server -- I recommend Trusty (14.04). For the Mac's someone probably has made the binaries and distributes them on the Internet. Otherwise if you load all the appropriate build tools on the Mac, you can easily build the FD. Later this year, Bacula Systems will provide free binaries for MacOSX which should also help. I've not used Bacula on a Mac, but I do notice that Homebrew (http://brew.sh) has a formula for bacula-fd, which could be used to install the client. Right now, it's only for the 5.x version (5.2.13), though. I hope this helps. Cheers, Paul. -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula for OSX 10.9
The Mac OS X client for Bacula should be a standard Mac OS X package -- a xxx.dmg file. Anything that is a tar or other form is not very professional. I am not sure what homebrew supplies, but if they have done it right it is a .dmg. The instructions for building it yourself on a Mac are in the Bacula source distribution in: bacula/platforms/osx/README Once you have the developer tools installed, it is a piece of cake. Best regards, Kern On 09/07/2014 04:06 PM, Paul Mather wrote: On Sep 7, 2014, at 5:42 AM, Kern Sibbald k...@sibbald.com wrote: On 09/07/2014 07:33 AM, Eric Dannewitz wrote: I'm interested in perhaps deploying this in my k-8 school, but I have not found a good tutorial of how to install it. Or if it even works right on Mac. Anyone have some insights on this? My idea would be to back about 30 macs to an Ubuntu server. This would be a good way to setup Bacula. The Director, SD and catalog work well on a Ubuntu server -- I recommend Trusty (14.04). For the Mac's someone probably has made the binaries and distributes them on the Internet. Otherwise if you load all the appropriate build tools on the Mac, you can easily build the FD. Later this year, Bacula Systems will provide free binaries for MacOSX which should also help. I've not used Bacula on a Mac, but I do notice that Homebrew (http://brew.sh) has a formula for bacula-fd, which could be used to install the client. Right now, it's only for the 5.x version (5.2.13), though. I hope this helps. Cheers, Paul. -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula for OSX 10.9
Hello, No I am not familiar with homebrew. Sorry, I guess I was not very clear, but my comment about not very professional was not at all directed at homebrew. It was directed at people who produce xx.tar files when there are package systems available for a particular platform whether it be .rpm, .deb, .dmg, ... My point was that it is more professional to use packages (if they exist) than .tar files. The package built by the Bacula script does not itself do automatic package updates, though it is possible that with a mac package manager it all would work. Other than having run the scripts and produced Bacula Mac packages, I am not at all familiar with the details. Best regards, Kern On 09/07/2014 06:03 PM, Paul Mather wrote: On Sep 7, 2014, at 10:34 AM, Kern Sibbald k...@sibbald.com wrote: The Mac OS X client for Bacula should be a standard Mac OS X package -- a xxx.dmg file. Anything that is a tar or other form is not very professional. I am not sure what homebrew supplies, but if they have done it right it is a .dmg. Oh, I see you're not familiar with Homebrew. It is a package manager for OS X, sort of in the same vein as Fink and MacPorts. It's popular with a lot of people who want access to lots of Unix open source software and be able to manage it on an ongoing basis. I wouldn't decry it as being not very professional unless you also consider the likes of yum, apt-get, pkg, etc. to be not very professional, too. Sure, it's a different way, but not an unfamiliar metaphor for someone working with an Ubuntu server (as the OP mentioned), which is the only reason I mentioned it. I agree that using .dmg files is more commonplace on OS X. Does the OS X version include an option to check for updates? I've never used it. As you pointed out in your original reply, For the Mac's someone probably has made the binaries and distributes them on the Internet. I did a quick Web search and it seemed that was not the case. I couldn't find any. So, it's great that Bacula Systems will be providing free OS X binaries later this year. That will be another excellent resource for the Bacula community. In the meantime, folks can build their own from source, or maybe use Homebrew to do the same. ;-) The instructions for building it yourself on a Mac are in the Bacula source distribution in: bacula/platforms/osx/README Once you have the developer tools installed, it is a piece of cake. It's pretty easy to install with Homebrew, too: brew install bacula-fd Cheers, Paul. Best regards, Kern On 09/07/2014 04:06 PM, Paul Mather wrote: On Sep 7, 2014, at 5:42 AM, Kern Sibbald k...@sibbald.com wrote: On 09/07/2014 07:33 AM, Eric Dannewitz wrote: I'm interested in perhaps deploying this in my k-8 school, but I have not found a good tutorial of how to install it. Or if it even works right on Mac. Anyone have some insights on this? My idea would be to back about 30 macs to an Ubuntu server. This would be a good way to setup Bacula. The Director, SD and catalog work well on a Ubuntu server -- I recommend Trusty (14.04). For the Mac's someone probably has made the binaries and distributes them on the Internet. Otherwise if you load all the appropriate build tools on the Mac, you can easily build the FD. Later this year, Bacula Systems will provide free binaries for MacOSX which should also help. I've not used Bacula on a Mac, but I do notice that Homebrew (http://brew.sh) has a formula for bacula-fd, which could be used to install the client. Right now, it's only for the 5.x version (5.2.13), though. I hope this helps. Cheers, Paul. -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] bacula-dir stuck trying to mount the wrong volume
On 9/7/2014 4:33 AM, Kern Sibbald wrote: It is not a question that I will not document something, why would I write code and discuss it if I did not want to document it? It *was* a question that I incorrectly thought it was already documented. What some people tend to forget is that I am doing this for free, I volunteer for this. I'm lucky to get paid for writing (when I get a chance to write instead of unfsck'ing other people's code gone haywire) public domain code. I don't have a problem when somebody else wants to get paid for their work. So come out and say it: if you buy enterprise license we'll tell you how to use virtual autochanger, or symlinks, or bandwidth limitation, whatever. I may not have a budget for it, but I won't bitch about it. What you're doing instead is not helping your case. We had this stupid joke back when I was a kid: do you like tomatoes? -- To eat: yes, otherwise: not so much. Of course I don't like bacula, last time I liked a piece of software it was the original portal. D'uh. Dimitri -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] is there a way to rename an active volume?
Not a big deal, but somehow I've ended up with a file storage volume that has a different naming convention from others in the pool. The naming convention was daily-backup- + a single-digit volume number. The amount of data keeps growing so I need to add new volumes from time to time. Somehow the last time I ended up with one with the wrong name. I don't actually need to rename it. Migrating to another volume in the same pool would also work, as would telling bacula to stop using it for new backups, so that it would eventually be empty. -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Bacula for OSX 10.9
On Sep 7, 2014, at 1:33 AM, Eric Dannewitz edannew...@rdschool.org wrote: I'm interested in perhaps deploying this in my k-8 school, but I have not found a good tutorial of how to install it. Or if it even works right on Mac. Anyone have some insights on this? My idea would be to back about 30 macs to an Ubuntu server. I documented my 2011 install procedure: http://dan.langille.org/2011/04/02/getting-bacula-running-on-my-macbook/ signature.asc Description: Message signed with OpenPGP using GPGMail -- Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users