Last active
December 30, 2015 15:09
-
-
Save niccolox/7846219 to your computer and use it in GitHub Desktop.
A simple rsync bash script that sucks down platforms from the excellent Aegir BOA open hosting platform into a Drupalpro shared folder for easy development
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# to dos | |
# 1. remove existing sites from existing platforms | |
# i.e. works best on a clean install | |
# 2. generalize for regex of platforms? | |
# 3 all platforms? | |
echo "Aegir BOA 213 to Drupalpro Shared Folder" | |
echo "This is where it starts" | |
rsync -avzuL --ignore-errors -e ssh --exclude 'drushrc.php' boa1:/data/disk/boa1/distro/001/commons-7.x-3.4-7.23.3 /home/personx/drupalpro-32-shared/boa213platforms/commons | |
rsync -avzuL --ignore-errors -e ssh --exclude 'drushrc.php' boa1:/data/disk/boa1/distro/001/commerce-7.x-2.9-7.23.3 /home/personx/drupalpro-32-shared/boa213platforms/commerce | |
rsync -avzuL --ignore-errors -e ssh --exclude 'drushrc.php' boa1:/data/disk/boa1/distro/001/managingnews-1.2.3-6.28.3 /home/personx/drupalpro-32-shared/boa213platforms/managingnews | |
rsync -avzuL --ignore-errors -e ssh --exclude 'drushrc.php' boa1:/data/disk/boa1/distro/001/openacademy-7.x-1.0-rc3-7.23.3 /home/personx/drupalpro-32-shared/boa213platforms/openacademy | |
rsync -avzuL --ignore-errors -e ssh --exclude 'drushrc.php' boa1:/data/disk/boa1/distro/001/openatrium-7.x-2.04-7.23.3 /home/personx/drupalpro-32-shared/boa213platforms/openatrium | |
rsync -avzuL --ignore-errors -e ssh --exclude 'drushrc.php' boa1:/data/disk/boa1/distro/001/opendeals-1.31-7.23.3 /home/personx/drupalpro-32-shared/boa213platforms/opendeals | |
rsync -avzuL --ignore-errors -e ssh --exclude 'drushrc.php' boa1:/data/disk/boa1/distro/001/openoutreach-7.x-1.2-7.23.3 /home/personx/drupalpro-32-shared/boa213platforms/openoutreach | |
rsync -avzuL --ignore-errors -e ssh --exclude 'drushrc.php' boa1:/data/disk/boa1/distro/001/openscholar-7.x-3.8.1-7.23.3 /home/personx/drupalpro-32-shared/boa213platforms/openscholar | |
rsync -avzuL --ignore-errors -e ssh --exclude 'drushrc.php' boa1:/data/disk/boa1/distro/001/panopoly-7.x-1.0-rc5-7.23.3 /home/personx/drupalpro-32-shared/boa213platforms/panopoly | |
rsync -avzuL --ignore-errors -e ssh --exclude 'drushrc.php' boa1:/data/disk/boa1/distro/001/recruiter-7.x-1.1-7.23.3 /home/personx/drupalpro-32-shared/boa213platforms/recruiter | |
rsync -avzuL --ignore-errors -e ssh --exclude 'drushrc.php' boa1:/data/disk/boa1/distro/001/spark-7.x-1.0-alpha9-7.23.3 /home/personx/drupalpro-32-shared/boa213platforms/spark | |
rsync -avzuL --ignore-errors -e ssh --exclude 'drushrc.php' boa1:/data/disk/boa1/distro/001/recruiter-7.x-1.1-7.23.3 /home/personx/drupalpro-32-shared/boa213platforms/recruiter | |
rsync -avzuL --ignore-errors -e ssh --exclude 'drushrc.php' boa1:/data/disk/boa1/distro/001/totem-7.x-1.1-7.23.3 /home/personx/drupalpro-32-shared/boa213platforms/totem | |
rsync -avzuL --ignore-errors -e ssh --exclude 'drushrc.php' boa1:/data/disk/boa1/distro/001/ubercart-3.5.1-7.23.3 /home/personx/drupalpro-32-shared/boa213platforms/ubercart | |
echo "This is where it ENDS" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment