UniFi Video - How to Reset a UniFi Video Installation for Windows


Overview


This article will outline how to reset a UniFi Video Installation and how to restore recordings under the Windows operating system. The article for resetting a Linux installation (or our hardware NVR), can be found here.

NOTES & REQUIREMENTS:
Please note that this will clear out all settings and managed cameras but the recordings will remain.  If you do not restore a configuration backup, it will be necessary to re-manage the cameras, setup motion zones/sensitivities, reconnect the install to the cloud, etc. This method should only be used after a database repair has been attempted and been advised by a Ubiquiti employee. 

Table of Contents


  1. Steps: How to Reset a UFV Installation
  2. Steps: How to Restore Recordings
  3. Related Articles

Steps to Reset a UFV Installation


Back to Top

1. If you wish to restore your current configuration after the reset, ensure you have a configuration backup, or generate one from the Settings page in UniFi Video.

2. Shutdown UniFi Video via the notification area icon.

3. Edit C:\ProgramData\unifi-video\data\system.properties file. Notepad, Notepad++, or any other text editor can be used.

4. Locate the line that reads: 

is_default=false

and change it to

is_default=true

5. Restart UniFi Video via the notification area icon.

6. It will take a moment to wipe out the database and restart the web service.

7. Access the install as usual (https://[Your UniFi-Video IP address]:7443). The complete process of how to access the initial setup wizard can be found in the UniFi Video User Guide.

8. The initial setup wizard will appear. Either restore the backup saved prior to recover your configuration or complete the configuration wizard to configure the system.

9. As always, the first thing you should do after completing the wizard is to go to Settings > NVR Settings > Configure tab and check your storage path as well as the ‘Space to Keep Free’ setting.


Steps to Restore Recordings


Back to Top

The following methods will guide a user to attempt to restore their recordings.

ATTENTION: Please note that the analysis tool may actually remove the recordings. It is recommended to make a backup of your recordings prior to performing these steps.

For versions 3.9.0 or later:

  1. Go to Settings > NVR Settings > Configure tab > Expand Tools section.
  2. Check the "Restore Recordings" option, and click ANALYZE:
    Screen_Shot_2018-03-29_at_2.28.33_PM.png

For versions 3.8.5 or earlier:

  1. Edit the system.properties file (C:\ProgramData\unifi-video\data\system.properties) and add the following to the bottom:
    recording.recovery=true
  2. Restart the UniFi Video service via service unifi-video restart.
  3. Log in to the web interface.
  4. Go to Settings > NVR Settings > Configure tab > Expand Tools section > Click the Analyze button. Your recordings will only restore if the storage path is correct.  
  5. Restoring recordings can take some time (anywhere from 30 minutes to 5+ hours depending on how many you have). You can continue to use the system as normal, as well as continue to manage your cameras and set up your configuration, but make sure you stay logged in while the analysis is complete.  A simple way to do this would be to open a Live Feed from a camera or a Live View to prevent the system from logging you out.

Related Articles


Back to Top

UniFi-Video - How to Reset a UniFi-Video Installation for Linux/Hardware NVR

UniFi Video - Repairing a Database

Intro to Networking - How to Establish a Connection Using SSH 


We're sorry to hear that!