Shell scripts to manage database backups, asset backups, file permissions, asset syncing, cache clearing, and database syncing between Craft CMS environments
--set-gtid-purged=OFF
to the common_mysql.sh
to avoid permissions issues with some database dumpsLOCAL_AWS_PROFILE
variable, which lets you specify which AWS named profile to connect to S3 with..gitignore
to ensure that .env.sh
is ignoredTMP_LOG_PATH
for local db backupsbackup_dir.sh
script (again)web/cpresources
a default LOCAL_WRITEABLE_DIRS
in the craft3-example.env.sh
restore_assets.sh
restores the assets from the backup that has been created with backup_assets.sh
.restore_dirs.sh
restores the dirs from the backup that has been created with backup_dirs.sh