Synology Gmail Backup, Again
January 11, 2015
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
python get-pip.pyto install pip system-wide.
pip install virtualenvto install virtualenv system-wide.
- Log in as your normal user, and
cdto wherever you want to install GMVault.
virtualenv gmvault_envto set up a virtual environment for GMVault to run in.
./pip install --verbose --pre gmvault --allow-external IMAPClientto install GMVault in this little environment.
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