Rclone rc and --backup-dir


I'm using rclone 1.52.2 via docker to backup some directories to Google Drive.

I've got the backup working perfectly and I am now trying to move to using sync and with --backup-dir move any deleted files to a separate folder with today's date. I can see many examples of this using rc on the command line but have been unable to figure or find where it is possible to do the same via rclone rc.

Has anyone got this working via rc, if so how or where can I find info on this?


It is a bit awkard at the moment as you need to set the global flags

something like

rclone rc options/set --json '{"main": {"BackupDir": "your-backup-dir"}}'

Thanks. That worked!

1 Like

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.