A simple script to automatically sync RetroArch save files with Google Drive using rclone. Perfect for Raspberry Pi!
- 🔁 Backup save files and save states
- ☁️ Restore from the cloud
- 🧠 Based on
rclone(also supports Dropbox, OneDrive, etc.) - 📝 Detailed log
- A Linux/macOS system (MADE FOR PERSONAL USE ON MY RASPBERRY PI)
rcloneinstalled and configured with a remote namedgdrive- RetroArch installed (saved files located in
~/.config/retroarch/)
- Clone the repo:
git clone https://github.com/tuo-username/retroarch-save-sync.git
cd retroarch-save-sync
chmod +x save-sync.sh- (Optional) Configure
rcloneif you haven't already done it (⚠️ make sure you have the file rclone.conf⚠️ ):
rclone config- let's backup:
./save-sync.sh backup- Or restore saves:
./save-sync.sh restoreFor example, to run automatic backups every day at 18:00 (6 PM):
crontab -eadd the following line:
0 18 * * * /percorso/alla/save-sync.sh backupMIT — you can use this however you want!!
Made by Achille Pisani