How to extract WhatsApp backup to Google Drive from the console

WhatsApp It is not a free courier, but sadly it is the most used messaging system in the world, one of its functionality is to be able to back up all our files and conversations in Google Drive, which can be restored by the application when desired. Though whatsapp plus, it also offers us the possibility of accessing this support, this time we want to show you how to extract WhatsApp backup to Google Drive from console using WhatsApp Google Drive Extractor. extract WhatsApp backup on Google Drive

What is WhatsApp Google Drive Extractor?

It is a script of open source, Made in python by the team of EliteAndroidApps, that allows users of WhatsApp on Android power. extract the data from your WhatsApp backups that are hosted on Google Drive.

This process is extremely effective, we can do it from our console and in any GNU / LInux distribution. It should be noted that this script allows us to list our backups and the information found in them, in the same way, it synchronizes the backup we want on our computer and also has the possibility that we upload a backup that we have to our cloud to later be restored in our smartphone.

WhatsApp Google Drive Extractor

WhatsApp Google Drive Extractor

How to install WhatsApp Google Drive Extractor?

To install WhatsApp Google Drive Extractor We must have python and configparser installed, for this we must execute the following command in Debian-based distros from our console:

sudo apt-get install build-essential python-dev python-configparser

Once we have fulfilled the necessary dependencies, we must follow the following procedure:

  • Clone the Official Repository of WhatsApp Google Drive Extractor:

git clone https://github.com/EliteAndroidApps/WhatsApp-GD-Extractor.git

  • Edit the connection credentials in «settings.cfg»:

cd WhatsApp-GD-Extractor/

gedit settings.cfg

We replace our google drive username and password.whatsapp settings extractor

I have verified that the username and password is not sent to any server, but I think it is not the safest way to enter the script, so it is important to use it at our own risk.

  • Run WhatsAppGDExtract.py from the console:

python WhatsAppGDExtract.py

How do you use the WhatsApp Google Drive Extractor?

Once we configure the WhatsApp Google Drive Extractor to connect to our google drive account, we must execute it with one of the following commands:

  • To see the help of the Script:

python WhatsAppGDExtract.py -help

  • To see the version and about of the Script:

python WhatsAppGDExtract.py -vers

  • To see the google drive configuration:

python WhatsAppGDExtract.py -info

  • To list the files available to sync:

python WhatsAppGDExtract.py -list

  • To download all the files to your computer:

python WhatsAppGDExtract.py -sync

  • To download a specific backup:

python WhatsAppGDExtract.py -pull "Databases/msgstore.db.crypt12"

This wonderful script will allow us to access our WhatsApp backup in Google Drive and its uses can be many, for example, having a task that allows us to backup our images in the official WhatsApp of our company.

And what use are you going to give to this script? Leave us your comment about it.


The content of the article adheres to our principles of editorial ethics. To report an error click here!.

58 comments, leave yours

Leave a Comment

Your email address will not be published. Required fields are marked with *

*

