---
title: "Recreate_downtime"
description: "Recreate_downtime allows you to fetch, delete, and recreate all downtime currently registered in Opsview. This process works around issues caused by moving hosts between clusters or rebuilding datastores."
url: "https://docs.itrsgroup.com/docs/faq/opsview/4922933753117-opsview-recreate-downtime/index.html"
---
Recreate all downtime currently registered in the system.

## Synopsis

```
/opt/opsview/supportscripts/bin/recreate_downtime [-u <username>] [-p [password]]
```

## Description

Fetch all downtime currently registered, delete it and then recreate it.

This is to work around an issue where either a number of hosts are moved between clusters or the datastore in that cluster has been rebuilt.

## Options

| Option | Purpose | Default |
| --- | --- | --- |
| `-v` | Output version of the script |  |
| `-h` | Display help information |  |
| `-u <username>` | Username | `admin` |
| `-p [password]` | Password. If the password is not provided inline, the user is prompted to provide it. |  |
| `-t <message>` | Text added to the message of recreated downtime to show it has been recreated. | `(recreated)` |


