Restore

Restore will pick up the last updated folder under the …​/backups.

The restore command has implications that you need to consider before executing it. The data you are restoring might be already on the server or changing the values of existing entities. The restore of already existing entities will fail and the server will shutdown.

To proceed, you need to eliminate all existing data from the server by setting the following system property:

tribe.backup.restore.truncate=true

Please double check you data and backup your server before setting this property.

On a running TAG you will need to call the restore endpoint:

curl -v --user joe:secretsecret -X POST \
http://localhost:8080/tag/api/backup/restore