Table of Contents

Backup and restore

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

  1. Open Backup, enter a password and press Create. The ZIP is downloaded.
  2. Store the password separately from the archive - without it the backup cannot be restored.

Restore

  1. Upload the ZIP. Vibecat stashes it and shows what it contains (a stash token identifies the upload).
  2. 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 Deployment Log morgue keeps old WAR versions if you want to restore a web application to an earlier build.

See also Update Vibecat: take a backup before every update.