Creating backups
If you're using SQLite, run the following command:
php artisan prodigy:backup
.
You can run that any time to copy your database and media files into a storage/backups
folder.
While Prodigy is still being battle-hardened, it's possible that data will be accidentally corrupted by the system, so it's a good idea to back up pretty regularly.
MySQL does not currently have support the backup command.
Backups also make it easy to transfer data between servers.
Removing backups from git
Make sure to add /storage/backups
to your .gitignore
.
.gitignore
/storage/backups