.data/ in the project folder, so backup and restore are file-level operations wrapped by CLI commands. This page covers per-environment snapshots and the local-to-VPS migration flow.
Environment backups
Every environment has a matching pair of commands.dev, staging, or live. Backups include configuration (per the app contract) and the environment’s persistent data.
Fox cannot run these commands. Backups and restores are host-scope operations that you run as the deploy user (
sudo -iu vulpy-commerce).Migrate from local dev to a VPS
If you have been developing on your laptop and want to move data onto a fresh VPS install, use the migrate bundle scripts.1
Export on your laptop
.tmp/migrate-bundle-*.tar.gz.2
Copy the bundle to the VPS
3
Sync the working tree (optional)
If you also want the code from your laptop, exclude regenerable artifacts:
4
Import on the VPS
Seed-first deploys
For an empty-DB rollout that seeds on start instead of importing a bundle, set two variables before the rollout:--seed install flag sets both automatically.
Environments
How dev, staging, and live are isolated on disk.
Troubleshooting
Common issues and the exact commands to fix them.