NOTE: These instructions are current as of Filewave 11.2.2 on CentOS
- Install the same version of Filewave on the new/rebuilt server
- Stop the Filewave service:
sudo fwcontrol server stop
- Copy the backup files to the new server (via SCP or SFTP)
- Move the Data Folder to the corresponding directory:
mv /path/to/old/Data\ Folder /fwxserver/
- Start the postgres process:
sudo -u postgres /usr/local/filewave/postgresql/bin/pg_ctl start -w -D /fwxserver/DB/pg_data -m fast
- Delete the MDM database and recreate it from scratch:
/usr/local/filewave/postgresql/bin/psql postgres postgres
a) In Postgres type:
postgres=# drop database mdm;
postgres=# create database mdm OWNER postgres ENCODING 'UTF8' TEMPLATE template0;
b) Quit Postgres (postgres=# \q) - Restore the dump from your backup:
/usr/local/filewave/postgresql/bin/psql -U postgres mdm < /path_to/mdm_dump.sql
- Download and run the fix permissions script from here:
cd ~
wget https://chrisreinking.com/public/fixfwxserverPermissions5.X-3.sh
chmod 777 fixfwxserverPermissions5.X-3.sh
./fixfwxserverPermissions5.X-3.sh
- Run the below 3 commands to finalize the restoration process:
/usr/local/filewave/python/bin/python /usr/local/filewave/django/manage.pyc migrate
/usr/local/sbin/fwxserver -M
fwcontrol server restart