From 6f5e894658b9ea0b7846e16bf948b31928acf0c5 Mon Sep 17 00:00:00 2001 From: Krzysztof Zduniak <74667483+ziutech@users.noreply.github.com> Date: Mon, 23 Sep 2024 12:13:28 +0200 Subject: [PATCH] Add FAQ entry on how to import unsynced atuin history --- src/content/docs/faq.mdx | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/content/docs/faq.mdx b/src/content/docs/faq.mdx index ccb621a..b9a3072 100644 --- a/src/content/docs/faq.mdx +++ b/src/content/docs/faq.mdx @@ -39,3 +39,12 @@ may change soon, but in the meantime so long as you're still logged in on at least one account, it's safe to delete and re-create the account. We're aware this isn't optimal. + +## I did not set up sync, and now I have to reinstall my system! + +If you have a backup of `~/.local/share/atuin`, you can import it by: +1. disabling atuin by commenting out the shell integration, e.g. for bash it's `eval "$(atuin init bash)"` +2. copying the backup to `~/.local/share/atuin` +3. reenabling atuin +4. setting up sync! +