Article ID: 121520, created on May 9, 2014, last review on May 10, 2014

  • Applies to:
  • Virtual Automation

Symptoms

There's a scheduled backup task, run in the server backend, to backup all containers and remove the oldest backups afterwards.

The servers (the hardware node and the backup node) are registered in PVA.

The task fails with:

Apr 25, 2014 12:14:32 AM        Operation with the Container(s) "test" is started
    Completed
...
Apr 25, 2014 01:51:40 AM        Removing obsolete backups                                               Completed
Apr 25, 2014 01:51:40 AM        Failed to clean previous backups for new backup 8b9bd5d0-17dd-2745-a6bd-3ac4106ee7db/20140424221440     Completed
....................................
    Apr 25, 2014 02:17:53 AM        Operation with the Container(s) "test" is finished with errors: Access is denied.

The following messages can be found in /var/log/pva/agent/<date>-vzagent.log on the hardware node side:

T=00:14:37:837; L=(udf); PID=12679; TID=7f04d16c0760; P=VZABasicFunctionality [timeoutEvent] Process status change ctid#2020 (8b9bd5d0-17dd-2745-a6bd-3ac4106ee7db) old:6/0 -> new:6/15
...
T=00:14:42:954; L=(udf); PID=12679; TID=7f04d16c0760; P=VZABasicFunctionality [timeoutEvent] Process status change ctid#2020 (8b9bd5d0-17dd-2745-a6bd-3ac4106ee7db) old:6/15 -> new:6/0
...
T=01:51:45:413; L=(wrn); PID=921976; TID=7f04d16c0760; P=VZLBackupManagerLocal [execute] Failed to backup Environmeent 8b9bd5d0-17dd-2745-a6bd-3ac4106ee7db, Access is denied
...

The following messages can be found in /var/log/pva/agent/<date>-vzagent.log on the backup node side:

T=01:51:40:520; L=(dbg); PID=1009284; TID=7feaab75d760; P=VZLBackupLibServer [cleanupOldBackups] [VZLBackupDeserializerLocalPrototype::cleanupOldBackups] Removing old backup 8b9bd5d0-17dd-2745-a6bd-3ac4106ee7db/20140411203232
...
T=01:51:40:520; L=(dbg); PID=1009284; TID=7feaab75d760; P=VZLBackupManagerLocal [remove] Calling
T=01:51:40:520; L=(dbg); PID=1009284; TID=7feaab75d760; P=VZLBackupManagerLocal [extractEID] Calling
T=01:51:40:520; L=(dbg); PID=1009284; TID=7feaab75d760; P=VZLBackupManagerLocal [remove] Forwarding request to master
T=01:51:40:520; L=(dbg); PID=1009284; TID=7feaab75d760; P=VZLBackupManagerLocal [getMaster] Calling
...
T=01:51:40:712; L=(wrn); PID=1009284; TID=7feaab75d760; P=VZLBackupLibServer [cleanupOldBackups] [VZLBackupDeserializerLocalPrototype::cleanupOldBackups] Failed, Access is denied

Cause

Incorrect backup folder path is specified for the backup server.

Resolution

Make sure the backup path is correct on the backup server and the directory exists:

[root@backup ~]# vzabackup --view-folder localhost
 path = /vz/backups

[root@backup ~]# ls -d /vz/backups
/vz/backups

Search Words

Failed to clean backup

Failed to clean previous backups for new backup

finished with errors: Access is denied

319940068c5fa20655215d590b7be29b 2897d76d56d2010f4e3a28f864d69223

Email subscription for changes to this article
Save as PDF