Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

[feature] backup resume #64

Closed
Closed
Milestone
@gsmolk

Description

It should be possible to resume errored FULL, PAGE and DELTA backups.
Main goal is to copy only changed blocks since some backup errored, because reading is cheaper than writing and we want to reuse as much as possible from already copied files.
I think the most efficient way to do so, is to have for every data file property "greatest_lsn".
So data file, already copied to backup, should have in its metadata value of greatest LSN among all its blocks.
We can use this value during reading instance data file to separate changed block since errored backup via simple comparison: block LSN >= greatest_lsn.

(削除) The bad news is that we must frequently flush backup_content.control file to disk. (削除ここまで)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      AltStyle によって変換されたページ (->オリジナル) /