Imported Upstream version 2.5.2p1
[debian/amanda] / docs / upgrade.txt
1
2         Chapter 30. Upgrade Issues
3 Prev  Part VI. Historical files  Next
4
5 -------------------------------------------------------------------------------
6
7 Chapter 30. Upgrade Issues
8
9
10 Stefan G. Weichinger
11
12 XML-conversion
13 AMANDA Core Team
14 <sgw@amanda.org>
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):
28
29         # cd /var/AMANDA/CONFIG
30         # amadmin CONFIG export > zzz
31         # mkdir backup
32         # mv curinfo* backup
33         
34
35 and after the upgrade (using the new version of amadmin):
36
37         # cd /var/AMANDA/CONFIG
38         # amadmin CONFIG import < zzz
39         
40
41 and a month :-) after you are happy with the new version:
42
43         # cd /var/AMANDA/CONFIG
44         # rm -rf backup
45         
46
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.
50 The new layout is:
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
56 layout:
57 http://www.amanda.org/2.4-conv/msg00428.html
58
59 Note
60
61 Refer to http://www.amanda.org/docs/upgrade.html for the current version of
62 this document.
63 -------------------------------------------------------------------------------
64
65 Prev                                   Up                            Next
66 Chapter 29. Response to CPIO Security Home  Chapter 31. What once was new
67 Notice Issue 11: 
68