Skip to content

Commit 3347c70

Browse files
committed
fix(backup): resolve issues with lockfile check and creation (#3214)
* check lockfile has been fixed * lockfile is only created once compression starts
1 parent 419d74b commit 3347c70

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lgsm/functions/command_backup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -254,12 +254,12 @@ fn_backup_start_server(){
254254
}
255255

256256
# Run functions.
257-
fn_backup_create_lockfile
257+
fn_backup_check_lockfile
258258
fn_backup_init
259259
fn_backup_stop_server
260260
fn_backup_dir
261261
fn_backup_migrate_olddir
262-
fn_backup_check_lockfile
262+
fn_backup_create_lockfile
263263
fn_backup_compression
264264
fn_backup_prune
265265
fn_backup_start_server

0 commit comments

Comments
 (0)