Project

General

Profile

« Previous | Next » 

Revision 13263

fix: lib/sh/sync.sh: db_copy(): need to exclude files which prevent tape backup

View differences:

sync.sh
56 56
	local_export live="${live-1}"; local to="${to:-$from.bak}"
57 57
	sudo mkdir "$to"
58 58
	
59
	local_dir="$from" remote_url="$to" inplace=1 sudo upload
59
	local_dir="$from" remote_url="$to" inplace=1 sudo upload --delete-excluded \
60
--exclude=.DO_NOT_BACKUP # allow tape backup
60 61
		# inplace: for large files, don't re-copy entire file
61 62
}
62 63

  

Also available in: Unified diff