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

rpie-preservatives - Save file remote backup & synchronization tool

Scheduled Pinned Locked Moved Projects and Themes
runcommandbackupbackup recoverysync savescloud
10 Posts 4 Posters 1.4k 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.
  • L
    LiquidDivide
    last edited by 5 Oct 2020, 18:10

    rpie-preservatives on github

    I've been using/developing this personally, as time allows, for about a year now, and I think it's finally ready to show to the public and get some feedback from other users. This is a pair of runcommand scripts to sync battery save files on a cloud storage platform. This can be used as a simple script to backup up saves, but the true intent is to allow you to synchronize save files across multiple retropie machines.

    This does perform sync operations, so there is a potential for lost data if things are not setup correctly. Follow all instructions carefully and please, please, PLEASE backup your files before using. Any feedback is welcome.

    1 Reply Last reply Reply Quote 3
    • Z
      zerojay
      last edited by 5 Oct 2020, 18:12

      Your timing couldn't be better as I was just looking to try to find an older solution I used to run ages ago. I'll give this a shot tonight.

      L 1 Reply Last reply 5 Oct 2020, 19:37 Reply Quote 0
      • L
        LiquidDivide @zerojay
        last edited by 5 Oct 2020, 19:37

        @zerojay Awesome. Glad I could help. Hope it works out for you.

        1 Reply Last reply Reply Quote 0
        • S
          SuperPitendo
          last edited by 6 Oct 2020, 14:20

          Hi,

          I´ve been using @jandalf81 's setup script for syncing saves with a cloud service --> https://retropie.org.uk/forum/topic/18712/script-setup-script-to-sync-saves-to-cloud-services

          in combination with his save state selector --> https://retropie.org.uk/forum/topic/18978/script-setup-for-an-automatic-savestate-selector

          @LiquidDivide Give it a shot to get some inspiration for your own script.

          @zerojay maybe is the "older solution" you've been looking for.

          L 2 Replies Last reply 6 Oct 2020, 15:48 Reply Quote 0
          • L
            LiquidDivide @SuperPitendo
            last edited by 6 Oct 2020, 15:48

            @SuperPitendo I was looking for something like this about 2 years ago. Must have been just before
            @jandalf81's script was published, and I somehow missed it. So I wrote my own. Pretty cool that we both went with rclone. His solution is definitely more mature than mine and has a much cleaner setup process. I planned to do something similar, but was just trying to get something that worked before making it nice to use. I'm not sure if I like him moving the save files. May complicate things on other machines, so I'll have to look into that, but overall it appears to do essentially the same thing mine does. I'll have to look at his more closely and see if it's even worth continuing mine.

            Thanks for pointing this out to me.

            1 Reply Last reply Reply Quote 0
            • L
              LiquidDivide @SuperPitendo
              last edited by 6 Oct 2020, 17:51

              @SuperPitendo I've looked into it some more, and I think I do like mine better. I'll improve the install process eventually, but my script supports more complex systems (PSP, Gamecube, and Wii for example) and doesn't move your files around. I also use mine to sync from non-retropie devices that are running retroarch, and my script seems to handle this better too. It's also concerning that he hasn't touched the thing in 2 years and there are some pull requests that have been open for a long time that address some of these issues.

              Still, a lot of work and thought went into it, and I have gotten some ideas and inspiration from @jandalf81's script. Thanks again for sharing.

              1 Reply Last reply Reply Quote 0
              • S
                SuperPitendo
                last edited by 10 Oct 2020, 07:22

                @LiquidDivide I am glad that I could help. Thanks for pointing out the differences, especially the point with the non-retropie devices and that nothing has been done on the other script for 2 years. This should make your script much more interesting. Do you plan to include a save state selector as well?

                L Z 2 Replies Last reply 13 Oct 2020, 00:42 Reply Quote 0
                • L
                  LiquidDivide @SuperPitendo
                  last edited by 13 Oct 2020, 00:42

                  @SuperPitendo I wasn't planning too originally. Mostly because the save state files are quite a bit larger and it takes more than just a few seconds to upload them most of the time. I wanted it to be as seamless as possible. Battery saves are usually done in < 2 seconds or so. But, I definitely could add that option. Right now, I'm trying to streamline the install process.

                  1 Reply Last reply Reply Quote 0
                  • Z
                    zerojay @SuperPitendo
                    last edited by 13 Oct 2020, 00:51

                    @SuperPitendo said in rpie-preservatives - Save file remote backup & synchronization tool:

                    @LiquidDivide I am glad that I could help. Thanks for pointing out the differences, especially the point with the non-retropie devices and that nothing has been done on the other script for 2 years. This should make your script much more interesting. Do you plan to include a save state selector as well?

                    Yes and no. If something works well, there's not really a need to keep changing and updating it. The other script does still work well and I had minimal issues with getting it working again, though I added a few changes from one of the other forks as well. I'm happy with it for now, but if this script gets more features, more robust, I'll happily switch.

                    1 Reply Last reply Reply Quote 0
                    • L
                      langest
                      last edited by 4 Aug 2022, 10:44

                      @LiquidDivide thanks for the awesome scripts!

                      I made some local changes and hacks to get it working on my own system, not pretty enough to contribute. I hope I get some time to clean it up and contribute it back.

                      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.

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