By default, PresSTORE ist installed in /usr/local/aw on Linux, Solaris and OSX hosts.
Due to the fact that PresSTORE's backup and archive modules make use of index files to maintain the data saved on tape, the directory may consume a large amount of space. It may then be required to move PresSTORE to another volume with more space.
The easiest way to achieve that is to move the complete PresSTORE folder to another disk.
We will assume in the following it is moved from /usr/local/aw to /Volumes/bigdisk/aw, please replace the pathes according to your folders.
It is further assumed that you have administrator permissions, otherwise please use sudo command instead of command to get permission for the operation.
First, the running PresSTORE server must be stopped:
Next, create the destination folder, if not yet existing:
Then copy the aw folder's content to the new location. In order to copy softlinks correctly, you may want to use the tar command:
tar -cf - . | (cd /Volumes/bigdisk/aw ; tar -xvf -)
This command does not produce an intermediate tar archive. In case you need such an archive, e.g. to carry the aw folder on a removeable
disk, use these commands to create an archive and extract from it later:
tar -cvf /Volumes/RemoveableDisk/PresSTORE.tar .
tar -xvf /Volumes/RemoveableDisk/PresSTORE.tar
After the copying, the install script must be started to correct the autostart mechanisms and start the server:
Thats all. The server will start the same way as from the original place, there will be no changes in the PresSTORE web interface.
On Mac OSX, the default installation path cannot be changed during an installation from the .dmg file. Because of that, it is more practical to keep PresSTORE installed at /usr/local/aw in order to be able to use the normal mechanism to update the package later on. To save space on /usr/local/aw, which often resides on the root filesystem, the above methods can be used to move only the folder usr/local/aw/conf/index (P4) or usr/local/aw/config/index (P5) to the new location and set a soft link from the old to the new location (http://en.wikipedia.org/wiki/Ln_(Unix)). This way, the .dmg style packet installation can be used unchanged, but the space consuming index files can be stored at a different location. Example:
sudo ln -s /Volumes/p5_indexes/index/ index