I’m trying to get this Sync Script setup and running but I get the following errors:
Able to connect to development
Able to connect to staging
./sync.sh: line 94: wp: command not found
building file list …
3715 files to consider
rsync: connection unexpectedly closed (8 bytes received so far) [sender
]
rsync error: error in rsync protocol data stream (code 12) at /BuildRoo
t/Library/Caches/com.apple.xbs/Sources/rsync/rsync-52.200.1/rsync/io.c(
453) [sender=2.6.9]
Sync from development to staging complete.
AND since I haven’t really seen much talk about this script, it’s a great idea and you can buy it here:
Have you followed the setup instructions and setup WP-CLI aliases for all of your environments? The README has examples — you’ll need to deploy after committing your updates to site/wp-cli.yml
This is so much faster and fluid than using delicious brains plugin. I know they both offer different advantages and disadvantages as this needs bedrock to function. Thanks for offering it at a good price. Highly recommended. Roots rules. Odoyle rules!
It would be awesome if this could be modified to place the development db backup in a folder to have git ignore. I work on a few projects that are massive databases and I always forget to move the database backup before pushing my changes to github.