ss push staging
Runs the associated bash script to push all content and database from the staging site (staging.example.com) to the production site. Keep in mind that SlickStack shares the same /uploads/ folder between production and staging sites to save disk space and improve efficiency, so when you “push” the staging site live, it will skip syncing that folder because it already exists in production. Any media files you may have uploaded to staging (bad idea btw) will still be added to that directory on the server, and during database sync, those files should also show up in the production site too because the WordPress database can now “recognize” and register them as media files in the MySQL database.
Also note that nothing will be deleted during the push. So if you have deleted some database tables or files in staging, those might still exist after syncing to production because nothing is deleted before/during the push process to avoid data loss.
Routine:
- Runs the
ss-push-staging
bash script