# Data migration

## 1. Save existing data <a href="#export-data" id="export-data"></a>

Start Jasper on the old machine and select `Menu → Jasper → Export Data`.

![](https://2402691658-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MHdBvXuUTTvADT4CXrm%2F-MI8c1ol7jiEMIQplgMJ%2F-MI8cEqB7wAa7QuK-Cb5%2F04_export.png?alt=media\&token=54565f5c-0064-4cd1-8462-fbf0d1f70c6a)

Click `Open data directory` to display the directory. Copy the `config.json` and `main.db` in the directory displayed to your desktop. Move these data to your new machine using Google Drive or Dropbox etc.

{% hint style="info" %}
If you have multiple accounts registered in Jasper, you will also need to copy a file such as `main-123456789.db`.
{% endhint %}

## 2. Migrate data to the new machine <a href="#import-data" id="import-data"></a>

Start Jasper on a new machine. On the first configuration screen, select `Import Data`.

![](https://2402691658-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MHdBvXuUTTvADT4CXrm%2F-MI8c1ol7jiEMIQplgMJ%2F-MI8cW3AzfVNjx8AKR9D%2F03_import.png?alt=media\&token=426e1f75-59ed-496b-a633-a5afcb3bef00)

Click on the `Open data directory` to display the directory. Copy (overwrite) the `config.json` and `main.db` that you just moved into this directory. Finally, click on `Restart Jasper` and your data migration is complete.
