Backup EVE-NG content

How to backup content of EVE-NG (EVE Backup manager)

Information how to backup EVE-NG. Starting from release EVE-NG PRO 5.1.0.131 and EVE-NG Community 5.0.1-22
Pre-requisite: The new method of EVE-NG backup manager require external FTP or SFTP Server!

Related Documents:

How to create SFTP server

How to use Backup Manager for EVE PRO, EVE pro Cookbook, Chapter 18

How to use Backup Manager for EVE Community, EVE Community Cookbook, Chapter 13

How to backup content of EVE-NG Older versions (manual data copy)

Information how to backup EVE-NG data manually (copy data). Before release EVE-NG PRO 5.1.0.131 and EVE-NG Community 5.0.1-22.
It is stronlgy recommended upgrade your EVE-NG to the newest version and use Backup manager!

If you have decided reinstall or simply have full EVE-NG content backup, please use FileZilla to backup following folders:

NOTE: WARNING! Restoring Backup to the new EVE must be completed before you create first lab in your EVE. It will avoid lab UIDD overlapping in the new EVE!

For backup EVE content, copy the following EVE-NG files and folders:

/opt/unetlab/addons/
/opt/unetlab/tmp/
/opt/unetlab/labs/
/opt/unetlab/evedb.gz

Optional: if you had created own templates in EVE-PRO then backup your custom templates and icons from the directories below:

/opt/unetlab/html/templates/
/opt/unetlab/html/images/icons

The new EVE install have same locations, so, copy your backup data contents in the new EVE-NG. IMPORTANT NOTE: Do NOT overwrite whole directories in the new EVE, Just copy in the new EVE folders CONTENTS of your backup folders.

Fix permissions;

/opt/unetlab/wrappers/unl_wrapper -a fixpermissions

Finally, to restore users/password , you have to restore database:

/opt/unetlab/wrappers/unl_wrapper -a restoredb

reboot