-
-
Notifications
You must be signed in to change notification settings - Fork 85
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
v3 breaking changes #80
Comments
consider rclone as a universal backend per #65? Ideally combinable with multiple sources and multiple schedules. |
Could you elaborate on how this would be different from what is already possible? |
I don't use the config file directory so I didn't know how it works but after looking at it I think it should combine just fine if every environment variable can be set individually for each run. The only difference would be another var with a list of rclone remote:folder targets to upload to. I'd also like a var that controls syncing all archives or just the symlinked latest one (I have a space constrained VPS that I sync just my latest to). It would also be nice if the backup executable was able to be called multiple time in parallel to allow the same cron expression in multiple config files. Or maybe have backup configs leave out the cron expression and then have separate schedule configs, each with a cron expression and a list of backup configs to run sequentially. That might complicate setting up the container too much. |
As the packaging format of this tool is a Docker image, I'm not entirely sure if getting rid of the exclusive lock (which probably is possible, albeit makes things more complicated) is worth it. If you really need to, you could still spawn multiple containers from that image which run in parallel just fine. If the |
What is it that requires the lock? Or, instead of refactoring to not require a lock, could you check the lock in a loop until some timeout, to support identical cron expressions? |
The lock is there for two reasons mostly:
I think your idea of waiting for the lock to become available instead of failing hard is a pretty good one though, so that should be a workable solution that allows reuse of cron schedules while still meeting above requirements. |
I added support for identical cron expressions in #87 - I'll have another look at this myself tomorrow or so, but in case you have any feedback on that @rpatel3001 feel free to chime in. |
looks good to me |
Support for identical and overlapping cron schedules in now supported in v2.15.0 |
This issue exists to track possible breaking changes that would make sense in a v3 (so I don't forget about them). This does not mean a v3 is going to happen soon. It could even be it never happens.
Remove
EMAIL_*
configAs all notifications are now sent using
shoutrrr
, theEMAIL_*
interface is obsolete and should be removed.Remove
BACKUP_FROM_SNAPSHOT
The functionality of
BACKUP_FROM_SNAPSHOT
can be achieved by using andexec-pre
andexec-post
command.Default to expanding variables in
BACKUP_FILENAME
The option to do this has been introduced later on and
false
was chosen as a default in order to not introduce a breaking change.true
would be the better and more helpful default.true
Also consider doing this for all other configuration values.
Rename
BACKUP_SOURCES
BACKUP_SOURCES
points to a single location. It should be calledBACKUP_SOURCE
(just likeBACKUP_ARCHIVE
).BACKUP_SOURCE
Remove
exec-[pre|post]
labelsThe labels have more granularity now.
exec-pre
andexec-post
Remove
BACKUP_STOP_CONTAINER_LABEL
The
BACKUP_STOP_CONTAINER_LABEL
setting has been renamed: https://offen.github.io/docker-volume-backup/how-tos/replace-deprecated-backup-stop-container-label.htmlThe text was updated successfully, but these errors were encountered: