Is it possible to rename repositories? I was not a...
# help
j
Is it possible to rename repositories? I was not able to do that via the ui
j
Hi @Jonas, You cannot currently rename repositories in lakeFS. You can of course delete and recreate the repo with you preferred name…
j
That's not really an option since we would lose their history doing so, don't we?
j
true
o
it is possible to export the repository's commit history, branches and pretty much everything except for uncommitted changes into the repository's storage namespace, and then import it from a new repository
jumping lakefs 1
basically, do: 1.
lakectl refs-dump
(see docs) 2. create a bare repository that has no initial branch or commit (see docs) using the same storage namespace as the original repository 3. `lakectl refs-restore` (see docs) on the new bare repo, to restore the branches, commits, etc. 4. test and make sure everything works 5. delete the original repository 🙂 6. win
j
Ah that looks great! Thank you! 🙂