craft-scripts
craft-scripts copied to clipboard
Shell scripts to manage database backups, asset backups, file permissions, asset syncing, cache clearing, and database syncing between Craft CMS environments
You probably want to backup database, assets and files at the same time, so probably make sense to have a script that runs all of them, and optionally sync them...
Currently, the storage folder is fixed to `${LOCAL_ROOT_PATH}"${GLOBAL_CRAFT_PATH}storage/"` & `${REMOTE_ROOT_PATH}"${GLOBAL_CRAFT_PATH}storage/"` which has some limitations if using atomic deployments where the storage folder is symlinked into the release folder. This change...
So this is obviously not something that affects many people, I know most of us are on Macs, but one thing I came across is that Rsync does not exist...
When developing a site locally, I usually push to staging all the time. Do you have a script for pushing to remote already, or should I send you a pull...
Similar to `REMOTE_DB_USING_SSH`, offer the ability to locally sync assets such as when staging/live is on the same environment (i.e. without requiring SSH) via a new flag `REMOTE_ASSETS_USING_SSH`
Add support to enable syncing of backups to DigitalOcean Spaces. Similar to the current Amazon S3 support as described at: https://github.com/nystudio107/craft-scripts#sync_backups_to_s3sh. More info at: https://www.digitalocean.com/community/tutorials/how-to-manage-digitalocean-spaces-with-s3cmd
upped the version, modified the readme
Add Dropbox support to allow syncing of backups to a specified Dropbox account. Similar to the current Amazon S3 support as described at: https://github.com/nystudio107/craft-scripts#sync_backups_to_s3sh.
### Description The `aws sync` command allows an optional `--delete` flag. This update allows that flag to be set via the `.env.php` file. ### Related issues This option helps prevent...