Skip to content
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

[FR]: Clean up remote backups #84

Open
tbelway opened this issue Oct 9, 2024 · 1 comment
Open

[FR]: Clean up remote backups #84

tbelway opened this issue Oct 9, 2024 · 1 comment

Comments

@tbelway
Copy link

tbelway commented Oct 9, 2024

Is your feature request related to a problem? Please describe.

The ability for rclone to delete on the remote is already baked in. However, the regex used to validate the config prevents deleting on the remote, citing a source is required.

Describe the solution you'd like

Remove the source requirement on delete command.

Describe alternatives you've considered

No response

Additional context

No response

@balk77
Copy link

balk77 commented Jan 20, 2025

My apologies, it does seem to delete old files from the remote. It is too early for me :)

Ignore:
I was also thinking that rclone was able to keep two folders in sync. I prefer to delete my hourly backups automatically, also on the remote. Am I overseeing some option?

My config

- name: Sync Backups to idrivee2
  schedule: 15 * * * *
  command: sync
  sources:
    - /backup
  destination: idrivee2:bucket
  include:
    - AutoBackup*
  exclude: []
  flags: {}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants