Opened at 2013-08-07T22:42:53Z
Last modified at 2014-08-28T15:14:48Z
#2053 new enhancement
make "tahoe backup" avoid "piling up" if the backup job takes longer than the period
Reported by: | zooko | Owned by: | daira |
---|---|---|---|
Priority: | normal | Milestone: | undecided |
Component: | unknown | Version: | 1.10.0 |
Keywords: | tahoe-backup | Cc: | |
Launchpad Bug: |
Description
<myers> the backup cronjob should be built to not pile up as I'm guessing it's going to take more than 24 hours for this first run to finish
<myers> and if you have that built in you should put that in the documents
Change History (4)
comment:1 Changed at 2013-08-08T11:37:48Z by daira
comment:2 Changed at 2013-08-20T14:26:02Z by zooko
See also #2062.
comment:3 Changed at 2014-08-28T00:58:53Z by zooko
We've been assuming that the user is backing up the same directory multiple times. In that case it makes sense to abort or delay the second backup until the first one completes. But, in #2285, a real live user is hitting a bug because he's running tahoe backup concurrently on two different directories. That use case, which we hadn't apparently previously considered, should probably not cause one of the backups to wait until the other backup is completely finished before it begins!
comment:4 Changed at 2014-08-28T15:14:08Z by daira
Well, it's quite possible that the directories overlap (and if we follow symlinks then we won't know this in advance of starting the second backup).
The tricky design decision here is how to detect that another backup is running (since they will be in different processes, currently). I can think of several possibilities:
3 seems simplest starting from where we are.