Revision 14348
Added by Aaron Marcuse-Kubitza over 10 years ago
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
lib/sh/sync.sh: db_snapshot(): before backing up, trim bloated temp files (eg. from rolled back changes)