*

  1. Responsible for the data: Miguel Ángel Gatón
  2. Purpose of the data: Control SPAM, comment management.
  3. Legitimation: Your consent
  4. Communication of the data: The data will not be communicated to third parties except by legal obligation.
  5. Data storage: Database hosted by Occentus Networks (EU)
  6. Rights: At any time you can limit, recover and delete your information.

  1.   felipe cabada said

    Who has used it?

    1.    DevOp-RD said

      Yo!

      1.    Mario said

        I get this error - "Unable to locate google drive file map for: com.whatsapp"

        Might you help me?

  2.   Max said

    fantastic 100%

  3.   Richard said

    Hello, I get this error, does anyone know what you mean?

    Traceback (most recent call last):
    File "WhatsAppGDExtract.py", line 7, in
    import requests
    ImportError: No module named requests

    thank you very much,
    regards!

    1.    Lalo said

      How did you solve it ???

      1.    Ray said

        To solve that they have to install the configparser and requests modules.

        They do it with the pip installer, they must also install it

        1.    Walter said

          Hi Ray, if it's not too much trouble, would you please tell me how to install the configparser and rqeuest modules? Thank you in advance. Cheers

  4.   Hey antonz said

    I had a problem with restoring the backup when I reinstalled WhatsApp, I don't know why only the "ghosts" of all my photos were synchronized, with 0kb, I was worried because I thought I had lost everything but I used this method and succeeded get back everything i needed, thanks man

  5.   Xavis said

    I get error = badAutentication

    1.    Anonymous said

      I still get that error and I have not been able to solve it

    2.    Anonymous said

      could you solve it?

    3.    Elkin said

      I also get the same error

  6.   Nanny said

    Of course I do, my crazy fucking ex used it to steal my WhatsApp information and fuck me on my fb

    1.    George said

      Did you know your Google password?

  7.   Joel said

    when I run the Wha… .r.py file I get the following error:
    ImportError: No module named configparser
    how I get over it. Thanks a lot!

    1.    Sebastian said

      Install the configparser module with the PIP manager

  8.   olive tree said

    Checked .. if it works, the problem with bad authentication is the following you go back to setting and for example remove the g and put it back in its place and save the file and run the command again and then it runs .. I did a sync so that everything goes down ... it's interesting ... thanks for the contribution !!!

    1.    BRYAN said

      Where I get the G

    2.    ferduz said

      That is the question, which G should take out, take him out of gmail, in the variable and in the login, but it doesn't make much sense and it doesn't work, I keep looking

    3.    Sebastian said

      Friend explain us in more detail, I have already changed the G but it keeps throwing the error.

    4.    Gullible said

      No response with this? I get the same "BadAuthentication" error

  9.   Verify said

    It worked perfectly, but I have not been able to make it work for days.
    Maybe WhatsApp or Google made changes to their platform and this .py doesn't work.
    Perhaps the author of the application released v.2 but very little is known about it. TripCode!

    1.    Verify said

      I was able to make it work again, 🙂

      1.    Gullible said

        how did you do it?

      2.    linux said

        how did you do it

        1.    Verify said

          Write me to: generacionmusical@gmail.com and I share with you the new Pyportify .py + Package already completely adjusted for its operation.

          1.    gullible said

            Ready friend!!! I already sent you email from roquines@hotmail.com

          2.    dhelg2025 said

            This is my email, please send me this information .py + Pyportify Package already completely adjusted for its operation. dhelg2025@gmail.com

          3.    Memorandum said

            Hello, good morning, regards. If you can help me too. I would be very grateful.
            guillermogjla@gmail.com
            Thank you

    2.    jfmm said

      I also need a way to make it work, to novagaia@hotmail.com
      Thanks in advance.

  10.   juan sanchez said

    I have a question, regarding the operating system, since this process can only be done, because I am a bit new and it calls my attention, to explore, thanks

  11.   Anonymous said

    Has anyone made it work? I still get bad authentication ...

    1.    Anonymous said

      You must log into the Ghrome with the user you want to extract the information

  12.   Jorge Ibarra said

    Dear, will this process be useful to extract the backup from Drive and upload it to iCloud and thus be able to restore the chat from Android to iPhone?

    1.    jfmm said

      I'm looking for the same answer, have you found the way to do it?

  13.   lucas said

    It doesn't work for me, it comes out ...

    Traceback (most recent call last):
    File "WhatsAppGDExtract.py", line 7, in
    import requests
    ImportError: No module named requests

    I have Linux Mint 18.2 Sonya

    1.    Daniel said

      Download Google Python request and install, try again !!!

  14.   jfmm said

    Hello And how would it be done on mac? Please help.

  15.   patrician said

    Excuse the ignorance but can you recover these files that I have hosted more than 2 years ago in my google drive account without having the number from that time? help

  16.   Lemur said

    What if you have more than one WhatsApp backup with different mobile numbers in the same gmail account?

  17.   Daniel said

    I have a problem with the pyportify HELP !!!!

    1.    Daniel said

      Help ImportError: No module Pyportify.gpsoauth

  18.   Yehudy said

    Here the solution for the BadAuthentication (answer by «alvaro354 commented on 26 Jul»)
    https://github.com/EliteAndroidApps/WhatsApp-GD-Extractor/issues/6

  19.   Rafael said

    Greetings, I also have problems with Pyportify, it tells me that the module does not exist, Help.
    Thank you

  20.   Rolando Maldonado said

    I get error = badAutentication

  21.   Bryant rodriguez said

    I would be very grateful to anyone who supports me, they know if there is any update why they already send me a URL and tell me at the end that I have to access directly from the web and it will not let me download from the console, the vdd I have 30 days before that they delete my WhatsApp and I am afraid that they will delete all my work that I have backed up there and above all it urges me to recover it, thanks in advance

  22.   Bryant rodriguez said

    Ready friend, I already sent you email…. I await your prompt response and thank you very much my email on beir_123@hotmail.com

  23.   dip said

    Hello I need help, it gives me the following error:
    can't open file 'WhatsAppGDExtract.py': [Errno 2] No such file or directory
    Any solution.
    Thanks in advance.
    Greetings.

  24.   Danny said

    could someone help me do it? I don't know how, and I urgently need to recover my backup.
    How much would someone charge me to do it?

  25.   Danny said

    could someone help me do it? I don't know how, and I urgently need to recover my backup.
    How much would someone charge me to do it?

    1.    Verify said

      Write me private: a verifymailspam@gmail.com

  26.   Carlos G said

    Hello, I get Error = BadAuthentication, someone help me please

  27.   Rafael said

    Greetings, there will be some way to download the device backup which is also saved in google drive. For example, in my case a backup is saved that says: Samsung xxx computer backup. Thank you

  28.   Juliannn said

    Someone help me please, I don't know very well how to do it, I already download the latest version of Ubuntu and tell me in the second step
    Command 'git' not found, but can be installed with:

    sudo apt install git

  29.   aordonez said

    Good who can give me the latest version of WhatsAppGDExtract.py since it gives me an error:
    File "WhatsAppGDExtract.py", line 42
    with open (local, 'wb') as asset:
    ^
    What should I do that I am missing or what am I doing wrong?
    Python 2.4.3 (# 1, Jan 9 2013, 01:38:41)
    [GCC 4.1.2 20080704 (Red Hat 4.1.2-54)] on linux2
    Type "help", "copyright", "credits" or "license" for more information.

  30.   Roymer said

    help me I get the same error roymer1975@gmail.com

  31.   Cesar Moreno said

    Best regards, can I run the code from Windown's Wlinux or should I do it on a PC with LINUX as the operating system?