Project

General

Profile

« Previous | Next » 

Revision 14692

/README.TXT: backups of ~/.dropbox/: just pause and resume Dropbox instead of quitting and restarting it

View differences:

trunk/README.TXT
480 480
				then review diff, and rerun with `l=1` prepended
481 481
			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" --exclude="/software/**/.svn/"
482 482
				then review diff, and rerun with `l=1` prepended
483
			stop Dropbox: system tray > Dropbox icon > gear icon > Quit Dropbox
483
			pause Dropbox: system tray > Dropbox icon > gear icon > Pause Syncing
484 484
				this prevents Dropbox from trying to capture filesystem
485 485
				events while syncing
486 486
			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=/gmvault-db/ --exclude="/software/" --exclude="/VirtualBox VMs/**.sav" --exclude="/VirtualBox VMs/**.vdi" --exclude="/VirtualBox VMs/**.vmdk"
487 487
				then review diff, and rerun with `l=1` prepended
488
			start Dropbox: /Applications > double-click Dropbox.app
488
			resume Dropbox: system tray > Dropbox icon > gear icon > Resume Syncing
489 489
	to backup files not in Time Machine:
490 490
		**IMPORTANT**: need to use 2 TB external hard drive instead of Time
491 491
			Machine drive because Time Machine drive does not have
......
515 515
			# runtime: 10 min (~600); initial runtime: 4-13 h ("2422.84"+"12379.91" .. "45813.19"+"747.96")
516 516
		# repeat until only minimal changes
517 517
		l=1 overwrite=1 src=/ dest='/Volumes/BIEN3.**SAVE**/' sudo -E put --exclude='/\**' --exclude=/.fseventsd/ --exclude=/private/var/vm/
518
		stop Dropbox: system tray > Dropbox icon > gear icon > Quit Dropbox
518
		pause Dropbox: system tray > Dropbox icon > gear icon > Pause Syncing
519 519
			otherwise, the backup of ~/.dropbox will be corrupted
520 520
		launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist # stop the PostgreSQL server
521 521
		l=1 overwrite=1 src=/ dest='/Volumes/BIEN3.**SAVE**/' sudo -E put --exclude='/\**' --exclude=/.fseventsd/ --exclude=/private/var/vm/
522 522
		launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist # start the PostgreSQL server
523
		start Dropbox: /Applications > double-click Dropbox.app
523
		resume Dropbox: system tray > Dropbox icon > gear icon > Resume Syncing
524 524
	to restore from Time Machine:
525 525
		# restart holding Alt
526 526
		# select Time Machine Backups

Also available in: Unified diff