mishraprafful
11/17/2021, 12:56 PMOz Katz
Oz Katz
mishraprafful
11/17/2021, 1:22 PMmishraprafful
11/17/2021, 1:22 PMOz Katz
mishraprafful
11/17/2021, 7:43 PMOz Katz
lakectl refs-dump
(see reference): this writes all metadata related to the repository (commits, branches, tags) to the repository’s storage namespace
2. on the new installation - create a bare repository with the same name
3. copy the old repository’s storage namespace to the new one's location using e.g. rclone
4. run lakectl refs-restore
(reference) to load back all commits, tags and branches
5. once it's all done, switch clients to the new repo.
one note however, is that currently, refs-dump doesn't handle uncommitted records, so make sure to commit any staged writes prior to migrationOz Katz
mishraprafful
11/18/2021, 8:14 AMOz Katz
mishraprafful
11/18/2021, 2:01 PM