Hi Wagar,
On Fri, Mar 27, 2015 at 12:55 PM, Waqar Khan <waqar.k...@hornbill.com>
wrote:
> Hi,
>
>
>
> Thanks all for the replies. My requirement is to move to a centos 7 OS
> with mysql as DB (current is 6). Here is what I’ve found from the
> instructions provided by everyone (and for the benefit of someone in the
> future in my situation):
>
>
>
> Firstly, build a new centos 7 machine and do the following
>
>
>
> 1. Download 7.0.5 code. From
> http://sourceforge.net/projects/bacula/files/bacula/7.0.5/bacula-7.0.5.tar.gz/download
> - does this include bacula-sd, dir and fd?
>
yes. That includes director, file daemon and storage daemon.
>
>
> 2. Extract.
>
>
>
> 3. Install deps:
>
>
>
> yum install mysql-devel gcc-c++ readline-devel zlib-devel libacl-devel mtx
> postfix
>
>
> 4. Configure:
>
>
>
> ./configure --with-readline=/usr/include/readline --disable-conio
> --bindir=/usr/bin --sbindir=/usr/sbin --with-scriptdir=/usr/libexec/bacula/
> --with-working-dir=/var/spool/bacula/ --with-logdir=/var/log
> --enable-smartalloc *--with-mysql*
>
>
>
> 5. Build:
>
>
>
> make -j8 && make install && make install-autostart
>
>
>
> 6. Run update db script: ( *Not sure about this step, please see step 8)*
>
>
>
> /usr/libexec/bacula/update_bacula_tables
>
>
>
>
> 7. Copy over the config files under /etc/bacula/ to the new centos 7 box
> with bacula 7. Will I need to run step 6 (
> /usr/libexec/bacula/update_bacula_tables) here?
>
You can do the update_bacula_tables in step 6.
>
>
> 8. Restart bacula daemons
>
I would recommend you do not start the daemons before the database
upgrade. So, here, I should say "start bacula daemons".
>
>
> Please assist on the questions I have above, or is there a better way I
> should be doing this? What about the volumes + files I have on the current
> server, how can I take these across as well?
>
>
>
A better way would be to have the Bacula´s upgrade in the same machine, if
you could. This way you would not need to copy the volumes to the other
host. The volumes should be in same directory that they were before (you
should configure and create the same archive device in the new host).
IMHO, this should work fine :).
>
>
*Regards*
>
> *WaqarK*
>
> *PGP: D1388321*
>
>
>
> *From:* Ana Emília M. Arruda [mailto:emiliaarr...@gmail.com]
> *Sent:* 27 March 2015 15:13
>
> *To:* Waqar Khan
> *Cc:* Bacula-users@lists.sourceforge.net
> *Subject:* Re: [Bacula-users] Upgrading bacula from version 5 to version 7
>
>
>
> Hi Wagar,
>
>
>
> Is that clear for you? I saw the other posts. So you have two options:
> upgrade to 5.2.13 using yum or remove your actual version and build from
> source the 7.0.5 version. If you decide to build from source, remember to
> do a backup of your conf files (they shouldn´t be replaced, but...). You
> can upgrade from 5.0.0 to 7.0.5, since you are going to upgrade your
> database from a version 12 to version 14.
>
>
>
> You can find in the manual:
>
>
>
> 10.2 Upgrading Bacula
>
> 10.6 Building Bacula from Source
>
>
>
> Regards,
>
> Ana
>
>
>
> On Fri, Mar 27, 2015 at 11:08 AM, Waqar Khan <waqar.k...@hornbill.com>
> wrote:
>
> Hi Ana,
>
>
>
> The version I am running is 5 exactly:
>
>
>
> Version: 5.0.0 (26 January 2010)
>
>
>
> Selecting database version I get VersionID = 12
>
>
>
> 5.0.0 is in the base repo but I can’t see 5.2.13 in there. What’s the best
> way to get to 5.2.13 first? Where can I get update_bacula_tables from +
> documentation :P
>
>
>
> *Regards*
>
> *WaqarK*
>
> *PGP: D1388321*
>
>
>
> *From:* Ana Emília M. Arruda [mailto:emiliaarr...@gmail.com]
> *Sent:* 27 March 2015 13:35
> *To:* Waqar Khan
> *Cc:* Bacula-users@lists.sourceforge.net
> *Subject:* Re: [Bacula-users] Upgrading bacula from version 5 to version 7
>
>
>
> Hi!
>
>
>
> Which Bacula´s 5 version do you have? I´ve upgraded from 5.2.13 to 7.0.5
> with no problems (host XenServer). I´m affraid version 5.0.X has a prior
> database version than 5.2.13, so it will be nice to take a look at your
> actual database version (you can make a select to list contents from
> Version table). If you have an earlier database version then 14, you will
> need to do an update_bacula_tables after upgrading software and before
> starting using Bacula.
>
>
>
> Best regards,
>
> Ana
>
>
>
> On Fri, Mar 27, 2015 at 10:02 AM, Waqar Khan <waqar.k...@hornbill.com>
> wrote:
>
> Hi all,
>
>
>
> I am currently using version 5 of bacula dir,sd and fd. Is there any
> documentation on upgrading to the latest release from this version. Will I
> have to first upgrade to 7.0 or can I upgrade directly to 7.0.5. I am also
> upgrading the base OS from Centos 6 to Centos 7. Which problems can I
> expect?
>
>
>
> Any help will be greatly appreciated.
>
>
>
> *Regards*
>
> *WaqarK*
>
> *PGP: D1388321*
>
>
>
> ------------------------------------------------------------------------------
> Dive into the World of Parallel Programming The Go Parallel Website,
> sponsored
> by Intel and developed in partnership with Slashdot Media, is your hub for
> all
> things parallel software development, from weekly thought leadership blogs
> to
> news, videos, case studies, tutorials and more. Take a look and join the
> conversation now. http://goparallel.sourceforge.net/
> _______________________________________________
> Bacula-users mailing list
> Bacula-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
>
>
> ------------------------------
>
>
> ****************************************
>
> IMPORTANT INFORMATION
> The information contained in this email or any of its attachments is
> confidential and is intended for the exclusive use of the individual or
> entity to whom it is addressed. It may not be disclosed to, copied,
> distributed or used by anyone else without our express permission. If you
> receive this communication in error please advise the sender immediately
> and delete it from your systems. This email is not intended to and does not
> create legally binding commitments or obligations on behalf of Hornbill
> Service Management Limited which may only be created by hard copy writing
> signed by a director or other authorized officer. Any opinions, conclusions
> and other information in this message that do not relate to the official
> business of Hornbill Service Management Limited are unauthorized and
> neither given nor endorsed by it. Although Anti-Virus measures are used by
> Hornbill Service Management Limited it is the responsibility of the
> addressee to scan this email and any attachments for computer viruses or
> other defects. Hornbill Service Management Limited does not accept any
> liability for any loss or damage of any nature, however caused, which may
> result directly or indirectly from this email or any file attached.
>
> Hornbill Service Management Limited. Registered Office: Apollo, Odyssey
> Business Park, West End Road, Ruislip, HA4 6QD, United Kingdom. Registered
> in England Number: 3033585.
>
>
> ****************************************
>
>
>
> ------------------------------
>
> ****************************************
>
> IMPORTANT INFORMATION
> The information contained in this email or any of its attachments is
> confidential and is intended for the exclusive use of the individual or
> entity to whom it is addressed. It may not be disclosed to, copied,
> distributed or used by anyone else without our express permission. If you
> receive this communication in error please advise the sender immediately
> and delete it from your systems. This email is not intended to and does not
> create legally binding commitments or obligations on behalf of Hornbill
> Service Management Limited which may only be created by hard copy writing
> signed by a director or other authorized officer. Any opinions, conclusions
> and other information in this message that do not relate to the official
> business of Hornbill Service Management Limited are unauthorized and
> neither given nor endorsed by it. Although Anti-Virus measures are used by
> Hornbill Service Management Limited it is the responsibility of the
> addressee to scan this email and any attachments for computer viruses or
> other defects. Hornbill Service Management Limited does not accept any
> liability for any loss or damage of any nature, however caused, which may
> result directly or indirectly from this email or any file attached.
>
> Hornbill Service Management Limited. Registered Office: Apollo, Odyssey
> Business Park, West End Road, Ruislip, HA4 6QD, United Kingdom. Registered
> in England Number: 3033585.
>
>
> ****************************************
>
>
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users