Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • log in to victoria02
  • grab the new scripts from github
    • cd ~
    • git clone git@github.com:cul-it/drupal-site-moves.git
    • cd ~/drupal-site-moves
    • git pull
  • .~/drupal-site-moves/pull_from_production.sh <production site name> <test site name>
  • you are prompted for your password
  • you are asked to confirm the site move
  • you are asked to inform the site users that you are working on the site on the test server
    • put up the 'Site Under Maintenance' block
  • script continues on without requiring any input from you
    • backs up the database
    • moves the site files to the target server
    • installs the backed up database on the target server
  • done

...

  • log in to victoria01 or victoria03
  • grab the new scripts from github
    • cd ~
    • git clone git@github.com:cul-it/drupal-site-moves.git
    • cd ~/drupal-site-moves
    • git pull
  • .~/drupal-site-moves/pull_from_test.sh <test site name> <production site name>
  • you are prompted for your password
  • you are asked to confirm the site move
  • you are asked to confirm again
    • you can take down the 'Site Under Maintenance' block while the site is still on the test server
  • script continues on without requiring any input from you
    • backs up the database
    • moves the site files to the target server
    • installs the backed up database on the target server
  • done

...