- Removed the MySQL-specific
--set-gtid-purged=OFFto thecommon_mysql.shfrom the mysqldump command options
- Added
--set-gtid-purged=OFFto thecommon_mysql.shto avoid permissions issues with some database dumps - Added support for a
LOCAL_AWS_PROFILEvariable, which lets you specify which AWS named profile to connect to S3 with. - Add in-folder
.gitignoreto ensure that.env.shis ignored
- Fix
TMP_LOG_PATHfor local db backups
- Added
--no-tablespacesto the mysqldump command options to work around changes in MySQL
- Don’t dump permission/ownership info for postgres
- Add
templatecachequeriesto the db tables excluded from database dumps
- Refactor out to functions thanks to
preposthuman
- Code cleanup and refactoring thanks to
preposthuman
- Fixed an issue with the backup path for the
backup_dir.shscript (again) - Made
web/cpresourcesa defaultLOCAL_WRITEABLE_DIRSin thecraft3-example.env.sh
- Added
restore_assets.shrestores the assets from the backup that has been created withbackup_assets.sh. - Added
restore_dirs.shrestores the dirs from the backup that has been created withbackup_dirs.sh
- Fixed an issue with the backup path for the
backup_dir.shscript
- Added separate example starter
*-example.env.shfor Craft 2.x & Craft 3.x - Added composer support
- Updated README.md
- Fixed an issue where remote db pulls wouldn't exclude db tables that should have been ignored (such as the templatecaches table)
- Added support for pulling db dumps directly from hosted MySQL/Postgres servers (needed for Heroku and other environments)
- Output from
clear_caches.shis suppressed for the table dropping (to prevent spurious "table doesn't exist" errors) - Support for proper Postgres cache table purging
- Fixed the
clear_caches.shscript formysql
- Added
postgresdatabase support for Craft 3
- Updated
README.md
- Added support for backups to an Amazon S3 bucket sub-folder
- Added section links to the README.md
- Added support for clearing the FastCGI Cache in
clear_caches.shviaLOCAL_FASTCGI_CACHE_DIR
- The
pull_assets.shscript now deletes local assets that have been removed from the remote - Added support for clearing the Redis cache in
clear_caches.shviaLOCAL_REDIS_DB_ID
- Added the
backup_files.shscript to backup arbitrary directories of files - Added
rsync -Fto allow for excluding files/directories via.rsync-filterfiles - Fixed an unparsed error message if one of the include scripts is missing
- Revised
README.md
- Changed
zcattogunzip -cfor MaxOS X compatibility
- Added the
sync_backups_to_s3.shscript to sync backups to an Amazon S3 bucket - Pull all the backups on
pull_backups.sh
- Added the
restore_db.shscript to make restoring local databases easier
- Revised
README.mdto documentrestore_db.sh
- Added the ability to run the scripts from anywhere (no need to
cdto the directory) - Added
backup_db.shfor doing local, rotating database backups - Added local asset backup via
backup_assets.sh - Added the ability to pull backups down from the remote server via
pull_backups.sh - Added pulling of the Craft
userphotos&rebranddirectories viapull_assets.sh - Added support for
.gzcompressing the database before transfering it, to speed things up - Added support for restoring directly from a
.gzcompressed database dump - Added additional arguments to the
mysqldump - Added
common/defaults.shto set reasonable defaults for many settings - Added the ability to change the
craftfolder location - Added an
example.gitignorethat you can use in your Craft CMS projects - Added
com.example.launch_daemon.plistas a Mac Launch Daemon example
- Revised
README.mdto document the changes/new features - Code cleanup & refactoring
- Added support for
login-pathto store your mysql db credentials in an encrypted file, and thus avoidmysql: [Warning] Using a password on the command line interface can be insecure.warnings - Added
LOCAL_DB_HOSTandLOCAL_DB_PORTto the.env.sh - Added
REMOTE_MYSQL_CMDandREMOTE_MYSQLDUMP_CMDto the.env.sh - Added the
crontab-helperfile you can add to yourcrontabas a crib sheet - Added the
cachetable as one to delete/ignore
- Made the scripts more tolerant of missing settings (perhaps due to old
.env.shfiles) - Refactored common code out to
common/common_db.shandcommon/common_env.sh - Updated the
README.mdwith information aboutfileMode - Updated the
README.mdwith information aboutlogin-path
- Exclude cache/temporary tables from db dumps (both local and remote)
- Move to a global setting for
GLOBAL_DB_TABLE_PREFIX - Harmonized the comments
- Harmonized the {} usage for quoted or combined variables
- Broke out the changelog to CHANGELOG.md
- Added mysql host and port constants
- Update pull_db.sh to use --flags
- Initial release
Brought to you by nystudio107