Gmail-backup is an application that allows you to backup/restore your Gmail. It has an easy to use interface and few configurations are needed to get it to work. Other than backing up your emails, you can also use it to migrate your mails from one Gmail account to another. This tutorial will teach you how to backup your Gmail account in Ubuntu Intrepid. Download Gmail-backup for Linux here Extract the folder to your Home folder. You should see a folder with the name gmail-backup-0.105-linux (the folder name will change according to the version). For simplicity sake, rename the folder to gmail-backup. Install the dependencies sudo apt-get install python2.5 python-wxversion In your Gmail account, go to Settings -> Forwarding and POP/IMAP
Check the Enable IMAP and Save Changes. Back to your terminal, run the command: cd ~/gmail-backup && ./gmail-backup-gui.sh
Enter the login credential, backup destination and the range of date to backup. Click Backup to start the backing up process. That’s it. All your mails in your Gmail account is now backed up in your system.
Creating an entry in the menu
It can be a troublesome task to go to the terminal and type a bunch of command just to activate the Gmail-backup application. An easier way is to create an entry in the menu.
In your terminal,
gedit ~/gmail-backup/gmail-backup-gui.sh
Change the following command
exec python2.5 -O gmail-backup-gui.pyo $@
to
exec python2.5 -O dirname $0
/gmail-backup-gui.pyo $@
Save and exit.
On the top panel, right click on Applications and select Edit menus
On the left pane, Select the Internet. On the right, click New Item. Enter the following information. Remember to change the USERNAME to your own user ID.
Click Close. You can now access Gmail-backup via Applications -> Internet -> Gmail backup now.