Revision 14912
Added by Aaron Marcuse-Kubitza about 10 years ago
trunk/README.TXT | ||
---|---|---|
524 | 524 |
do steps under Maintenance > "to synchronize vegbiendev, jupiter, and |
525 | 525 |
your local machine" |
526 | 526 |
on local machine: |
527 |
l=1 overwrite=1 inplace=1 src=root@vegbiendev.nceas.ucsb.edu:/ dest=~/Documents/BIEN/vegbiendev/ sudo -E put --exclude=/var/lib/mysql.bak --exclude=/var/lib/postgresql.bak --exclude='/var/lib/postgresql/9.3/main/*/' --exclude=/home/aaronmk/bien |
|
527 |
# **IMPORTANT**: can't use inplace=1 optimization because this |
|
528 |
# messes up the shared hardlinks used by |
|
529 |
# ~/Documents/BIEN/vegbiendev.2014-2-2_1-07-32PT*/ |
|
530 |
l=1 overwrite=1 src=root@vegbiendev.nceas.ucsb.edu:/ dest=~/Documents/BIEN/vegbiendev/ sudo -E put --exclude=/var/lib/mysql.bak --exclude=/var/lib/postgresql.bak --exclude='/var/lib/postgresql/9.3/main/*/' --exclude=/home/aaronmk/bien |
|
528 | 531 |
# enable --link-dest to work: |
529 | 532 |
chmod -R o+r ~/bien/.svn/; find ~/bien/.svn -type d -exec chmod o+rx {} \; # match perms |
530 | 533 |
l=1 overwrite=1 del= src='aaronmk@vegbiendev.nceas.ucsb.edu:~/bien/' dest=~/bien/ put --existing --size-only .svn/pristine/ # match times and perms |
531 |
l=1 overwrite=1 inplace=1 src=aaronmk@vegbiendev.nceas.ucsb.edu:/ dest=~/Documents/BIEN/vegbiendev/ sudo -E put --link-dest="$HOME"/Documents/BIEN/svn/ --no-owner --no-group home/aaronmk/bien/
|
|
534 |
l=1 overwrite=1 src=aaronmk@vegbiendev.nceas.ucsb.edu:/ dest=~/Documents/BIEN/vegbiendev/ sudo -E put --link-dest="$HOME"/Documents/BIEN/svn/ --no-owner --no-group home/aaronmk/bien/ |
|
532 | 535 |
# --no-owner --no-group: needed to allow --link-dest to work |
533 | 536 |
# --link-dest: relative to dest, not currdir, so need abs path |
534 | 537 |
./fix_perms # lock hardlinked files |
Also available in: Unified diff
bugfix: /README.TXT: to back up vegbiendev: can't use inplace=1 optimization because this messes up the shared hardlinks used by ~/Documents/BIEN/vegbiendev.2014-2-2_1-07-32PT*/