How to back up and restore Gmail account on Linux

As a Gmail user, you may want to maintain a separate backup of all email messages in your Gmail account for personal archiving purpose. Email back up is also useful in case you want to change your Gmail address to a different one, or switch to a completely different email provider. This tutorial describes how to back up and restore a Gmail account on Linux with Gmvault.