# Operational data during upgrade

**URL:** <https://dmap-community.ductus.global/t/operational-data-during-upgrade/4508>\
**Category:** CDB and CDB API\
**Created:** [August 3, 2023, 9:17am UTC](https://dmap-community.ductus.global/t/operational-data-during-upgrade/4508 "2023-08-03T09:17:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![nchakrav](https://avatars.discourse-cdn.com/v4/letter/n/e9bcb4/32.png) [@nchakrav](https://dmap-community.ductus.global/u/nchakrav)\
**Post date:** [August 3, 2023, 9:17am UTC](https://dmap-community.ductus.global/t/operational-data-during-upgrade/4508/1 "2023-08-03T09:17:15Z")

</div>

Hi ,

I have a module which has only operational containers and leaf. The data for the module is actually static in nature , so i have used the tailf:cdb-oper extension on the container and then i use the confd\_load command to load the static data. Please note: the static data is in XML format and the tags is aligned with the schema mentioned in the YANG module.  
I wanted to know if the operational data which gets loaded by the confd\_load will survive upgrades and db-backup/restore operation  
I observe that the operational data doesnt survive the db back up and restore, even though i have made use of the cdb-oper extension.

---

<div class="post-metadata">

**Author:** ![cohult](https://yyz2.discourse-cdn.com/flex010/user_avatar/dmap-community.ductus.global/cohult/32/221_2.png) [@cohult](https://dmap-community.ductus.global/u/cohult)\
**Post date:** [August 3, 2023, 12:33pm UTC](https://dmap-community.ductus.global/t/operational-data-during-upgrade/4508/2 "2023-08-03T12:33:06Z")

</div>

Hi,

From the confd(1) man page:

```plaintext
--cdb-backup File 
Save a snapshot of the CDB database into a GZipp:ed tar archive
file (given by the File argument). If the File argument is a relative
path, the file will be saved relative the ConfD daemon's current
working directory. Only configuration data stored in CDB is saved
(persistent CDB operational data is not). Note: if the database is
locked for writing, the command will fail

```

To back up the persisted operational data, take a copy of the O.cdb file.
