Revision 14601
Added by Aaron Marcuse-Kubitza over 10 years ago
README.TXT | ||
---|---|---|
459 | 459 |
your local machine" |
460 | 460 |
on local machine: |
461 | 461 |
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 |
462 |
# --exclude=/home/aaronmk/bien: synced separately |
|
462 |
# enable --link-dest to work: |
|
463 |
chmod -R o+r ~/bien/.svn/; find ~/bien/.svn -type d -exec chmod o+rx {} \; # match perms |
|
464 |
l=1 overwrite=1 del= src='aaronmk@vegbiendev.nceas.ucsb.edu:~/bien/' dest=~/bien/ put --existing --size-only .svn/pristine/ # match times and perms |
|
465 |
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/ |
|
466 |
# --no-owner --no-group: needed to allow --link-dest to work |
|
467 |
# --link-dest: relative to dest, not currdir, so need abs path |
|
463 | 468 |
to back up the local machine's settings: |
464 | 469 |
do step when changes are made on vegbiendev > on your machine, download |
465 | 470 |
ssh aaronmk@jupiter.nceas.ucsb.edu |
Also available in: Unified diff
fix: /README.TXT: to back up vegbiendev: also back up /home/aaronmk/bien/ (instead of just symlinking to the local copy), since this can be done space-efficiently with hardlinks. this ensures that the vegbiendev backup will not be modified when the local copy of bien/ is.