Revision 13250
Added by Aaron Marcuse-Kubitza over 10 years ago
db.sh | ||
---|---|---|
255 | 255 |
local from="${from:-/var/lib/mysql}"; local to="${to:-$from.bak}" |
256 | 256 |
|
257 | 257 |
mysql_ctl stop |
258 |
prep_try; local_dir="$from" remote_url="$to" "try" upload |
|
258 |
prep_try; local_dir="$from" remote_url="$to" "try" sudo upload
|
|
259 | 259 |
mysql_ctl start |
260 | 260 |
rethrow |
261 | 261 |
} |
Also available in: Unified diff
bugfix: lib/sh/db.sh: mysql_snapshot(): try: need to use split syntax with prep_try instead, to work with prefix vars