Deploy your Drupal (Dev to Live)


Sync your Drupal Local and Live site files

code

Bitbucket (git)

https://confluence.atlassian.com/display/BITBUCKET/Bitbucket+101;jsessionid=265105AEA14AC4B0988746653BF14CB1

sites/default/files

cd YOUR_DRUPAL_ROOT_DIR/sites/default/files/
rsync -avr \
  --exclude=webform/* \
  --exclude=advagg_js/* \
  --exclude=advagg_css/* \
  --exclude=js/* \
  --exclude=css/* \
  --exclude=tmp/* \
  --exclude=tickets/* \
  --exclude=videos/* \
  --exclude=xmlsitemap/* \
  yourhost:/var/www/yoursite/sites/default/files/ .

Sync your database

The Deploy module is designed to allow developers to easily stage Drupal content from one site to another. Deploy automatically manages dependencies between objects (like node references).
Deploy Module Demo