parent
128d212a14
commit
3eb8347677
4 changed files with 31 additions and 2 deletions
@ -0,0 +1,29 @@ |
||||
*** UPGRADING FROM CITADEL 7.63 *** |
||||
|
||||
The Citadel build system provides an "upgrade" option allowing to |
||||
upgrade the server without erasing the data files. However, since we are |
||||
building a package this option is not available. The recommended way of |
||||
upgrading a previous installation is thus a "dump and restore" process. |
||||
|
||||
First, prevent any user to connect to the server (the Citadel |
||||
administration manual recommends disconnecting the server from the |
||||
network, to be sure), then dump the binary data by running the following |
||||
command: |
||||
|
||||
sendcommand "ARTV export" > citadel-export.dat |
||||
|
||||
Shutdown the server. Backup the /var/lib/citadel/data directory, then |
||||
erase its contents. The other directories in /var/lib/citadel contain |
||||
non-binary data and can be left untouched. |
||||
|
||||
Upgrade the citadel package as usual, and run the following command to |
||||
initialize the server: |
||||
|
||||
/usr/libexec/citadel/setup |
||||
|
||||
Start the newly upgraded server, restore the dumped data and restart the |
||||
server again: |
||||
|
||||
/etc/rc.d/rc.citadel start |
||||
sendcommand "ARTV import" < citadel-export.dat |
||||
/etc/rc.d/rc.citadel restart |
@ -1 +0,0 @@ |
||||
93eaf3a11878b326127f6554a84c30d77a95380a citadel-7.63.tar.gz |
@ -0,0 +1 @@ |
||||
0d039bd7a9fa827312d71b9a0dbf10eebb976752 citadel-7.66.tar.gz |
Loading…
Reference in new issue