# Sync v2 testing

**URL:** <https://forum.atuin.sh/t/sync-v2-testing/124>\
**Category:** General\
**Created:** [February 5, 2024, 9:45am UTC](https://forum.atuin.sh/t/sync-v2-testing/124 "2024-02-05T09:45:39Z")\
**Posts on this page:** 1\
**Showing post:** 30

<div class="post-metadata">

**Author:** ![ellie](https://forum-cdn.atuin.sh/user_avatar/forum.atuin.sh/ellie/32/564_2.png) [@ellie](https://forum.atuin.sh/u/ellie)\
**Post date:** [June 7, 2024, 10:38am UTC](https://forum.atuin.sh/t/sync-v2-testing/124/30 "2024-06-07T10:38:59Z")

</div>

> [@sandro](#):
>
> What to do now?

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

> [@sandro](#):
>
> Also unrelated to that: How can I remove the history store for a specific host?

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

---

_[View the full topic](https://forum.atuin.sh/t/sync-v2-testing/124)._
