Project

General

Profile

« Previous | Next » 

Revision 14607

/README.TXT: added trailing / on dirs to make clear that they're dirs

View differences:

trunk/README.TXT
475 475
				# remove the downloaded Spam folder, because spam e-mails often contain viruses that would trigger clamscan
476 476
			overwrite=1           sync_local_dir=~/Dropbox/svn/ sync_remote_subdir=Dropbox/svn/ bin/sync_upload --size-only # just update mtimes
477 477
				then review diff, and rerun with `l=1` prepended
478
			overwrite=1 inplace=1 sync_local_dir=~              sync_remote_subdir=             bin/sync_upload ~/"VirtualBox VMs/**" # need inplace=1 because they are very large files
478
			overwrite=1 inplace=1 sync_local_dir=~/             sync_remote_subdir=             bin/sync_upload ~/"VirtualBox VMs/**" # need inplace=1 because they are very large files
479 479
				then review diff, and rerun with `l=1` prepended
480
			overwrite=1           sync_local_dir=~              sync_remote_subdir=             bin/sync_upload --exclude="/Library/Saved Application State" --exclude="/Library/Thunderbird/Profiles/9oo8rcyn.default/global-messages-db.sqlite" --exclude="/.Trash" --exclude="/bin" --exclude="/bin/pg_ctl" --exclude="/bin/unzip" --exclude="/Dropbox/home" --exclude="/.profile" --exclude="/.shrc" --exclude="/.bashrc" --exclude="/software/**/.svn"
480
			overwrite=1           sync_local_dir=~/             sync_remote_subdir=             bin/sync_upload --exclude="/Library/Saved Application State/" --exclude="/Library/Thunderbird/Profiles/9oo8rcyn.default/global-messages-db.sqlite" --exclude="/.Trash/" --exclude="/bin/" --exclude="/bin/pg_ctl" --exclude="/bin/unzip" --exclude="/Dropbox/home/" --exclude="/.profile" --exclude="/.shrc" --exclude="/.bashrc" --exclude="/software/**/.svn/"
481 481
				then review diff, and rerun with `l=1` prepended
482 482
			stop Dropbox: system tray > Dropbox icon > gear icon > Quit Dropbox
483 483
				this prevents Dropbox from trying to capture filesystem
484 484
				events while syncing
485
			overwrite=1           sync_local_dir=~              sync_remote_url=~/Dropbox/home  bin/sync_upload --exclude="/Library/Saved Application State" --exclude="/Library/Thunderbird/Profiles/9oo8rcyn.default/global-messages-db.sqlite" --exclude="/.Trash" --exclude="/.dropbox" --exclude="/Documents/BIEN" --exclude="/Dropbox" --exclude="/software" --exclude="/VirtualBox VMs/**.sav" --exclude="/VirtualBox VMs/**.vdi" --exclude="/VirtualBox VMs/**.vmdk"
485
			overwrite=1           sync_local_dir=~/             sync_remote_url=~/Dropbox/home/ bin/sync_upload --exclude="/Library/Saved Application State/" --exclude="/Library/Thunderbird/Profiles/9oo8rcyn.default/global-messages-db.sqlite" --exclude="/.Trash/" --exclude="/.dropbox/" --exclude="/Documents/BIEN/" --exclude="/Dropbox/" --exclude="/software/" --exclude="/VirtualBox VMs/**.sav" --exclude="/VirtualBox VMs/**.vdi" --exclude="/VirtualBox VMs/**.vmdk"
486 486
				then review diff, and rerun with `l=1` prepended
487 487
			start Dropbox: /Applications > double-click Dropbox.app
488 488
	to backup files not in Time Machine:
489 489
		On local machine:
490
		l=1 overwrite=1 src=/ dest=/Volumes/Time\ Machine\ Backups/ sudo -E put usr/local/var/postgres
490
		l=1 overwrite=1 src=/ dest=/Volumes/Time\ Machine\ Backups/ sudo -E put usr/local/var/postgres/
491 491
		launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist # stop the PostgreSQL server
492
		l=1 overwrite=1 src=/ dest=/Volumes/Time\ Machine\ Backups/ sudo -E put usr/local/var/postgres
492
		l=1 overwrite=1 src=/ dest=/Volumes/Time\ Machine\ Backups/ sudo -E put usr/local/var/postgres/
493 493
		launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist # start the PostgreSQL server
494 494
	to back up the local machine's hard drive:
495 495
		turn on and connect the 2 TB external hard drive
496
		l=1 overwrite=1 src=/ dest=/Volumes/Macintosh\ HD\ backup/ sudo -E put --exclude=/.fseventsd --exclude=/private/var/vm --exclude=/usr/local/var/postgres --exclude=/Users/aaronmk/.dropbox
496
		l=1 overwrite=1 src=/ dest=/Volumes/Macintosh\ HD\ backup/ sudo -E put --exclude=/.fseventsd/ --exclude=/private/var/vm/ --exclude=/usr/local/var/postgres/ --exclude=/Users/aaronmk/.dropbox/
497 497
			# no --extended-attributes: rsync has to visit every file for this
498 498
			# runtime: 10 min (~600); initial runtime: 4-13 h ("2422.84"+"12379.91" .. "45813.19"+"747.96")
499 499
		# repeat until only minimal changes
500
		l=1 overwrite=1 src=/ dest=/Volumes/Macintosh\ HD\ backup/ sudo -E put --exclude=/.fseventsd --exclude=/private/var/vm
500
		l=1 overwrite=1 src=/ dest=/Volumes/Macintosh\ HD\ backup/ sudo -E put --exclude=/.fseventsd/ --exclude=/private/var/vm/
501 501
		stop Dropbox: system tray > Dropbox icon > gear icon > Quit Dropbox
502 502
			otherwise, the backup of ~/.dropbox will be corrupted
503 503
		launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist # stop the PostgreSQL server
504 504
		screen
505
		l=1 overwrite=1 src=/ dest=/Volumes/Macintosh\ HD\ backup/ sudo -E put --exclude=/.fseventsd --exclude=/private/var/vm
505
		l=1 overwrite=1 src=/ dest=/Volumes/Macintosh\ HD\ backup/ sudo -E put --exclude=/.fseventsd/ --exclude=/private/var/vm/
506 506
		launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist # start the PostgreSQL server
507 507
		start Dropbox: /Applications > double-click Dropbox.app
508 508
	to restore from Time Machine:
......
512 512
		# restart holding Alt
513 513
		# select Macintosh HD
514 514
		$ screen
515
		$ l=1 swap=1 src=/ dest=/Volumes/Time\ Machine\ Backups/ sudo -E put usr/local/var/postgres # runtime: 1 h ("4020.61")
515
		$ l=1 swap=1 src=/ dest=/Volumes/Time\ Machine\ Backups/ sudo -E put usr/local/var/postgres/ # runtime: 1 h ("4020.61")
516 516
		$ make postgres_restart
517 517
	VegCore data dictionary:
518 518
		Regularly, or whenever the VegCore data dictionary page

Also available in: Unified diff