Backing up and restoring the OCS-NG database