Sync v2 testing

So, first I’d disable auto_sync to make sure no hosts push bad history

  1. atuin store purge - this will delete all records in the store that cannot be decrypted with the current key
  2. atuin store verify - verify that the previous operation was successful
  3. atuin store push --force - this will delete all records stored remotely, and then push up local data. Run this on the machine that has been purged
  4. atuin store pull --force - this does the opposite to (3). Delete all local data in the store, and pull from the remote
  5. atuin store rebuild history - ensure your history.db is up to date after all these operations

Currently not possible, though with a similar set of steps to the above it could be. Due to the nature of sync, ensuring that those steps propagate properly is difficult

3 Likes