Project

General

Profile

« Previous | Next » 

Revision 14348

lib/sh/sync.sh: db_snapshot(): before backing up, trim bloated temp files (eg. from rolled back changes)

View differences:

trunk/lib/sh/sync.sh
67 67
{
68 68
	echo_func; kw_params ctl from to; : "${ctl:?}"
69 69
	
70
	# trim bloated temp files (eg. from rolled back changes)
71
	sudo "$ctl" restart
72
	
70 73
	# copy changes before stopping DB to minimize the time that it's shut down
71 74
	db_copy "$@" # copy changes since last backup
72 75
	db_copy "$@" # copy changes that occurred during the copy operation

Also available in: Unified diff