Large backup signature and manifest files should be split with --volsize too
Bug #385495 reported by
stagenex
This bug affects 87 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Duplicity |
In Progress
|
High
|
Kenneth Loafman | ||
Déjà Dup |
Triaged
|
High
|
Unassigned |
Bug Description
With new 0.6.0 release, the signature & manifest archive should be split to respect the volume size's command line option.
Without this, it's not possible to backup to limited filesize backend, like imap, or ftp.
Related branches
Changed in duplicity: | |
importance: | Undecided → Medium |
status: | New → Confirmed |
Changed in duplicity: | |
importance: | Medium → High |
assignee: | nobody → Kenneth Loafman (kenneth-loafman) |
Changed in duplicity: | |
milestone: | none → 0.6.22 |
Changed in duplicity: | |
milestone: | 0.6.22 → 0.6.23 |
Changed in duplicity: | |
assignee: | Kenneth Loafman (kenneth-loafman) → nobody |
Changed in duplicity: | |
milestone: | 0.6.23 → 0.8.00 |
assignee: | nobody → Kenneth Loafman (kenneth-loafman) |
Changed in duplicity: | |
status: | Confirmed → In Progress |
Changed in duplicity: | |
milestone: | 0.8.00 → 0.8.01 |
Changed in duplicity: | |
milestone: | 0.8.01 → none |
To post a comment you must log in.
Here's some history from the previous tracker:
Kenneth Loafman <email address hidden> writes:
> Kenneth Loafman <email address hidden> writes: bin:275( write_multivol) to the FileobjHooked. to_remote dup_temp. py:169( to_remote) . Does that sound
> >
> > Ross Patterson <email address hidden> writes:
> >
> > > Follow-up Comment #2, bug #25542 (project duplicity):
> > >
> > > I was thinking of attempting this but since I'm cutting my teeth
> > > on this and Duplicity seems to have a pretty unique layout for a
> > > python project, I'd love some guidance.
> > >
> > > It looks like breaking up the signature file while writing it to
> > > the remote should be mostly a matter of duplicating the relevante
> > > bits of the "while not at_end:" loop logic from
> > > duplicity-
> > > method at duplicity/
> > > correct?
> > >
> > > What I'm having a harder time finding in the code is the right
> > > place to hook into for re-assembling split signatures on restore
> > > or inspection of the remote archive. Can anyone offer any
> > > pointers on that?
>
> > Follow-up Comment #3, bug #25542 (project duplicity):
> >
> > Wait until 0.6.0 is out and it will be a lot easier. The sig and
> > manifest file handling has changed a fair bit, so the split and
> > reassembly will be a lot easier.
> >
> > Plus, I've got a version of file_naming.py that handles volume
> > numbers in sig files, just not released yet.
>
> Follow-up Comment #7, bug #25542 (project duplicity):
>
> I read comment 2 and you were right about where to break it up, in
> dup_temp.py. I have not thought about where to reassemble it, but it
> would probably be best to look at the place it's downloaded into a
> temp. Catch it there and reassemble into a single file. That way you
> won't have to mess with collections.py.
>
> Since the ~/.duplicity directory is expected to be around between
> backups now, the only reason to download it from remote is if that dir
> has been destroyed somehow, so even a special case might do it, kind
> of a preparatory step before duplicity begins. The local copy would
> still be one file, assuming it was still there.
>
> I really have not thought about this much. Backing up to IMAP is such
> a special use case for duplicity that it just has not been on my
> mental radar.