{"repo":"jasperf/trellis-sync","free":true,"listed":false,"github":"https://github.com/jasperf/trellis-sync","clone":"git clone https://github.com/jasperf/trellis-sync.git","description":"Trellis database and uploads sync scripts — superseded by wp-ops (github.com/imagewize/wp-ops)","language":"Shell","stars":28,"topics":["trellis","wp-cli","bedrock","database-sync","devops","roots","wordpress"],"license":"MIT","category":"deployment-docker-iac","readme_excerpt":"Trellis Sync ## ⚠️ Superseded by wp-ops These scripts still work, but this repo has not been updated since 2018 and is no longer maintained. Everything it does is now built into wp-ops — a maintained CLI for WordPress and Trellis operations: No editing hardcoded domains into a shell script, and no copying files into your WordPress root — sites are read from your wordpress sites.yml . Alongside the sync commands it covers backups, log monitoring, security scanning, image conversion and SEO audits, and ships an MCP server so the same commands are callable from an AI coding agent. The original scripts are still here, and documented below, for reference. --- This is a repository for the Trellis Database and Uploads Folder Synchronisation scripts and WP CLI Aliases. Two scripts have been added here. The database backup script or sync-db-from-prod.sh to synch the production database with the one on the local server and sync-all.sh to synchronize both the database and uploads folder. File location and changes Make sure you change the domain in both the shell script and your wp-cli.yaml files. For using the sync-db-from-prod.sh script it should be placed in the Wordpress root. For using the sync-all.sh it is setup to be run from site/scripts/ . Or at least it is setup from a subdirectory inside your WordPress root or site folder. Database Sync (Production - Dev) The Database sync script sync-db-from-prod.sh and aliases setup has been created by Raquelle . See Roots Blog post. It is s","default_branch":null,"files":null,"tree":[],"storefront":"/r/jasperf","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jasperf/trellis-sync/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}