• Categories
    Category
  • Categories
    Category
  • News
  • Tutorials
  • Forums
  • Tags
  • Users
Tutorial Comments FAQ Related Articles

How to install GMVAULT tool in Linux

325

To install GMVAULT tool in Linux

Gmvault is mainly used to take backup and restore Gmail accounts emails and chats. It synchronises the emails quickly and automatically adds the new mails received to your account. Installation of GMVAULT in Linux is explained in this manual.

Download the latest version of gmvault by using the following link,
http://gmvault.org/download.html

root@user1:/home/user1/Desktop# wget https://bitbucket.org/gaubert/gmvault-official-download/downloads/gmvault-v1.9.1-src.tar.gz

--2016-07-15 14:54:11--  https://bitbucket.org/gaubert/gmvault-official-download/downloads/gmvault-v1.9.1-src.tar.gz
Resolving bitbucket.org (bitbucket.org)... 104.192.143.1, 104.192.143.2, 104.192.143.3
Connecting to bitbucket.org (bitbucket.org)|104.192.143.1|:443... connected.
HTTP request sent, awaiting response... 302 FOUND
Location: https://bbuseruploads.s3.amazonaws.com/1851966d-6197-48e2-b341-c97b441fdcd1/downloads/bfa7eae1-d0ed-4e4f-8dc2-26b09339f875/gmvault-v1.9.1-src.tar.gz?Signature=NEfdZVgqzKz%2BUnbcvAQfiY7VsIo%3D& Expires=1468576452& AWSAccessKeyId=A.
.
.
Length: 97029 (95K) [application/x-tar]
Saving to: ‘ gmvault-v1.9.1-src.tar.gz’ 

gmvault-v1.9.1-src.tar.gz         100%[============================================================> ]  94.75K  39.7KB/s    in 2.4s    

2016-07-15 14:54:16 (39.7 KB/s) - ‘ gmvault-v1.9.1-src.tar.gz’  saved [97029/97029]

After downloading process is completed, extract the gmvault file.

root@user1:/home/user1/Desktop# tar -xvf gmvault-v1.9.1-src.tar.gz
gmvault-1.9.1/
gmvault-1.9.1/etc/
gmvault-1.9.1/etc/scripts/
gmvault-1.9.1/etc/scripts/gmvault
gmvault-1.9.1/gmvault.egg-info/
gmvault-1.9.1/gmvault.egg-info/dependency_links.txt
.
.
.
gmvault-1.9.1/src/gmv/log_utils.py
gmvault-1.9.1/src/gmv/mod_imap.py
gmvault-1.9.1/src/gmv/progress_test.py
gmvault-1.9.1/src/gmv/test_utils.py
gmvault-1.9.1/src/gmv/validation_tests.py

Install gmvault using the python installer.

root@user1:/home/user1/Desktop# apt-get install python python-setuptools

Reading package lists... Done
Building dependency tree       
Reading state information... Done
python is already the newest version (2.7.11-1).
python set to manually installed.
The following packages were automatically installed and are no longer required:
  linux-headers-4.4.0-21 linux-headers-4.4.0-21-generic linux-image-4.4.0-21-generic linux-image-extra-4.4.0-21-generic
.
.
.
Preparing to unpack .../python-setuptools_20.7.0-1_all.deb ...
Unpacking python-setuptools (20.7.0-1) ...
Setting up python-pkg-resources (20.7.0-1) ...
Setting up python-setuptools (20.7.0-1) ...

Go to the extracted gmvault directory and run the following command to install gmavault tool.

root@user1:/home/user1/Desktop/gmvault-1.9.1# python setup.py install
PATH = ./src/gmv/gmvault_utils.py
1.9.1
Gmvault version = 1.9.1
running install
running bdist_egg
running egg_info
writing requirements to gmvault.egg-info/requires.txt
writing gmvault.egg-info/PKG-INFO
writing top-level names to gmvault.egg-info/top_level.txt
writing dependency_links to gmvault.egg-info/dependency_links.txt
.
.
.
Installed /usr/local/lib/python2.7/dist-packages/six-1.10.0-py2.7.egg
Searching for argparse==1.2.1
Best match: argparse 1.2.1
Adding argparse 1.2.1 to easy-install.pth file

Using /usr/lib/python2.7
Finished processing dependencies for gmvault==1.9.1

How to use GMVAULT

Run the following command to launch the GMVAULT.

root@user1:/home/user1/Desktop/gmvault-1.9.1# gmvault sync testfacebookmessenger@gmail.com

