I am attempting to get 4 different machines to all sync to my hub account.
Macbook Pro:
Where I originally install Atuin, about 2 years ago. Atuin account was created from this machine. I have my atuin key, username, and password.
MacStudio:
Recently acquired, finally setting up Atuin on it. I messed up the original set up because I let it generate its own key and still logged into my existing account - thinking that would automatically allow the 2 machines to sync with each other.
Ubuntu Server 1:
Just like on the MacStudio, I let Atuin do the default workflow, logged into my existing account, thinking that would allow the 3 machines to sync.
I noticed inconsistencies with atuin behavior (based on what I was used to from using it on the Macbook). Thought, oh, I probably didn’t set this up correctly. I’ll re-install and do it right this time. Except I didn’t.
Ubuntu Server 2:
I thought I set this one up correctly from the beginning, but I know I didn’t because there was no history and when I ran atuin sync -f I didn’t get all the history from my Macbook.
I eventually came across the correct way to setup multiple machines, but I have “old stuff” in my Atuin Hub store and I don’t know how to clear that up.
My Macbook is the original, with the long history, that I want to preserve. I don’t care about any captured by my MacStudio or Ubunu Server.
From my Macbook, I followed these instructions by Ellie on how to (hopefully) clear things up. Except it’s not working like I thought it would. I still get “attempting to decrypt with incorrect key” errors.
So, I would like to get some clarification on a couple of things to make sure I understand how this works:
- After purge and verify, when I run
atuin store push –force, does that overwrite everything in the hub store, or only everything associated with the current key?
I think it’s everything with the current key, rather than “everything” everything.
-
If so, is there a way to purge my existing hub store of everything and start over with just the existing local history from my Macbook?
-
Lastly, what do the api_tokens in my hub account signify? I assume every time I logout/login from the CLI, I end up generating a key api_token, but I can’t find any documentation on it.