How to replace a bad camera with a new one and keep the archives (ONVIF connection through URL only)

When an ONVIF camera fails for any reason and needs to be replaced the following procedure has to be followed:

  1. Replace the old camera with new one
  2. Configure the new camera to the same local IP address and ports or adjust port forwarding rules to direct to the new camera
  3. Open the camera in the admin portal and wait for the servers to detect that the ONVIF configuration has changed
  4. Overwrite the configuration
  5. Adjust the camera parameters according to your needs