Craft Scripts Versions Save

Shell scripts to manage database backups, asset backups, file permissions, asset syncing, cache clearing, and database syncing between Craft CMS environments

1.2.13

2 years ago

Changed

  • Removed the MySQL-specific --set-gtid-purged=OFF to the common_mysql.sh from the mysqldump command options

1.2.12

3 years ago

Added

  • Added --set-gtid-purged=OFF to the common_mysql.sh to avoid permissions issues with some database dumps
  • Added support for a LOCAL_AWS_PROFILE variable, which lets you specify which AWS named profile to connect to S3 with.
  • Add in-folder .gitignore to ensure that .env.sh is ignored

Fixed

  • Fix TMP_LOG_PATH for local db backups

1.2.11

3 years ago

Changed

  • Added --no-tablespaces to the mysqldump command options to work around changes in MySQL

1.2.10

5 years ago

Changed

  • Don’t dump permission/ownership info for postgres

1.2.9

5 years ago

Changed

  • Add templatecachequeries to the db tables excluded from database dumps

1.2.8

5 years ago

Changed

  • Refactor out to functions thanks to preposthuman

1.2.7

5 years ago

Changed

  • Code cleanup and refactoring thanks to preposthuman

1.2.6

6 years ago

Changed

  • Fixed an issue with the backup path for the backup_dir.sh script (again)
  • Made web/cpresources a default LOCAL_WRITEABLE_DIRS in the craft3-example.env.sh

Added

  • Added restore_assets.sh restores the assets from the backup that has been created with backup_assets.sh.
  • Added restore_dirs.sh restores the dirs from the backup that has been created with backup_dirs.sh

1.2.5

6 years ago

Changed

  • Fixed an issue with the backup path for the backup_dir.sh script

1.2.4

6 years ago

Added

  • Added separate example starter *-example.env.sh for Craft 2.x & Craft 3.x
  • Added composer support
  • Updated README.md