Revision 13337
Added by Aaron Marcuse-Kubitza over 10 years ago
README.TXT | ||
---|---|---|
380 | 380 |
ssh -t vegbiendev.nceas.ucsb.edu exec sudo -u aaronmk -i |
381 | 381 |
upload: |
382 | 382 |
overwrite=1 bin/sync_upload --size-only |
383 |
then rerun with l=1 ...
|
|
383 |
then review diff, and rerun with `l=1` prepended
|
|
384 | 384 |
on your machine: |
385 | 385 |
download: |
386 | 386 |
overwrite=1 swap=1 src=. dest='aaronmk@jupiter.nceas.ucsb.edu:~/bien' put --exclude=.svn inputs/VegBIEN/TWiki |
387 |
then rerun with l=1 ...
|
|
387 |
then review diff, and rerun with `l=1` prepended
|
|
388 | 388 |
swap=1 bin/sync_upload backups/TNRS.backup |
389 |
then rerun with l=1 ...
|
|
389 |
then review diff, and rerun with `l=1` prepended
|
|
390 | 390 |
overwrite=1 swap=1 bin/sync_upload --size-only |
391 |
then rerun with l=1 ...
|
|
391 |
then review diff, and rerun with `l=1` prepended
|
|
392 | 392 |
overwrite=1 sync_remote_url=~/Dropbox/svn/ bin/sync_upload --existing --size-only # just update mtimes/perms |
393 |
then rerun with l=1 ...
|
|
393 |
then review diff, and rerun with `l=1` prepended
|
|
394 | 394 |
to back up e-mails: |
395 | 395 |
on local machine: |
396 | 396 |
/Applications/gmvault-v1.8.1-beta/bin/gmvault sync --multiple-db-owner --type quick aaronmk.nceas@gmail.com |
... | ... | |
406 | 406 |
svnsync sync file://"$HOME"/Dropbox/docs/BIEN/svn_repo/ # initial runtime: 1.5 h ("08:21:38" - "06:45:26") @vegbiendev |
407 | 407 |
(cd ~/Dropbox/docs/BIEN/git/; git svn fetch) |
408 | 408 |
overwrite=1 src=~ dest='aaronmk@jupiter.nceas.ucsb.edu:/data/dev/aaronmk/' put Dropbox/docs/BIEN/svn_repo/ # runtime: 1 min ("1:05.08") |
409 |
then rerun with l=1 ...
|
|
409 |
then review diff, and rerun with `l=1` prepended
|
|
410 | 410 |
overwrite=1 src=~ dest='aaronmk@jupiter.nceas.ucsb.edu:/data/dev/aaronmk/' put Dropbox/docs/BIEN/git/ |
411 |
then rerun with l=1 ...
|
|
411 |
then review diff, and rerun with `l=1` prepended
|
|
412 | 412 |
ssh -t vegbiendev.nceas.ucsb.edu exec sudo -u aaronmk -i |
413 | 413 |
# use absolute path for vegbiendev commands because the Ubuntu 14.04 |
414 | 414 |
version of rsync doesn't expand ~ properly |
415 | 415 |
overwrite=1 swap=1 src=~ dest='aaronmk@jupiter.nceas.ucsb.edu:/data/dev/aaronmk/' put Dropbox/docs/BIEN/svn_repo/ # runtime: 30 s ("36.19") |
416 |
then rerun with l=1 ...
|
|
416 |
then review diff, and rerun with `l=1` prepended
|
|
417 | 417 |
overwrite=1 swap=1 src=~ dest='aaronmk@jupiter.nceas.ucsb.edu:/data/dev/aaronmk/' put Dropbox/docs/BIEN/git/ |
418 |
then rerun with l=1 ...
|
|
418 |
then review diff, and rerun with `l=1` prepended
|
|
419 | 419 |
to synchronize a Mac's settings with my testing machine's: |
420 | 420 |
download: |
421 | 421 |
**WARNING**: this will overwrite all your user's settings! |
422 | 422 |
on your machine: |
423 | 423 |
overwrite=1 swap=1 sync_local_dir=~/Library/ sync_remote_subdir=Library/ bin/sync_upload --exclude="/Saved Application State" |
424 |
then rerun with l=1 ...
|
|
424 |
then review diff, and rerun with `l=1` prepended
|
|
425 | 425 |
upload: |
426 | 426 |
do step when changes are made on vegbiendev > on your machine, download |
427 | 427 |
ssh aaronmk@jupiter.nceas.ucsb.edu |
... | ... | |
430 | 430 |
rm ~/'Library/Thunderbird/Profiles/9oo8rcyn.default/ImapMail/imap.googlemail.com/[Gmail].sbd/Spam' |
431 | 431 |
# remove the downloaded Spam folder, because spam e-mails often contain viruses that would trigger clamscan |
432 | 432 |
overwrite=1 del= sync_local_dir=~/Dropbox/svn/ sync_remote_subdir=Dropbox/svn/ bin/sync_upload --size-only # just update mtimes |
433 |
then rerun with l=1 ...
|
|
433 |
then review diff, and rerun with `l=1` prepended
|
|
434 | 434 |
overwrite=1 inplace=1 sync_local_dir=~ sync_remote_subdir= bin/sync_upload ~/"VirtualBox VMs/**" # need inplace=1 because they are very large files |
435 |
then rerun with l=1 ...
|
|
435 |
then review diff, and rerun with `l=1` prepended
|
|
436 | 436 |
overwrite=1 sync_local_dir=~ sync_remote_subdir= bin/sync_upload --exclude="/Library/Saved Application State" --exclude="/.Trash" --exclude="/bin" --exclude="/bin/pg_ctl" --exclude="/bin/unzip" --exclude="/Dropbox/home" --exclude="/.profile" --exclude="/.shrc" --exclude="/.bashrc" |
437 |
then rerun with l=1 ...
|
|
437 |
then review diff, and rerun with `l=1` prepended
|
|
438 | 438 |
overwrite=1 sync_local_dir=~ sync_remote_url=~/Dropbox/home bin/sync_upload --exclude="/Library/Saved Application State" --exclude="/.Trash" --exclude="/.dropbox" --exclude="/Documents/BIEN" --exclude="/Dropbox" --exclude="/software" --exclude="/VirtualBox VMs/**.sav" --exclude="/VirtualBox VMs/**.vdi" --exclude="/VirtualBox VMs/**.vmdk" |
439 |
then rerun with l=1 ...
|
|
439 |
then review diff, and rerun with `l=1` prepended
|
|
440 | 440 |
to backup files not in Time Machine: |
441 | 441 |
On local machine: |
442 | 442 |
overwrite=1 src=/ dest=/Volumes/Time\ Machine\ Backups/ sudo -E put Library/PostgreSQL/9.3/data/ |
443 |
then rerun with l=1 ...
|
|
443 |
then review diff, and rerun with `l=1` prepended
|
|
444 | 444 |
pg_ctl. stop # stop the PostgreSQL server |
445 | 445 |
overwrite=1 src=/ dest=/Volumes/Time\ Machine\ Backups/ sudo -E put Library/PostgreSQL/9.3/data/ |
446 |
then rerun with l=1 ...
|
|
446 |
then review diff, and rerun with `l=1` prepended
|
|
447 | 447 |
pg_ctl. start # start the PostgreSQL server |
448 | 448 |
VegCore data dictionary: |
449 | 449 |
Regularly, or whenever the VegCore data dictionary page |
Also available in: Unified diff
/README.TXT: changed "then rerun with l=1 ..." to "then review diff, and rerun with `l=1` prepended" to ensure that user reviews diff before syncing