Hi Miguel, There are actually 3 options possible as at now for taking a backup and restore the same in ODL
a) Using Cluster-Admin service, you can take a backup of Config Datastore and restore it in another system b) There is a separate project called DAEXIM (data export and import) to take a snapshot of current state of Config as well as Oper datastores - think of it more as tool which can take a state snapshot in Json and play it back in plain system to bring the clean-slate system to the state in a running system for troubleshooting purposes c) A rather simpler way - but always works, is to take a backup of snapshot and journals of current datastore and use the same in new installation. This is for whichever datastore is enabled with persistence Of course, all above approaches assume that yang models of backed-up data have not changed between source and target (where you restore) versions of the system. Regards Muthu From: controller-dev-boun...@lists.opendaylight.org [mailto:controller-dev-boun...@lists.opendaylight.org] On Behalf Of Miguel Angel Muñoz Gonzalez Sent: Thursday, January 12, 2017 12:10 AM To: controller-dev@lists.opendaylight.org Cc: disc...@lists.opendaylight.org Subject: [controller-dev] Backup and Restore Hi everyone, We are trying to implement a backup/restore mechanism for ODL. I have not found much information about it in pipermail history except some questions and brief proposals (such as generating an snapshot and storing in a particular file, using an external database,...). I would appreciate if someone familiar with the topic could give us some hints on it: - Is it possible to backup MDSAL Configuration datastore as of today? (I suppose it's a matter of backing up leveldb files) - If so, how can we guarantee that the backup is correct and/or consistent while it is running traffic and datastore is being modified? - Supposedly there is a working mechanism consisting on: stopping ODL, copying the files manually and start it up... However, it would nice to know if there a more sophisticated mechanism to backup the datastore, especially if it does not imply stopping ODL. E.g. a particular API or tool that can be called to perform this activity? Thank you very much, Best Regards, Miguel Ángel.
_______________________________________________ controller-dev mailing list controller-dev@lists.opendaylight.org https://lists.opendaylight.org/mailman/listinfo/controller-dev