====== Backup and restore ====== {{vibecat:page-backup.png?800|Vibecat administration: Backup page (playground instance)}} **Configuration > Backup** creates one ZIP with the configuration (''vibecat.json'', ''tomcat-users.xml'') and the plug-in data (''plugin-data'': CA keys, API keys, registry settings ...). The archive is encrypted with **AES-256** (zip4j) with a password that you choose; the password travels in the ''X-Backup-Password'' header, never in a URL. ==== Create ==== - Open Backup, enter a password and press **Create**. The ZIP is downloaded. - Store the password separately from the archive - without it the backup cannot be restored. ==== Restore ==== - Upload the ZIP. Vibecat stashes it and shows what it contains (a stash token identifies the upload). - Enter the password and confirm. The configuration and plug-in data are replaced and the web applications are deployed again. ==== REST ==== ''/api/backup'' with the actions //create//, //upload// and //restore//; administrators only. ==== What is not in the backup ==== The WAR files themselves (they stay in their sources), the Tomcat log files and installation files. Back up WAR sources with your normal file backup. The **[[vibecat:plugins:deployment-log|Deployment Log]] morgue** keeps old WAR versions if you want to restore a web application to an earlier build. See also [[vibecat:update|Update Vibecat]]: take a backup before every update.