Odd. Use default python2.7.x or 2.6.x distribution.
Use gmvault-db located in /root/gmvault-db.
Activate Gmvault db cleaning.
Create defaults in /root/.gmvault/gmvault_defaults.conf. Please touch this file only if you know what to do.
Authentication performed with Gmail OAuth2 access token.
Initiate interactive session to get OAuth2 token from Gmail.
gmvault will now open a web browser page in order for you to grant gmvault access to your Gmail.
Please make sure you' re logged into the correct Gmail account (testfacebookmessenger@Gmail.com) before granting access.
Press ENTER to open the browser.

Installation-GMVAULT-backup-and-restore-Gmail-accounts-emails-and-chats-Linux-sign-in
After Sign in click allow. The gmvault will be allowed use your account
Installation-GMVAULT-backup-and-restore-Gmail-accounts-emails-and-chats-Linux-allow-use-your-account
Now copy the verification code and paste it in the terminal. It automatically connects to the Gmail server.
Installation-GMVAULT-backup-and-restore-Gmail-accounts-emails-and-chats-Linux-verification-code-in-terminal-connects-to-Gmail-server

Installation-GMVAULT-backup-and-restore-Gmail-accounts-emails-and-chats-Linux-verification-code

Installation-GMVAULT-backup-and-restore-Gmail-accounts-emails-and-chats-Linux-email-synchronization
The backup data is stored in the default location $HOME/gmvault-db (or) /HOME/gmvault-db.

Go to settings &rarr Forwarding and POP/IMAP and then enable POP and IMAP for all Gmail account.

Installation-GMVAULT-backup-and-restore-Gmail-accounts-emails-and-chats-Linux-settings-Forwarding-POP-IMAP

To Customise synchronisation run the following command.

root@user1:~# gmvault sync --type custom --imap-req ' Since 1-May-2016 Before 30-May-2016'  ' testfacebookmessenger@gmail.com' 
Odd. Use default python2.7.x or 2.6.x distribution.
Use gmvault-db located in /root/gmvault-db.

Activate Gmvault db cleaning.
Create defaults in /root/.gmvault/gmvault_defaults.conf. Please touch this file only if you know what to do.
Authentication performed with Gmail OAuth2 access token.

Get OAuth2 credential from /root/.gmvault/testfacebookmessenger@gmail.com.oauth2.

Connect to Gmail server.

Perform custom synchronisation with imap request: Since 1-May-2016 Before 30-May-2016.

Start synchronization (2016-07-15T16h05m32s).

Start emails synchronization.
39 emails to be fetched.
Process email num 0 (imap_id:6) from 2016-05.
Process email num 1 (imap_id:8) from 2016-05.
Process email num 2 (imap_id:10) from 2016-05.
Process email num 3 (imap_id:12) from 2016-05.
.
.
.

Will delete 0 chat(s) from gmvault db.

Deletion checkup done in 2s.
================================================================
Sync operation performed in 3s.
Number of reconnections: 0.
Number of emails quarantined: 0.
Number of emails that could not be fetched: 0.
Number of emails that were returned empty by gmail: 0.
Number of emails without label information returned by gmail: 0.
================================================================

To restore the backup files to the gmail server run the below command

root@user1:~# gmvault restore testfacebookmessenger@gmail.com
Odd. Use default python2.7.x or 2.6.x distribution.

Use gmvault-db located in /root/gmvault-db.

Create defaults in /root/.gmvault/gmvault_defaults.conf. Please touch this file only if you know what to do.
Authentication performed with Gmail OAuth2 access token.

Get OAuth2 credential from /root/.gmvault/testfacebookmessenger@gmail.com.oauth2.

Connect to Gmail server.

Start restoration (2016-07-15T16h15m48s).
.
.
.
Restore chats in gmail account testfacebookmessenger@gmail.com.
Read chats info from /root/gmvault-db gmvault-db.
Total number of chats to restore 0.
Got all chats id left to restore. Still 0 chats to do.

================================================================
Sync operation performed in 1m 23s.
Number of reconnections: 0.
Number of emails quarantined: 0.
Number of emails that could not be fetched: 0.
Number of emails that were returned empty by gmail: 0.
Number of emails without label information returned by gmail: 0.
================================================================

Run the following command to know more option about Gmvault.

root@user1:~# gmvault -h

Odd. Use default python2.7.x or 2.6.x distribution.

usage: gmvault [-h] [-v] {sync,restore,check,export} ...

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show program' s version number and exit

subcommands:
  {sync,restore,check,export}
                        valid subcommands.
    sync                synchronize with a given gmail account.
    restore             restore gmvault-db to a given email account.
    check               check and clean the gmvault-db disk database.
    export              Export the gmvault-db database to another format.

a) Get help for each of the individual commands

#>  gmvault sync -h
#>  gmvault restore --help
#>  gmvault check -h
#>  gmvault export -h

Tags:
james
Author: 

Comments ( 0 )

No comments available

Add a comment

Frequently asked questions ( 5 )

Q

I need to sync or backup the mails in my gmail account. How to do this process in my Linux machine?

A

