mirror of
https://github.com/octoleo/restic.git
synced 2024-12-22 10:58:55 +00:00
Add compression migration support to changelog
This commit is contained in:
parent
c1bbbcd0dc
commit
5c6db534d4
@ -13,7 +13,12 @@ The new format version has not received much testing yet. Do not rely on it as
|
|||||||
your only backup copy! Please run `check` in regular intervals to detect any
|
your only backup copy! Please run `check` in regular intervals to detect any
|
||||||
problems.
|
problems.
|
||||||
|
|
||||||
Upgrading in place is not yet supported. As a workaround, first create a new
|
To upgrade in place run `migrate upgrade_repo_v2` followed by `prune`. See the
|
||||||
|
documentation for more details. The migration checks the repository integrity
|
||||||
|
and upgrades the repository format but will not change any data. Afterwards,
|
||||||
|
prune will rewrite the metadata to make use of compression.
|
||||||
|
|
||||||
|
As an alternative you can use the `copy` command to migrate snapshots: first create a new
|
||||||
repository using `init --repository-version 2 --copy-chunker-params --repo2 path/to/old/repo`.
|
repository using `init --repository-version 2 --copy-chunker-params --repo2 path/to/old/repo`.
|
||||||
Then use the `copy` command to copy all snapshots to the new repository.
|
Then use the `copy` command to copy all snapshots to the new repository.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user