Project

General

Profile

« Previous | Next » 

Revision 14623

/README.TXT: to back up the local machine's hard drive: also exclude *-files indicating the (differing) retention statuses of the partitions involved

View differences:

README.TXT
494 494
	to back up the local machine's hard drive:
495 495
		turn on and connect the 2 TB external hard drive
496 496
		screen
497
		l=1 overwrite=1 src=/ dest=/Volumes/BIEN3/ sudo -E put --exclude=/.fseventsd/ --exclude=/private/var/vm/ --exclude=/usr/local/var/postgres/ --exclude=/Users/aaronmk/.dropbox/
497
		# --exclude='/\**': exclude *-files indicating the (differing) retention
498
		#  statuses of the partitions involved
499
		l=1 overwrite=1 src=/ dest=/Volumes/BIEN3/ sudo -E put --exclude='/\**' --exclude=/.fseventsd/ --exclude=/private/var/vm/ --exclude=/usr/local/var/postgres/ --exclude=/Users/aaronmk/.dropbox/
498 500
			# no --extended-attributes: rsync has to visit every file for this
499 501
			# runtime: 10 min (~600); initial runtime: 4-13 h ("2422.84"+"12379.91" .. "45813.19"+"747.96")
500 502
		# repeat until only minimal changes
501
		l=1 overwrite=1 src=/ dest=/Volumes/BIEN3/ sudo -E put --exclude=/.fseventsd/ --exclude=/private/var/vm/
503
		l=1 overwrite=1 src=/ dest=/Volumes/BIEN3/ sudo -E put --exclude='/\**' --exclude=/.fseventsd/ --exclude=/private/var/vm/
502 504
		stop Dropbox: system tray > Dropbox icon > gear icon > Quit Dropbox
503 505
			otherwise, the backup of ~/.dropbox will be corrupted
504 506
		launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist # stop the PostgreSQL server
505
		l=1 overwrite=1 src=/ dest=/Volumes/BIEN3/ sudo -E put --exclude=/.fseventsd/ --exclude=/private/var/vm/
507
		l=1 overwrite=1 src=/ dest=/Volumes/BIEN3/ sudo -E put --exclude='/\**' --exclude=/.fseventsd/ --exclude=/private/var/vm/
506 508
		launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist # start the PostgreSQL server
507 509
		start Dropbox: /Applications > double-click Dropbox.app
508 510
	to restore from Time Machine:

Also available in: Unified diff