Skip to content

Backup with diff file instead of full copy to save disk space? #5

Description

@QiangF

It should work like this.

  1. sort backup files by suffix, filename-number-(max) filename-number-(max-1) ...... filename-number-min
  2. let filename-number-(max) be a full copy, and all other files be diff files only
  3. on creating a backup, save the copy to filename-number-(max+1), calculate the diff between filename-number-(max) and filename-number-(max+1) and save it to filename-number-(max)
  4. on walking back, apply the diffs sequencially

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions