My original article from April 2014 turned into a bit of a mess, but after a few reinstalls and helpful comments (thanks David and Simon) I’ve got a much shorter set of instructions:
- Install the Python (2.7) package from the Synology package manager.
- SSH into the Synology box as ‘root‘.
Download and install pip:
wget https://bootstrap.pypa.io/get-pip.py python get-pip.py
Use pip to install virtualenv:
pip install virtualenv
- Log in as your normal user, and ‘cd‘ to wherever you want to install GMVault.
Set up a virtual environment for GMVault to run in:
- Install GMVault in this little environment:
cd gmvault_env/bin ./pip install --verbose --pre gmvault --allow-external IMAPClient
Now you can run
./gmvault from this directory, or put together scripts that reference it by full path.
If you’re like me and your backups frequently see IMAP timeouts, don’t forget to
cd ~/.gmvault and edit
gmvault_defaults.conf so that