- 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.sh
viaLOCAL_FASTCGI_CACHE_DIR
- The
pull_assets.sh
script now deletes local assets that have been removed from the remote - Added support for clearing the Redis cache in
clear_caches.sh
viaLOCAL_REDIS_DB_ID
- Added the
backup_files.sh
script to backup arbitrary directories of files - Added
rsync -F
to allow for excluding files/directories via.rsync-filter
files - Fixed an unparsed error message if one of the include scripts is missing
- Revised
README.md
- Changed
zcat
togunzip -c
for MaxOS X compatibility
- Added the
sync_backups_to_s3.sh
script to sync backups to an Amazon S3 bucket - Pull all the backups on
pull_backups.sh
- Added the
restore_db.sh
script to make restoring local databases easier
- Revised
README.md
to documentrestore_db.sh
- Added the ability to run the scripts from anywhere (no need to
cd
to the directory) - Added
backup_db.sh
for 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
&rebrand
directories viapull_assets.sh
- Added support for
.gz
compressing the database before transfering it, to speed things up - Added support for restoring directly from a
.gz
compressed database dump - Added additional arguments to the
mysqldump
- Added
common/defaults.sh
to set reasonable defaults for many settings - Added the ability to change the
craft
folder location - Added an
example.gitignore
that you can use in your Craft CMS projects - Added
com.example.launch_daemon.plist
as a Mac Launch Daemon example
- Revised
README.md
to document the changes/new features - Code cleanup & refactoring
- Added support for
login-path
to 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_HOST
andLOCAL_DB_PORT
to the.env.sh
- Added
REMOTE_MYSQL_CMD
andREMOTE_MYSQLDUMP_CMD
to the.env.sh
- Added the
crontab-helper
file you can add to yourcrontab
as a crib sheet - Added the
cache
table as one to delete/ignore
- Made the scripts more tolerant of missing settings (perhaps due to old
.env.sh
files) - Refactored common code out to
common/common_db.sh
andcommon/common_env.sh
- Updated the
README.md
with information aboutfileMode
- Updated the
README.md
with 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