Project

General

Profile

« Previous | Next » 

Revision 14667

fix: /README.TXT: to backup files not in Time Machine: need to use 2 TB external hard drive instead of Time Machine drive because Time Machine drive does not have ~/Documents/BIEN/ in a location where it can be hardlinked against

View differences:

trunk/README.TXT
494 494
				then review diff, and rerun with `l=1` prepended
495 495
			start Dropbox: /Applications > double-click Dropbox.app
496 496
	to backup files not in Time Machine:
497
		**IMPORTANT**: need to use 2 TB external hard drive instead of Time
498
			Machine drive because Time Machine drive does not have
499
			~/Documents/BIEN/ in a location where it can be hardlinked against
497 500
		On local machine:
498 501
		on first run, create parent dirs:
499
			sudo mkdir -p /Volumes/Time\ Machine\ Backups/root/Users/aaronmk/Documents/BIEN/
500
			sudo mkdir -p /Volumes/Time\ Machine\ Backups/root/usr/local/var/postgres/
501
			l=1 src=/ dest=/Volumes/Time\ Machine\ Backups/root/ sudo -E put --existing
502
		l=1 overwrite=1 src=/ dest=/Volumes/Time\ Machine\ Backups/root/ sudo -E put --include='/vegbiendev**' --exclude='**' Users/aaronmk/Documents/BIEN/ # initial runtime: 4 h ("13912.63")
502
			sudo mkdir -p '/Volumes/BIEN3.**SAVE**/Users/aaronmk/Documents/BIEN/'
503
			sudo mkdir -p '/Volumes/BIEN3.**SAVE**/usr/local/var/postgres/'
504
			l=1 src=/ dest='/Volumes/BIEN3.**SAVE**/' sudo -E put --existing
505
		l=1 overwrite=1 src=/ dest='/Volumes/BIEN3.**SAVE**/' sudo -E put --include='/vegbiendev**' --exclude='**' Users/aaronmk/Documents/BIEN/
503 506
			# this cannot be backed up by Time Machine because it dereferences hard links:
504 507
			#  `sudo find /Volumes/Time\ Machine\ Backups/Backups.backupdb/ ! -type d -links +1`
505 508
			#  returns no files when there is a single timestamped backup, but
506 509
			#  `sudo find / ! -type d -links +1` does
507
		l=1 overwrite=1 src=/ dest=/Volumes/Time\ Machine\ Backups/root/ sudo -E put usr/local/var/postgres/
510
		l=1 overwrite=1 src=/ dest='/Volumes/BIEN3.**SAVE**/' sudo -E put usr/local/var/postgres/
508 511
			# this cannot be backed up by Time Machine because it prevents the backup process from ending
509 512
		launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist # stop the PostgreSQL server
510
		l=1 overwrite=1 src=/ dest=/Volumes/Time\ Machine\ Backups/root/ sudo -E put usr/local/var/postgres/
513
		l=1 overwrite=1 src=/ dest='/Volumes/BIEN3.**SAVE**/' sudo -E put usr/local/var/postgres/
511 514
		launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist # start the PostgreSQL server
512 515
	to back up the local machine's hard drive:
513 516
		turn on and connect the 2 TB external hard drive

Also available in: Unified diff