• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
RetroPie forum home
  • Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login

Backup & Restore bash script with option to syncronize on google drive account

Scheduled Pinned Locked Moved Ideas and Development
bashscriptbackup recoverygoogle drive
12 Posts 3 Posters 910 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Q
    qu1que
    last edited by qu1que 14 Aug 2019, 18:39

    Hello everyone, I leave here a pdf with some instructions to install a script in Retropie in order to be able to make backups of your saved games of much of the systems included in RetroPie, as well as after being able to restore them, and with the possibility also to upload them to a google drive account. They can also be deleted, it is in several languages, etc., etc. An interesting option is, for example, if you have several raspberries running backward, backing up in one of them, uploading it to the cloud, and restoring it in another that also has a rearfoot. The only thing that should be done is to install the client drive on both raspberries and make sure that the paths where the saved game files are stored match on each device

    The script was made by one of the members of the Spanish telegram group (https://t.me/RetroStoneES) in order to use the retrostone portable console, which works with RetrOrangePi, but which is fully compatible with RetroPie.

    It is open source, so whoever wants to can modify, distribute, etc., but not profit from it.

    The instructions are in Spanish, so feel free to translate them into another language and share them too.

    EDITED (2019-08-23): Now the instructions are in english too.

    It seems I can't upload the pdf file on this forum, so I'll include the script link where you can find it:

    https://gitlab.gameboyzero.es/qu1que/script_back_res

    I hope you enjoy it and take advantage of it.

    1 Reply Last reply Reply Quote 0
    • M
      mth75
      last edited by 14 Aug 2019, 19:23

      @qu1que said in Backup & Restore bash script with option to syncronize on google drive account (SPANISH):

      e, so whoever wants to can modify, distribute, etc., but not profit from it.

      Could you share the script in other ways, the forum is Portugese or Spanish and requires registration. Thx and Cheers!

      Q 1 Reply Last reply 14 Aug 2019, 19:35 Reply Quote 0
      • Q
        qu1que @mth75
        last edited by 14 Aug 2019, 19:35

        @mth75

        Sorry for the inconvenience, I have to chat with gitlab admin, because I don't know why, last week I could make this with no authentication request:

        git clone https://gitlab.gameboyzero.es/qu1que/script_back_res
        

        and all files get cloning on my computer. Now it says I have to authenticate.

        Stay tunned on this thread for when I solve it.

        1 Reply Last reply Reply Quote 0
        • C
          cyperghost
          last edited by 14 Aug 2019, 19:58

          @qu1que Are the any advantages over Setup script to sync saves with cloud services from @jandalf81?

          1 Reply Last reply Reply Quote 0
          • Q
            qu1que
            last edited by 14 Aug 2019, 20:18

            @cyperghost

            I did not know the script you mention, so I can't answer what you ask, sorry.

            In our script you can configure the paths where stored games are stored, both of the systems included in / home / pi / RetroPie / roms, and some others that use other routes (Amiberry, PPSSPP, NDS, mupenplus64, dreamcast, etc)

            You can choose the type of backup / restore, so that it synchronizes the tar.gz files (containing the saved games of the different systems) partially or totally (the difference is that in one case it will eliminate what we have in our device to synchronize with the content in the cloud (total), and in the other case it will not eliminate anything (partial)). This in case we want to upload it to the cloud, otherwise it will simply store it on the device.

            There is also the option to delete those files from saved games, delete the * .tar.gz files, or delete both.

            You can choose the routes of the saved games, either from an external file, or from the script menu itself, as well as the extensions of the files we want to backup.

            Several languages ​​are included to choose from. They are translated by some volunteers, others using automatic translators.

            And I don't remember if anything else ...

            C 1 Reply Last reply 14 Aug 2019, 21:10 Reply Quote 0
            • C
              cyperghost @qu1que
              last edited by cyperghost 14 Aug 2019, 21:10

              @qu1que I've to look into the sourcode but I remeber that the script was very clever coded. You can take a look at IMGUR photo series
              I think if you get the script code of yours we can discuss about it ;)

              Q 1 Reply Last reply 14 Aug 2019, 21:39 Reply Quote 0
              • Q
                qu1que @cyperghost
                last edited by qu1que 14 Aug 2019, 21:39

                @cyperghost

                Well, first of all, I have not written the script, my knowledge in bash script is very basic. It has been written by another person, a member of the telegram group that I mentioned in the first post. I don't know if he expresses himself fluently in English, but I can invite him to enter this forum and discuss it with him.

                Another question, I don't know how to get you the script code, since as I said before, you can't make a git clone due to some problem in the gitlab that I will solve in the next few days.

                I have uploaded it to google drive, and I share the link for you to take a look:

                https://drive.google.com/open?id=10__bEhsIS6ywiNm-Jwu6o9EPRnbUOqUk

                @mth75 I think this interests you too.

                I have also seen that the @jandalf81 script is very elegant. In that aspect, ours may not be so colorful, it is simply a dialog menu with several options
                regards

                M 1 Reply Last reply 15 Aug 2019, 15:57 Reply Quote 0
                • C
                  cyperghost
                  last edited by cyperghost 14 Aug 2019, 23:33

                  @qu1que I took a swift code in your script. It's very good commented and there is a good chance in translation but I'm on vacation and have no linux mashine. So I can't test.... but hell 4000+ lines of code. One thing: I did not saw that the script sources the joy2key code. So how do you reassign the gamepad button codes?

                  1 Reply Last reply Reply Quote 0
                  • Q
                    qu1que
                    last edited by 15 Aug 2019, 06:10

                    @cyperghost

                    We did not include the joy2key source code in main script. We've made it in another script to be launched from Emulation Station. Now I've included to the google drive link the other script. Take a look to the BACKUP_RESTORE.sh file

                    1 Reply Last reply Reply Quote 1
                    • M
                      mth75 @qu1que
                      last edited by 15 Aug 2019, 15:57

                      @qu1que said in Backup & Restore bash script with option to syncronize on google drive account (SPANISH):

                      it to google drive, and I share the link for you to take a look:

                      Thx mate!

                      1 Reply Last reply Reply Quote 0
                      • Q
                        qu1que
                        last edited by 18 Aug 2019, 09:41

                        Now it's solved the problem with gitlab. Anyone can do a git clone to the repository:

                        git clone https://gitlab.gameboyzero.es/qu1que/script_back_res
                        
                        1 Reply Last reply Reply Quote 0
                        • Q
                          qu1que
                          last edited by qu1que 20 Aug 2019, 12:15

                          Next days I'll translate to english the pdf with the instructions of the script, and included the file on gitlab too.

                          EDITED (2019-08-23): Now instructions are translated to english.

                          1 Reply Last reply Reply Quote 0
                          12 out of 12
                          • First post
                            12/12
                            Last post

                          Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.

                          Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.

                            This community forum collects and processes your personal information.
                            consent.not_received