rclone can't auto upload save to ftp
-
I have installed rclone script to backup all saves from retropie (if microsd has died, I don't lost all saves). Scripts download save from ftp everytime when I start game, but don't upload when I finish game (i need make backup by manual from menu emulation station).
https://github.com/Jandalf81/rclone_script
pi@retropie:/opt/retropie/configs/all $ cat runcommand-onend.sh #!/bin/bash while pgrep omxplayer >/dev/null; do sleep 1; done (sleep 2; mpg123 -Z -@ /home/pi/bgm/playlist.m3u >/dev/null 2>&1) & emulationstation #auto # call script to upload via RCLONE with direction, system and ROM file ~/scripts/rclone_script/rclone_script.sh "up" "$1" "$3" pi@retropie:/opt/retropie/configs/all $ cat runcommand-onstart.sh #!/bin/bash # call script to download via RCLONE with direction, system and ROM file pkill mpg123 ~/scripts/rclone_script/rclone_script.sh "down" "$1" "$3" rclone_script.log 1. run tekken 3 2. finish Tekken 3 3. Full manual sync from emulation station
2022-05-27T10:24:49+02:00: INFO rclone_script.sh downloadSaves Started psx/
2022-05-27T10:24:49+02:00: INFO rclone_script.sh downloadSaves Downloading saves and states for psx/ from ...
2022-05-27T10:24:49+02:00: INFO rclone_script.sh getAvailableConnection Gateway IP: 192.168.8.1
2022-05-27T10:24:49+02:00: INFO rclone_script.sh getAvailableConnection Gateway PING successful
2022-05-27T10:24:49+02:00: INFO rclone_script.sh getAvailableConnection 8.8.8.8 PING successful
2022-05-27T10:24:50+02:00: INFO rclone_script.sh downloadSaves No remote files found
2022-05-27T10:27:25+02:00: INFO: Started full sync...
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.