how to backup or backup and sync users in gmail using gmvault.
Mac or Linux – although I think on my Mac.
Best to do it in a virtual environment, by which I mean virtualenv
cd /
sudo easy_install pip
mkdir venvs
cd venvs
mkdir gmvault
cd ..
sudo chown -R venvs/gmvault
#make the virtual environment
virtualenv venv
source venv/bin/activate
# this just gives your regular user access to the directory tree because sudo gets old
sudo chown -R eschipul:wheel venvs
cd venvs/gmvault/
source venv/bin/activate
# You should now see (venv) in front of your prompt
# I had downloaded the file, which is hard to find BTW, to my Downloads folder so I had to move it.
mv ~/Downloads/gmvault-v1.8.1-beta-macosx-intel.tar.gz /venvs/gmvault/
tar zxvf gmvault-v1.8.1-beta-macosx-intel.tar.gz
cd gmvault-v1.8.1-beta
cd bin
./gmvault sync eschipul@schipul.com
# you have two options – you can use oauth which I did. Or if you are doing a scheduled sync
# restoring a gmail account looks like this:
./gmvault restore MYNEWfoo.bar@gmail.com
credits:
http://gmvault.org/gmail_setup.html
http://gmvault.org/in_depth.html