Hi Wanderlei, Thank you for the quick response, I'll check this out and let you know the result. Just a heads up; is there any problem in upgrading 5.2.13 directly to 9.4.3?
On Thu, May 30, 2019 at 4:18 PM Wanderlei Huttel <wanderleihut...@gmail.com> wrote: > Hello Preash > > Have you install Bacula compiling source code or using packages? > > I have some tips to upgrade bacula by compilation of source code. It works > to install using packages also. > You need to do in mind that the basically, Bacula have conf files and a > catalog (database), and volumes. > If you have these 3 pillars, you can restore any Bacula environment. > > ============================================= > Tips on how to upgrade Bacula > - Stop all bacula daemons and make sure none are running, if necessary > execute the command (pkill -9 bacula) > - Perform a backup of the Bacula database (run the standard Bacula backup > script, usually "/etc/bacula/scripts/make_catalog_backup.pl MyCatalog". > Copy the file generated by the script to a secure location. > - Make a backup of the Bacula configuration folder (*.conf), usually > /etc/bacula or /opt/bacula (make sure do the backup of correct directory) > - If your bacula was installed using packages, it is interesting to remove > all packages related to Bacula. Use the command: "apt-get remove > package_name or yum remove package_name" > If the bacula was installed using compilation, it is interesting to use > the same options used in the "./configure" > - Download the source code, and proceed as if it were a new installation > - Copy the configuration files (* .conf) from the backup to /etc/bacula or > /opt/bacula > - Verify that the paths that were informed in the build are the same as > the previous configuration, otherwise, you need to edit the configuration > files and change these paths. > - Run the script to update the Bacula database (usually > update_bacula_tables or update_mysql_tables or update_postgresql_tables) > - Run the daemons test commands and make sure they have no configuration > errors. bacula-dir -t, bacula-sd -t and bacula-fd-t > - Start the bacula and run bconsole > - And if all went well, congratulations, your bacula was updated > successfully! > - In case of errors you must run Bacula in debug mode and check for > possible errors. Sometimes it's interesting to run a pkill -9 to stop all > bacula daemons, and start each separate daemon with the debug option (-d > 500). bacula-dir-d 500, bacula-sd-d 500, bacula-fd-d 500 > ============================================= > > There is a script to install Bacula by packages from Bacula repositories > (But this script was tested for fresh installations, I don't know the > behavior in installations already existent) > > http://www.bacula.lat/community/bacula-community-9-x-official-packages-installation-script/?lang=en > > > Or you can compile using this link: > > http://www.bacula.lat/community/community-bacula-9-0-8-compilation-and-installation-commands/?lang=en > > > I suggest also you upgrade to the latests Bacula version (9.4.4) (only > compilation for a while or 9.4.3 by packages) > https://www.bacula.org/source-download-center/ > > Best regards > > *Wanderlei Hüttel* > http://www.bacula.com.br > > > Em qui, 30 de mai de 2019 às 03:23, preash raj <preash....@gmail.com> > escreveu: > >> Hello Guys, >> >> How do I upgrade Bacula 5.2.13 to 7.2 with Snapshot Management feature? >> >> ===================== >> Bacula: 5.2.13 >> OS : CentOS Linux release 7.6.1810 (Core) >> Database : mysql Ver 15.1 Distrib 5.5.60-MariaDB >> ===================== >> >> Please provide me with a step by step instruction for the upgrade, I >> couldn’t find a proper documentation for the bacula upgrade. >> >> Hope you guys will help :) >> >> Regards, >> Preash >> _______________________________________________ >> Bacula-users mailing list >> Bacula-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/bacula-users >> >
_______________________________________________ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users