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 911 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 @mth75
      last edited by

      @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
      • cyperghostC
        cyperghost
        last edited by

        @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

          @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 ...

          cyperghostC 1 Reply Last reply Reply Quote 0
          • cyperghostC
            cyperghost @qu1que
            last edited by cyperghost

            @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 Reply Quote 0
            • Q
              qu1que @cyperghost
              last edited by qu1que

              @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 Reply Quote 0
              • cyperghostC
                cyperghost
                last edited by cyperghost

                @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

                  @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

                    @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

                      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

                        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
                        • First post
                          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.