Skip to content

backup: Try resetting refs on restore

James Liu requested to merge jliu-backup-reset-refs into master

Issue: #5449 (closed)

Instead of explicitly deleting each repository before restoring it from a bundle, we should try resetting the refs to the state they were in the backup. If this succeeds, we've effectively "restored" the content of the repo. If this fails, we can proceed with removing the repository, creating a fresh one, and cloning from the bundle.

Edited by James Liu

Merge request reports