Create backup from local that's importable through DevKinsta

Hi @rpearson, thanks for reaching out. You essentially just need to create a ZIP with your file directory and a DB export.

You can use this command to create an export of your database (on a standard WP setup):

docker exec -it devkinsta_fpm bash -c "cd /www/kinsta/public/SITENAME && wp db export --allow-root"

You can then create a ZIP with your SQL file adjacent to your files `~/Devkinsta/public/SITENAME from your filesystem using your ZIP tool of choice.
image

The process will be a bit different depending on OS but feel free to let us know if you have any questions.

1 Like