---
title: "Apply changes"
description: "Apply Changes in Opsview applies pending modifications to monitoring settings and creates a backup of the opsview database. You can apply changes via the UI or command line, and troubleshoot stuck processes by removing specific files or restarting the opsview-orchestrator."
url: "https://docs.itrsgroup.com/docs/faq/opsview/4920514560797-opsview-apply-changes/index.html"
---
**Apply Changes**, historically known as a **reload** (the legacy name), applies pending modifications to your monitoring settings. Modifications to hosts, service checks, and other monitoring settings do not go live until you Apply Changes.

At the end of the Apply Changes process, Opsview creates a backup of your settings. It does this by backing up the `opsview` database to `/opt/opsview/coreutils/var/backups/` on your [orchestrator](https://docs.itrsgroup.com/docs/faq/opsview/4920429084957-opsview-orchestrator/index.html). You can restore to such backups using the Audit Log.

## Apply Changes without changes

You can Apply Changes even if there are no changes pending. This might be useful if you want to create a restore point in the Audit Log.

There are two ways to Apply Changes:

- [Using the UI](#apply-changes-using-the-ui)
- [Using the command line](#apply-changes-using-the-command-line)

## Apply Changes using the UI

### Prerequisites

- None

### Process

1. Log in to the UI and navigate to **Configuration** > **Apply Changes** to open the apply changes window.

   ![6 2 apply changes](https://docscdn.itrsgroup.com/faq/images/opsview/4920514560797-4920529410461-6-6-2_apply_changes.png)

2. Click **Apply changes**.
   This may take a few minutes. On success, you will see a message like this:

   ![6 2 apply changes success](https://docscdn.itrsgroup.com/faq/images/opsview/4920514560797-4920530006557-6-6-2_apply_changes_success.png)

#### Pending changes

If you have pending changes, you will see a red or orange notification bubble containing a number in the top right of the screen. The number indicates the number of pending changes.

![6 2 apply changes notification](https://docscdn.itrsgroup.com/faq/images/opsview/4920514560797-4920537329565-6-6-2_apply_changes_notification.png)

Click this notification bubble to quickly open the Apply Changes window.

## Apply Changes using the command line

### Prerequisites

- None

### Process

1. Log in to your orchestrator as `root`.
2. Use `rc.opsview` to Apply Changes:

```
/opt/opsview/coreutils/bin/rc.opsview gen_config
```

This may take a few minutes. On success, you will see a message like this:

```
{'success': True, 'message': 'Finished'}
```

### Stuck Apply Changes

If your Apply Changes appears to not be processing/completing, you should perform the below actions.

```
ls -l /opt/opsview/coreutils/var/rw/reload_flag
```

- Remove this file if it exists

- Attempt a new Apply Changes

### Further Troubleshooting

A suggestion would be to restart the opsview-orchestrator component, ensuring all associated files and processes are removed/stopped too

```
/opt/opsview/watchdog/bin/opsview-monit stop opsview-orchestrator
watch /opt/opsview/watchdog/bin/opsview-monit status opsview-orchestrator
- CTRL+C to interrupt this

ls -l /opt/opsview/orchestrator/var/orchestrator.pid
- remove if still present

ps -ef | grep orchestrator | grep -v grep
- forcibly kill any processes that return

/opt/opsview/watchdog/bin/opsview-monit start opsview-orchestrator
watch /opt/opsview/watchdog/bin/opsview-monit status opsview-orchestrator
```

If this happens regularly, contact Support to investigate further.


