ttionya / vaultwarden-backup

Backup vaultwarden (formerly known as bitwarden_rs) SQLite3/PostgreSQL/MySQL/MariaDB database by rclone. (Docker)
MIT License
1.08k stars 122 forks source link

Cloudflare R2 BACKUP_KEEP_DAYS not woking #134

Closed arima0k closed 1 year ago

arima0k commented 1 year ago

I noticed that the automatic deletion is not working on my Cloudflare R2 setup.

ttionya commented 1 year ago

Please provide relevant logs for troubleshooting.

arima0k commented 1 year ago

Please provide relevant logs for troubleshooting.

How do i extract logs?

ttionya commented 1 year ago

docker logs <container_id>

arima0k commented 1 year ago

docker logs <container_id>

https://ptero.co/cubotazysy.yaml

ttionya commented 1 year ago

The logs don't display any successful messages for delete. You can enter the container (docker exec -it <container_id> bash) and run the command rclone lsf "BitwardenBackup:/angw" --min-age "1d" to check if there's any output.

arima0k commented 1 year ago

rclone lsf "BitwardenBackup:/angw" --min-age "1d"

No output.

ttionya commented 1 year ago

This tool uses the rclone lsf "name:/path" --min-age "1d" command to retrieve files earlier than the specified time. Since this command doesn't return, it appears that no action is taken.

This isn't an issue with this tool. If you believe it's a bug, you can provide feedback to rclone.

The tool is updated promptly with new versions based on the latest rclone image after each rclone update.