ERR An error occurred while deleting... Access Denied

Questions about Cobian Backup 11 (Gravity)
Post Reply
mmarkowski
Posts: 1
Joined: 06 Sep 2021, 09:01

ERR An error occurred while deleting... Access Denied

Post by mmarkowski »

Hi, I have 2 tasks on my Cobian Backup 11 Gravity. The only difference between them are the source and the destination directories. Both run as an admin with full rights to both source and destination folders (Edit task > Advanced > Impersonation). One of the tasks works fine, the other however can't delete some of the backuped files. These files aren't read-only. When I log in to this computer with the same admin account, I can delete these files manually. Permission inspection says this admin account has full control. Below is the log of the faulty task (all names, ids, directories etc. changed for security reasons).

2021-09-04 20:00 *** A new backup has started. Number of tasks in queue: 1 ***
2021-09-04 20:00 Preventing the system from entering sleep mode...
2021-09-04 20:00 ** Backing up the task "task_name" **
2021-09-04 20:00 Impersonating the user "domain\admin" to run the task "task_name"...
2021-09-04 20:00 The user "domain\admin" has now logged on
2021-09-04 20:00 The task is now being executed as the user "domain\admin"
2021-09-04 20:00 Starting the Volume Shadow Copy snapshot for the drives: D:\
2021-09-04 20:00 The Volume Shadow Copy snapshot set has been created successfully
2021-09-04 20:00 Changing the backup type to full. Reason: using a fixed day for full backups
2021-09-04 20:00 Creating the destination directory "destination_dir"
2021-09-04 20:00 The destination directory "destination_dir" has been successfully created
2021-09-04 20:00 Backing up the directory "GLOBALROOT\Device\HarddiskVolumeShadowCopy28\dir\"
2021-09-04 20:52 Deleting a full backup with all its files. Reason: there are 6 non-parked full backups
2021-09-04 20:52 Old backup files to delete: old_backup_dir
2021-09-04 20:52 Counting the files to delete
2021-09-04 20:52 Number of non-ftp files found to delete: 29973
2021-09-04 20:52 Deleting old backups
ERR 2021-09-04 20:52 An error occurred while deleting "old_backup_dir\..\filename.ext": Access Denied
...
2021-09-04 21:23 The deleting operation has been successfully completed
2021-09-04 21:23 Deleting the Volume Shadow Copy snapshot "id"
2021-09-04 21:23 The Volume Shadow Copy snapshot set has been successfully deleted
2021-09-04 21:23 Reverting the working thread to run under the original user account
2021-09-04 21:23 The working thread is now running under the original user account
2021-09-04 21:23 Total backup time for "task_name": 1 hours, 23 minutes, 30 seconds
2021-09-04 21:23 ** Backup done for the task "task_name". Errors: 86758. Processed files: 84800. Backed up files: 84800. Total size: 196,22 GB **
2021-09-04 21:23 --
2021-09-04 21:23 The system can now enter sleep mode
2021-09-04 21:23 Total backup time: 1 hours, 23 minutes, 34 seconds
2021-09-04 21:23 *** Backup done. Errors: 86758. Processed files: 84800. Backed up files: 84800. Total size: 196,22 GB ***
2021-09-04 21:23 --
User avatar
cobian
Site Admin
Posts: 441
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: ERR An error occurred while deleting... Access Denied

Post by cobian »

This is a sign of a conflict with permissions. Hard to tell without seeing the actual file permissions.
--
Luis Cobian
Cobian Backup's creator
Post Reply