Skip to content
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

Add checksum-delta option #28

Closed
dwsteele opened this issue Oct 14, 2014 · 3 comments
Closed

Add checksum-delta option #28

dwsteele opened this issue Oct 14, 2014 · 3 comments

Comments

@dwsteele
Copy link
Member

Checksums are calculated during the backup process, but the delta is still done during diff/incr backups.
Add a new option checksum_delta (default n) that does the delta using checksums. Of course, if the timestamp or size has changed the checksum does not need to be calculated.

@dwsteele dwsteele self-assigned this Oct 14, 2014
@dwsteele dwsteele added this to the Low Priority milestone Oct 14, 2014
@dwsteele dwsteele modified the milestone: Low Priority Mar 12, 2015
dwsteele added a commit that referenced this issue Mar 25, 2015
* Added restore functionality.

* All options can now be set on the command-line making pg_backrest.conf optional.

* De/compression is now performed without threads and checksum/size is calculated in stream.  That means file checksums are no longer optional.

* Added option `--no-start-stop` to allow backups when Postgres is shut down.  If `postmaster.pid` is present then `--force` is required to make the backup run (though if Postgres is running an inconsistent backup will likely be created).  This option was added primarily for the purpose of unit testing, but there may be applications in the real world as well.

* Fixed broken checksums and now they work with normal and resumed backups.  Finally realized that checksums and checksum deltas should be functionally separated and this simplied a number of things.  Issue #28 has been created for checksum deltas.

* Fixed an issue where a backup could be resumed from an aborted backup that didn't have the same type and prior backup.

* Removed dependency on Moose.  It wasn't being used extensively and makes for longer startup times.

* Checksum for backup.manifest to detect corrupted/modified manifest.

* Link `latest` always points to the last backup.  This has been added for convenience and to make restores simpler.

* More comprehensive unit tests in all areas.
@dwsteele dwsteele modified the milestone: Backlog May 28, 2015
@dwsteele dwsteele changed the title Add checksum_delta option Add checksum-delta option Aug 29, 2015
@dwsteele
Copy link
Member Author

dwsteele commented Apr 9, 2016

Moved to xml backlog.

@dwsteele dwsteele closed this as completed Apr 9, 2016
@lock
Copy link

lock bot commented Jul 23, 2019

This thread has been automatically locked. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Jul 23, 2019
@cmwshang
Copy link
Contributor

cmwshang commented Mar 3, 2020

Committed: 904550c

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants