-
Notifications
You must be signed in to change notification settings - Fork 309
rclone filling up trash on gdrive #110
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
The one time something similar happened to me, I noticed a "you have mail" when I logged-into the RPi via SSH. That alerted me to the problem. You could try augmenting the backup script with a Even just an "it worked" on success and silence on failure would get you a bit further in front. You'd eventually think, "hey, I wonder why I haven't seen any backup confirmations for a while?" Does that help? |
Thank you for the suggestions. MQTT for the notification sounds like a good idea, I'll consider that. The trickier bit to me is to determine the success or failure of the backup script. I saw that you have a repo with a backup/restore solution for the IOTstack, I'll have a look there for inspiration. The simplest/crudest approach for me right now would be to set up a file watcher in NodeRed that checks the Gdrive folder and alerts if new backups do't arrive on time, or if they deviate too much in size. |
Probably qualifies as fixed. |
I noticed that my backups had stopped syncing to Gdrive by chance. It turns out the rclone sync command fills up the trash folder and then fails silently in the backup script.
I added --drive-use-trash=false to the rclone sync line in docker-backup.sh as per the documentation, that seems to fix the problem. Would it make sense to add that change to the repo?
Also, does anyone have suggestions on some kind of alarm if the backup is not successful? It's a bit disconcerting that this was a completely silent error.
The text was updated successfully, but these errors were encountered: