Restoring with rsync
-
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. -
@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 justrsync
back the ROM folders. -
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!
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.