# Backing up data or switching devices

To import/export/backup your data: In the app, open settings, import/export.

The supported methods are:

* Server sync - sync your portfolio data to our cloud servers and between all your devices that are signed in with the same account
  * You can enable 'auto-sync' if you have a premium subscription. Otherwise you can tap on the 'sync' button to begin a sync.
  * Sync will perform a safe merge. It uploads to the server any local data that's not present on the server, and download from the server and any data not present on your phone.
    * If you want to use the cloud data as the "master" data and do not want to keep your local data, you can enable the 'Delete local data before syncing' checkbox
* Google Drive / external storage / SD Card - backup a CSV file
* Email - send CSV to email

On the new phone / app, go to app settings, import/export, and import your data.

Note: After you import if you don't see your portfolio, go to the 'portfolio overview' screen and make sure you are looking at the correct portfolio.

We don't automatically make backups of your portfolio data to the server for privacy reasons, but you can enable auto sync via the server sync screen.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://help.mystocksportfolio.app/help-guide/backup-and-import/backing-up-data-or-switching-devices.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
