Zum Hauptinhalt springen

Backup and Restore

info

This only applies if you are self-hosting kwilo.

Backup

You can create a full backup of your kwilo installation via command line:

php artisan tenant:backup ${YOUR_TENANT_NAME}

# You can also use a custom file name:
php artisan tenant:backup ${YOUR_TENANT_NAME} --path=${PATH_TO_BACKUP_ZIP}

Restore

An existing backup can be replayed into your kwilo installation via command line:

php artisan tenant:restore ${PATH_TO_BACKUP_ZIP}
danger

Please note, that a backup can not restored in an existing tenant. You can use the flags --tenant=${NAME} and --subdomain=${SUBDOMAIN} to specify another tenant name and/or subdomain.