RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Restoring with rsync

    Scheduled Pinned Locked Moved Help and Support
    rsyncbackup recoveryrecovery
    3 Posts 2 Posters 456 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.
    • S
      stuckinthe90s
      last edited by

      I recently accidentally deleted every empty folder and file in my home folder.

      This left me with a few problems as you might have guessed. But it wasn’t crippling.

      Luckily I keep backups of my RPi image.

      The last backup I made was about a month ago. So it’s a bit outdated. My “broken” system still boots and plays games just fine but there are some components missing from now. For example, the entire RetroPie configuration menu has been deleted.
      I need that.

      I backed up my broken configuration to a USB with rsync. And then wrote my old backup image to the SD card and booted into it.

      All I want to do is update my backup with the information on my usb stick from my broken system.

      For the life of me I can’t get this right.

      Should

      sudo rsync -avh --update /mnt/ /

      work since it’s mostly all the same information? I’ve been trying it with --delete Which just left me with an exact copy of my broken system.

      1 Reply Last reply Reply Quote 0
      • mituM
        mitu Global Moderator
        last edited by

        @stuckinthe90s said in Restoring with rsync:

        For example, the entire RetroPie configuration menu has been deleted.

        You can get it back by re-installing the retropiemenu package. For the rest, I think it's better to use your backup and just rsync back the ROM folders.

        1 Reply Last reply Reply Quote 1
        • S
          stuckinthe90s
          last edited by

          I ended up just using the rsync command from my first post.

          I didn’t expect it to work but, Everything seems to be back to normal now.

          Although I didn’t know I could merely just reinstall the RetroPie manager.

          Thanks @mitu!

          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.