Revision 13253
Added by Aaron Marcuse-Kubitza over 10 years ago
trunk/lib/sh/db.sh | ||
---|---|---|
256 | 256 |
sudo mkdir "$to" |
257 | 257 |
|
258 | 258 |
mysql_ctl stop |
259 |
prep_try; local_dir="$from" remote_url="$to" "try" sudo upload |
|
259 |
prep_try; local_dir="$from" remote_url="$to" inplace=1 "try" sudo upload |
|
260 |
# inplace: for large files, don't re-copy entire file |
|
260 | 261 |
mysql_ctl start |
261 | 262 |
rethrow |
262 | 263 |
} |
Also available in: Unified diff
lib/sh/db.sh: mysql_snapshot(): for large files, don't re-copy entire file