Browse Source

fix(backup): resolve issues with lockfile check and creation (#3214)

* check lockfile has been fixed
* lockfile is only created once compression starts
pull/3215/head
Daniel Gibbs 4 years ago
parent
commit
3347c70c3a
  1. 4
      lgsm/functions/command_backup.sh

4
lgsm/functions/command_backup.sh

@ -254,12 +254,12 @@ fn_backup_start_server(){
}
# Run functions.
fn_backup_create_lockfile
fn_backup_check_lockfile
fn_backup_init
fn_backup_stop_server
fn_backup_dir
fn_backup_migrate_olddir
fn_backup_check_lockfile
fn_backup_create_lockfile
fn_backup_compression
fn_backup_prune
fn_backup_start_server

Loading…
Cancel
Save