Skip to content

epfl-si/declprofs

Repository files navigation

dev → local

local → dev

rsync -nrlptv --exclude .git --exclude logs --exclude private --exclude private/etc --exclude private/tmpl --exclude private/  cgi-bin/ kis@exopgesrv97:/var/www/vhosts/declprofs.epfl.ch/cgi-bin/ 
rsync -nrlptv tmpl/ kis@exopgesrv97:/var/www/vhosts/declprofs.epfl.ch/private/tmpl/
rsync -nrlptv htdocs/extra/ kis@exopgesrv97:/var/www/vhosts/declprofs.epfl.ch/htdocs/extra/
rsync -nrlptv htdocs/images/ kis@exopgesrv97:/var/www/vhosts/declprofs.epfl.ch/htdocs/images/

⚠ Removing dry-run is left as an exercise to the reader.

local → prod

rsync -nrlpv --exclude .git --exclude logs --exclude private --exclude private/etc --exclude private/tmpl --exclude private/  cgi-bin/ kis@exopgesrv92:/var/www/vhosts/declprofs.epfl.ch/cgi-bin/
rsync -nrlpv tmpl/ kis@exopgesrv92:/var/www/vhosts/declprofs.epfl.ch/private/tmpl/
rsync -nrlpv htdocs/extra/ kis@exopgesrv92:/var/www/vhosts/declprofs.epfl.ch/htdocs/extra/
rsync -nrlpv htdocs/images/ kis@exopgesrv92:/var/www/vhosts/declprofs.epfl.ch/htdocs/images/

⚠ Removing dry-run is left as an exercise to the reader.