Support Center > Search Results > SecureKnowledge Details
Gaia OS backup or snapshot fails with "There is already another backup process running" Technical Level
Symptoms
  • When the user runs the 'backup' command in Gaia Clish, the backup fails with error message:

    HostName> add backup local
    Creating backup package. Use the command 'show backup status' to monitor creation progress.
    In order for the backup to be effective you should copy the file outside the machine.
    
    HostName> show backup status
    local backup has failed.
    There is already another backup process running.
    
    Or
    
    HostName> show backup status
    Performing  backup
    Step:  
    
  • When the user runs the 'backup' command in Expert mode, the backup fails with error message:

    [Expert@HostName]# backup -d
    ...
    BACKUP operation started. Failed to create lock file The backup operations are locked. BACKUP operation failed.Details: There is already another backup process running. CBackupUtils::LogBackup() startingThere is already another backup process running.
  • Output of 'ps auxw' command does not show any other backup process.

  • When the user runs the 'snapshot' command in Gaia Clish, the snapshot creation fails with error message:

    NMSNAP9999 snapshot: another backup is currently in execution. Please try again in a few moments.
  • You might see the following errors in the messages file when you try to create the system backup.
    Jun 30 15:05:55 2022 HOSTNME ipstcl2: regStrCmp: Match found of the string jPassword at pattern jPassword (0,9)
    Jun 30 15:05:56 2022 HOSTNME ipstcl2: check_special_char: The key jPassword is allowed to have special character at it's value
    Jun 30 15:05:56 2022 HOSTNME xpand[12053]: backup: backup_alloc_proc(). 
    Jun 30 15:05:56 2022 HOSTNME xpand[12053]: backup_set_proc: Started. 
    Jun 30 15:05:56 2022 HOSTNME xpand[12053]: backup: backup_disengage_proc(). 
    Jun 30 15:05:56 2022 HOSTNME ipstcl2: regStrCmp: Match found of the string msg at pattern msg (0,3)
    Jun 30 15:05:56 2022 HOSTNME ipstcl2: check_special_char: The key msg is allowed to have special character at it's value
    Jun 30 15:05:56 2022 HOSTNME ipstcl2: check_commands_black_list: The userName value contain a black list command
    Jun 30 15:05:56 2022 HOSTNME ipstcl2: Black listed command found
    
Cause

When running, the backup needs to acquire a lock on certain files in the system.

If the backup cannot acquire the lock, it assumes that another backup is running.


Solution
Note: To view this solution you need to Sign In .