There is a tool which could help you to the exact like to take backup or to sync the gmail account.... The tool name is GmVault.

Q

Purpose of using the GMVAULT?

A

Gmvault is mainly used to take backup and restore Gmail accounts emails and chats. It synchronises the emails quickly and automatically adds the new mails received to your account.

Q

Is there any Alternative tool for Gmvault?

A

MailStore, Backupify, Horcrux, Piler, Got Your Back, and much more.

Q

How to quick restore option will only the sync last 2 months mail of your Gmail account?

A

# gmvault restore --type quick -d ~/gmvault-db examplelinux@gmail.com

Q

I want to restore all of the emails with a defined label, what will do?

A

Runt the following command,
# gmvault restore --apply-label "test" -d ~/gmvault-db examplelinux@gmail.com

Related Tutorials in How to install GMVAULT tool in Linux

Related Tutorials in How to install GMVAULT tool in Linux

How To Create Python SimpleHTTPServer on ubuntu 18.04
How To Create Python SimpleHTTPServer on ubuntu 18.04
Jun 9, 2018
How to Install Python Anaconda in ubuntu 16.04
How to Install Python Anaconda in ubuntu 16.04
Feb 14, 2018
How to Create Webserver- Python 'SimpleHTTPServer'
How to Create Webserver- Python 'SimpleHTTPServer'
Jun 8, 2016
How to install Python V 3.6.5 on Centos 7
How to install Python V 3.6.5 on Centos 7
Oct 23, 2018
How to install ampps web server in Ubuntu
How to install ampps web server in Ubuntu
Jul 14, 2016
How to install python server on CentOS 7
How to install python server on CentOS 7
Aug 11, 2017
How To Install Sublime Text Editor In Linux
How To Install Sublime Text Editor In Linux
Jul 9, 2016
How to install OpenCV with python on CentOS7
How to install OpenCV with python on CentOS7
Sep 4, 2018

Related Forums in How to install GMVAULT tool in Linux

Related Forums in How to install GMVAULT tool in Linux

Python
jacob class=
Downgrade the Python version from Python 3.6.8 to python 2.7.5 default Version
Dec 17, 2019
Python
joshwariddin class=
Facing - pip error while installing Python: Ignoring ensurepip failure: pip 8.1.1 requires SSL/TLS
Sep 29, 2018
GMVAULT
sebastian class=
How to take backup of mail in gmail account
Feb 25, 2017
Ubuntu
keshavadk class=
FTP and SFTP server using Python
Apr 21, 2020
Python
carter class=
Cant able to view output in browser - python simpleHTTPServer
Apr 7, 2017
Linux
gabriel class=
pip command not found error
May 2, 2017
Python
jacob class=
Ansible “ansible_python_interpreter” Error
Oct 30, 2021
Python
rebeccajazz class=
set the default python version
Sep 29, 2018

Related News in How to install GMVAULT tool in Linux

Related News in How to install GMVAULT tool in Linux

Dark web vendor SunTzu583 is back again with millions of decrypted Gmail and Yahoo accounts!
Dark web vendor SunTzu583 is back again with millions of decrypted Gmail and Yahoo accounts!
Mar 22, 2017
Google to pull the plug on Inbox on April 2
Google to pull the plug on Inbox on April 2
Mar 28, 2019
Back To Top!
Rank
User
Points

Top Contributers

userNamenaveelansari
135850

Top Contributers

userNameayanbhatti
92510

Top Contributers

userNamehamzaahmed
32150

Top Contributers

1
userNamelinuxhelp
31040

Top Contributers

userNamemuhammadali
24500
Can you help Luk Van De Looverbosch ?
How to create a root ?

Hello,
How to create root@linuxhelp in Linux Mint 20.1 64-bit ?
Thanks in advance for your reply.
Best regards.

Networking
  • Routing
  • trunk
  • Netmask
  • Packet Capture
  • domain
  • HTTP Proxy
Server Setup
  • NFS
  • KVM
  • Memory
  • Sendmail
  • WebDAV
  • LXC
Shell Commands
  • Cloud commander
  • Command line archive tools
  • last command
  • Shell
  • terminal
  • Throttle
Desktop Application
  • Linux app
  • Pithos
  • Retrospect
  • Scribe
  • TortoiseHg
  • 4Images
Monitoring Tool
  • Monit
  • Apache Server Monitoring
  • EtherApe 
  • Arpwatch Tool
  • Auditd
  • Barman
Web Application
  • Nutch
  • Amazon VPC
  • FarmWarDeployer
  • Rukovoditel
  • Mirror site
  • Chef
Contact Us | Terms of Use| Privacy Policy| Disclaimer
© 2025 LinuxHelp.com All rights reserved. Linux™ is the registered trademark of Linus Torvalds. This site is not affiliated with linus torvalds in any way.