# How do we maintain schedules when migrating server or upgrading version?

Job schedules, job history and all other information associated with jobs running on a server are maintained in the cluster database. The Build Cluster Database option resets the repository if it already exists, erasing all existing data. &#x20;

To maintain this data while migrating the server to a different machine or a higher version, choose the option to ‘Upgrade Cluster Database’ in Server > Repository Settings instead of building a new database. &#x20;

<figure><img src="/files/pLVIaHpoInD7UmP3YTHT" alt=""><figcaption></figcaption></figure>

In case you are installing the same version on the different machine, this option does not make any changes to the repository, it only associates your existing repository with the new Server. In case of version upgrade, the option adds new tables and columns to your existing repository, making it compatible with the new version, keeping all your previous data intact. In both cases, migration and upgradation, with the Upgrade Cluster Database option, all the jobs scheduled in the existing server will appear in the new Server after the configuration. &#x20;

&#x20;As an added step to safeguard your repository data, create a backup of the cluster database before &#x20;

Visit [this link](https://documentation.astera.com/setting-up/migrating-from-astera-9-to-astera-10) for step-by-step instructions for migrating from Astera 9 to Astera 10.&#x20;


---

# 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://documentation.astera.com/astera-data-stack-v10/faqs/installation/how-do-we-maintain-schedules-when-migrating-server-or-upgrading-version.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.
