2 Chapter 30. Upgrade Issues
3 Prev Part VI. Historical files Next
5 -------------------------------------------------------------------------------
7 Chapter 30. Upgrade Issues
15 Amanda 2.4.0 has introduced a major incompatibility in the Amanda protocol.
16 This means that pre-2.4.0 clients won't interoperate with a 2.4.0 server, nor
17 will 2.4.0 clients interoperate with pre-2.4.0 servers. You have to upgrade
18 them all at the same time.
19 To ease the upgrade process Amanda has, from release 2.4.0 on, a configure flag
20 (--with-testing) that will cause Amanda to use alternate service names (Amanda-
21 test) instead of the standard ones. This allows you to keep using your old
22 version of Amanda while you test the new one.
23 Depending upon the version of Amanda you are upgrading from, Amanda may use a
24 different database library to store the backup information, and the new Amanda
25 may not be able to read the old Amanda database files. In this case, you will
26 want to do something like the following:
27 Before the upgrade (using the old version of amadmin):
29 # cd /var/AMANDA/CONFIG
30 # amadmin CONFIG export > zzz
35 and after the upgrade (using the new version of amadmin):
37 # cd /var/AMANDA/CONFIG
38 # amadmin CONFIG import < zzz
41 and a month :-) after you are happy with the new version:
43 # cd /var/AMANDA/CONFIG
47 After 2.4.0, the structure of the directory holding the index files was changed
48 to have three levels instead of being flat. This greatly reduces the number of
49 files in a given directory, which was a problem for some systems.
51 [indexdir]/hostname/filesystem/YYYYMMDD_L.gz
52 where hostname and filesystem are "sanitized" versions of the names from
53 disklist, i.e. '/' characters are converted to '_' and so on. This new naming
54 convention matches the one used for the text formatted database.
55 A script is available to convert the flat directory structure to the new
57 http://www.amanda.org/2.4-conv/msg00428.html
61 Refer to http://www.amanda.org/docs/upgrade.html for the current version of
63 -------------------------------------------------------------------------------
66 Chapter 29. Response to CPIO Security Home Chapter 31. What once was new