We are excited to introduce the Immediate Backup feature to the rclone-copy-cron
Docker image! 🎉
With this update, you can now run a backup immediately if the BACKUP_CRON
environment variable is not set. This provides more flexibility for use cases that require on-demand backups without the need for scheduling.
What's New?
-
Immediate Backup Mode:
- If
BACKUP_CRON
is not set, the container will:- Start the backup process immediately.
- Copy files from the source to the destination using Rclone.
- Exit after the backup completes.
- If
-
Improved Logging:
- Clear logs for immediate backup runs, including start and completion status.
How to Use?
To run an immediate backup, simply omit the BACKUP_CRON
environment variable in your Docker command:
docker run --rm \
-e RCLONE_SOURCE=source:my-source-bucket \
-e RCLONE_DESTINATION=backup:my-destination-bucket \
-e RCLONE_OPTIONS="--progress --checksum" \
dharmeshmp/rclone-copy-cron
This feature is perfect for one-time backup scenarios or testing your backup setup before scheduling.
Enhancements:
- Dual-Mode Support: Use scheduled backups (
BACKUP_CRON
) or immediate backups without changing the container image. - Simplified usage for non-recurring backup needs.
We hope this new feature makes your backup management even more seamless and efficient. 🚀
Feel free to share your feedback or suggestions!