Bacula-users

Re: [Bacula-users] Upgrading Bacula Versions

2010-09-07 21:24:54
Subject: Re: [Bacula-users] Upgrading Bacula Versions
From: John Drescher <drescherjm AT gmail DOT com>
To: Eduardo Júnior <ihtraum18 AT gmail DOT com>, bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Tue, 7 Sep 2010 21:22:20 -0400
> My bacula version is 2.4.4 (bacula-director, bacula-sd and all
> bacula-fd of the clients)
> I read about upgrading bacula versions in [1].
>
> So, I have two questions:
>
> 1. If I just upgrade bacula-director and bacula-sd, lets say, to version 5.03,
> the bacula-fd in the version 2.4.4 is compatible?
>
> 2. All the steps in [1] are sufficients to a succesful upgrade? Or the
> distance between
> the versions (2.4.4 and 5.0.x) will be require more steps?
>

You need to upgrade the database. Your distribution should install the
scripts to do this.

On my system (gentoo) these are located at:
/usr/libexec/bacula/updatedb
jmd1 updatedb # ls -al .
total 212
drwxr-x--- 2 root root    4096 Jun 17 11:54 .
drwxr-xr-x 3 root root    4096 Jun 17 11:54 ..
-rw-r----- 1 root bacula   845 Jun 17 11:54 README
-rwxr-xr-- 1 root bacula   485 Jun 17 11:54 update_bacula_tables_8_to_9
-rwxr-xr-- 1 root bacula   105 Jun 17 11:54 update_bdb_tables_8_to_9
-rwxr-xr-- 1 root bacula  2080 Jun 17 11:54 update_mysql_tables_10_to_11
-rwxr-xr-- 1 root bacula  2066 Jun 17 11:54 update_mysql_tables_10_to_11.in
-rwxr-xr-- 1 root bacula  1586 Jun 17 11:54 update_mysql_tables_4_to_5
-rwxr-xr-- 1 root bacula  2491 Jun 17 11:54 update_mysql_tables_5_to_6
-rwxr-xr-- 1 root bacula  2314 Jun 17 11:54 update_mysql_tables_6_to_7
-rwxr-xr-- 1 root bacula  1364 Jun 17 11:54 update_mysql_tables_7_to_8
-rwxr-xr-- 1 root bacula  3264 Jun 17 11:54 update_mysql_tables_8_to_9
-rwxr-xr-- 1 root bacula  2477 Jun 17 11:54 update_mysql_tables_9_to_10
-rwxr-xr-- 1 root bacula  2463 Jun 17 11:54 update_mysql_tables_9_to_10.in
-rwxr-xr-- 1 root bacula  1256 Jun 17 11:54 update_postgresql_tables_10_to_11
-rwxr-xr-- 1 root bacula  1242 Jun 17 11:54 update_postgresql_tables_10_to_11.in
-rwxr-xr-- 1 root bacula  2071 Jun 17 11:54 update_postgresql_tables_7_to_8
-rwxr-xr-- 1 root bacula  4252 Jun 17 11:54 update_postgresql_tables_8_to_9
-rwxr-xr-- 1 root bacula  2392 Jun 17 11:54 update_postgresql_tables_9_to_10
-rwxr-xr-- 1 root bacula  2378 Jun 17 11:54 update_postgresql_tables_9_to_10.in
-rwxr-xr-- 1 root bacula  8354 Jun 17 11:54 update_sqlite3_tables_10_to_11
-rwxr-xr-- 1 root bacula  8337 Jun 17 11:54 update_sqlite3_tables_10_to_11.in
-rwxr-xr-- 1 root bacula 11201 Jun 17 11:54 update_sqlite3_tables_8_to_9
-rwxr-xr-- 1 root bacula  8344 Jun 17 11:54 update_sqlite3_tables_9_to_10
-rwxr-xr-- 1 root bacula  8327 Jun 17 11:54 update_sqlite3_tables_9_to_10.in
-rwxr-xr-- 1 root bacula  8314 Jun 17 11:54 update_sqlite_tables_10_to_11.in
-rwxr-xr-- 1 root bacula  4525 Jun 17 11:54 update_sqlite_tables_4_to_5
-rwxr-xr-- 1 root bacula  5332 Jun 17 11:54 update_sqlite_tables_5_to_6
-rwxr-xr-- 1 root bacula  6666 Jun 17 11:54 update_sqlite_tables_6_to_7
-rwxr-xr-- 1 root bacula  4571 Jun 17 11:54 update_sqlite_tables_7_to_8
-rwxr-xr-- 1 root bacula 11200 Jun 17 11:54 update_sqlite_tables_8_to_9
-rwxr-xr-- 1 root bacula  8327 Jun 17 11:54 update_sqlite_tables_9_to_10.in


You need to figure out what database version you are running now and
run each script for your database to get it to the current version.

John

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users

<Prev in Thread] Current Thread [Next in Thread>