The support forum

Error: Access Denied

NotAgain :

Sep 13, 2017

Multiple Windows shares totalling 5TB, copied to NAS (with the Ownership information, Group information and Security information (DACL) options selected).
NAS shipped to Datacentre and the data restored to its new network location; again with the Ownership information, Group information and Security information (DACL) options selected.

Trying to sync the original source and destinations and it’s returning the message Error:Access Denied, probably because of the DACL etc.

As a test, I've tried replacing ownership in windows on a folder and sub files/folders to see if this can be used to get around this problem but it appears that the full files are copying over the network despite most of the data already being there.

Is there a way to remove the security information which is causing the access denied error in windows and once all the data is resynced have bvckup2 scan the source and replicate the attributes, ownership, etc over? If not what are the options and recommendations since the bulk of the data is already in place.

Alex Pankratov :

Sep 13, 2017

Is there a way to remove the security information which is causing the access denied error in windows


This should be doable with built-in Windows function from the Security tab of Properties of the top folder. There's an option to recurse down the tree when applying security info changes... probably set the access to the top folder to something very permissive and tick the "replace child object permissions with inheritable entries" (or something to that effect).

As a test, I've tried replacing ownership in windows on a folder and sub files/folders to see if this can be used to get around this problem but it appears that the full files are copying over the network despite most of the data already being there.


Check the details logged under "Updating <filename>..." log entries. It will show what exactly is being updated *and* it will also show you the timestamps of the source and backup copies of the file.

The one and only reason for re-copying file _data_ is if a triplet of (size, created-time, last-modified-time) is different between the copies.

If you are reusing a backup job to copy onto NAS and to sync over the net, you may want to re-run it with Ctrl-Go. This forces a re-scan of destination and re-querying of the file system properties.

NotAgain :

Sep 14, 2017

Thanks Alex,

I have the application installed on two servers.
Server1 copied the data to the NAS
Server2 copied the data from the NAS to the SAN
Server1 had it's jobs updated to t]point to the SAN to capture changes.

It was erroring with Access Denied but after using windows to take ownership it's now trying to update all the files.

2017.09.14 15:41:52.633 (UTC+0) 2 2         41. Updating file location\file.pst
2017.09.14 15:41:52.633 (UTC+0) 3 3             Details
2017.09.14 15:41:52.633 (UTC+0) 3 4                 Source: 6.02 GB, created  2014.08.11 11:31:01.353, modified  2017.08.11 12:34:40.093, (no attributes) / normal
2017.09.14 15:41:52.633 (UTC+0) 3 5                     Raw: 6463349760 / 130522266613539750 / 131469248800936510 / 00000080
2017.09.14 15:41:52.633 (UTC+0) 3 4                 Backup: 6.02 GB, created  2014.08.11 11:31:01.353, modified  2017.08.11 12:34:40.093, archived
2017.09.14 15:41:52.633 (UTC+0) 3 5                     Raw: 6463349760 / 130522266613539750 / 131469248800936510 / 00000020
2017.09.14 15:41:52.633 (UTC+0) 3 3             Updating: attributes, owner, group

Alex Pankratov :

Sep 14, 2017

2017.09.14 15:41:52...             Updating: attributes, owner, group


It is updating just the attributes and sec. info. It's not recopying the file. This is what I would expect to be happening, no?

NotAgain :

Sep 19, 2017

You're right, i was just expecting (hoping) that an attribute, owner, group update would be a quick process however it also appears to be running a check or a scan of the file itself.

Alex Pankratov :

Sep 19, 2017

it also appears to be running a check or a scan of the file itself.


What do you mean by this? Bvckup doesn't go through the file contents when it is updating file's meta.

New topic

Create
Made by Pipemetrics in Switzerland
Support


Follow
Twitter
Dev blog
Miscellanea Press resources
Testimonials
On robocopy
Company
Imprint

Legal Terms
Privacy