solution : run my stupid script ;-) issue : At my small company we maintain our own Drupal hosting and content (what a pain). Anyhow - I suggested that they utilize a "promotion" methodology whereas they do their dev/testing in a DEV/TEST environment, and then I could push the content from one environment to the other. In this case, I have 2 environments, 2 vhosts, 2 databases, 2 etc... test and www If you run this script, it generates the command to run to go through the activity. #!/bin/bash # 20120224 - I don't need a script id? TODAY=`date +%Y%m%d` BACKUPDIR=/backups/${TODAY} clear echo "" echo "You need to cut-and-paste the following output into a terminal to complete the promotion" echo "########################################################################################" echo "" echo "mkdir -p ${BACKUPDIR}" # THESE ARE JUST POINTERS TO MAKE IT EASY TO UPDATE WHICH ENVIRONMENT # ...
Linux: The whole world made it for you... This blog is a collection of things I come across either at home or at work as a Linux Administrator. I have worked as an Admin working with Solaris, SAN, Backups and Linux at the Enterprise level for over 16 years.