Acceso denegado con atributos de archivo HS

Questions about Cobian Reflector
Post Reply
Guilletzky
Posts: 8
Joined: 26 Dec 2023, 21:47

Acceso denegado con atributos de archivo HS

Post by Guilletzky »

Hola Luis,

Te reporto este extraño error que me ocurrió en un backup de una carpeta a un NAS, y pude reproducir el mismo error a un share de windows (sospechaba del NAS...pero no ocurre solo ahi)

El escenario es el siguiente:
Cobian Reflector 2.7.10
Tarea programada para copiar una carpeta a un share smb, incremental, sin compresion, usando VSC, atributos de archivos, el resto default.
Cuando un archivo cualquiera dentro de la carpeta origen tiene los atributos H y S (hidden y system) y se hace backup de dichos archivos en destino, todo está OK. Pero cuando esos archivos dejan de tener los atributos H y S en origen, y se vuelven a copiar en el próximo backup, el mismo da error de "acceso denegado". (Fácil de reproducir el error, al tomar cualquier archivo que antes tenía atributos HS y sacarle los attr HS y dejarle solo A o editarlo).

Alguna idea?
Por ahora como workaround le puse un evento pre backup para que le remueva los atributos H y S a los archivos afectados en destino previo al backup y todo va bien, pero estaría bueno saber la causa y como solucionarlo, o si es un bug.

Si necesitas captuas de configuraciones, logs, etc, me avisas y te envío

Estos son del backup de prueba para reproducir el error:

Antes de modificar los atributos del archivo: (AHS)

Code: Select all

    2024-06-19 17:22:23 A backup has started...
    2024-06-19 17:22:23 Calculating the number of files. This could take a while...

    2024-06-19 17:22:23 Backing up the task "TEST"
    2024-06-19 17:22:23 Applying the parameters to the task "TEST" (if any).
    2024-06-19 17:22:23 Requesting the creation of a Volume Shadow Copy image for the source...
    2024-06-19 17:22:29 The Volume Shadow Copy image has been successfully created.
    2024-06-19 17:22:29 Starting the copy. The user running the task is: backupsti
    2024-06-19 17:22:29 The destination directory "\\server\Backup\Diario\DATOS\tmpg" has been successfully created.
    2024-06-19 17:22:29 Backing up the directory "k:\DATOS\tmpg\" to "\\server\Backup\Diario\DATOS\tmpg"...
    2024-06-19 17:22:29 The archive attribute for "k:\DATOS\tmpg\" has been removed.
    2024-06-19 17:22:29 The file attributes have been copied from "k:\DATOS\tmpg\" to "\\server\Backup\Diario\DATOS\tmpg".
    2024-06-19 17:22:29 The timestamps have been copied from "k:\DATOS\tmpg\" to "\\server\Backup\Diario\DATOS\tmpg".
    2024-06-19 17:22:29 The directory "k:\DATOS\tmpg\" has been backed up.

    2024-06-19 17:22:29 ** Backup for the task "TEST" has ended **
    2024-06-19 17:22:29 ** Processed files: 1. Backed up files: 1. Created folders: 0. Backup size: 18 bytes. **
    2024-06-19 17:22:29 ** Number of errors: 0. Time elapsed: 0 hours, 0 minutes, 5 seconds. **

    2024-06-19 17:22:29 Deleting the Volume Shadow Copy image...
    2024-06-19 17:22:30 The Volume Shadow Copy image has been successfully deleted.

    2024-06-19 17:22:30 Mailing the log files...
    2024-06-19 17:22:30 Flushing the log to file. This can take some seconds. Wait...

    2024-06-19 17:22:31 The backup has ended without errors.
Luego de modificar los atributos del archivo: (A)

Code: Select all

    2024-06-19 17:23:09 A backup has started...
    2024-06-19 17:23:09 Calculating the number of files. This could take a while...

    2024-06-19 17:23:09 Backing up the task "TEST"
    2024-06-19 17:23:09 Applying the parameters to the task "TEST" (if any).
    2024-06-19 17:23:09 Starting the copy. The user running the task is: backupsti
    2024-06-19 17:23:09 Backing up the directory "k:\DATOS\tmpg\" to "\\server\Backup\Diario\DATOS\tmpg"...
ERR 2024-06-19 17:23:09 An error occurred while copying "k:\DATOS\tmpg\hola.txt" to "\\server\Backup\Diario\DATOS\tmpg\hola.txt": Acceso denegado
    2024-06-19 17:23:09 The archive attribute for "k:\DATOS\tmpg\" has been removed.
    2024-06-19 17:23:09 The file attributes have been copied from "k:\DATOS\tmpg\" to "\\server\Backup\Diario\DATOS\tmpg".
    2024-06-19 17:23:09 The timestamps have been copied from "k:\DATOS\tmpg\" to "\\server\Backup\Diario\DATOS\tmpg".
    2024-06-19 17:23:09 The directory "k:\DATOS\tmpg\" has been backed up.

    2024-06-19 17:23:09 ** Backup for the task "TEST" has ended **
    2024-06-19 17:23:09 ** Processed files: 1. Backed up files: 0. Created folders: 0. Backup size: 0 bytes. **
    2024-06-19 17:23:09 ** Number of errors: 1. Time elapsed: 0 hours, 0 minutes, 0 seconds. **


    2024-06-19 17:23:09 Mailing the log files...
    2024-06-19 17:23:09 Flushing the log to file. This can take some seconds. Wait...

    2024-06-19 17:23:09 The backup has ended. There are errors. Consult the log file.
Config de la tarea:

Code: Select all

<§- 6d255d9f-df88-4e35-ab6c-1ea0db9fbe9a -§>
§DuplicatedKeys:True
§CaseSensitive:False
§PairSeparator:=
TaskId=3861b183-3a01-4fe4-b8d8-3b187209257d
TaskName=TEST
TaskGroup=
TaskEnabled=True
TaskIncludeSubdirectories=True
TaskSeparatedBackups=False
TaskUseFileAttributes=True
TaskUseVolumeShadowCopies=False
TaskBackupType=1
TaskSource={ *§* 60b4b524-efd7-4c2e-87b0-89e78e33d197 *§* }
TaskDestination={ *§* 79cc8e70-23f8-464a-b3d3-0f3b476d4c75 *§* }
TaskSchedule={ *§* 869116e8-dba2-4add-842e-db6437f3dee8 *§* }
TaskPriority=1
TaskFullCopiesToKeep=15
TaskDifferentialCopiesToKeep=0
TaskForceFullBackupCount=0
TaskFixedFullBackup=False
TaskFixedFullBackupDay=1
TaskCompression=0
TaskArchiveComment=
TaskEncryptFiles=False
TaskPassPhrase=#Cob2#000289Vqn4bF41K06Qr6JCuYaSBLizR0=000010
TaskPhraseHint=
TaskCompressionLevel=1
CompressionMethod=1
SplitArchive=0
SplitSize=4300000000
TaskExcludeFilters={ *§* a528e3a3-1dad-4f6a-9007-4a288cad7000 *§* }
TaskCancelIfPreEventFails=False
TaskDoNotExecutePostEventsIfError=False
TaskMirror=False
TaskUseAbsolutePaths=False
TaskAlwaysCreateTopDirectory=True
TaskClearArchiveAttributes=True
TaskIncludeBackupTypeInName=True
TaskIgnoreEmptyDirectories=False
TaskImpersonate=False
TaskCancelIfImpersonationFails=False
TaskImpersonationUserName=
TaskImpersonationDomain=.
TaskImpersonationPassword=#Cob2#00028XB9U12jF1X7HvrkpP5TnXKjQV7I=000010
<§§- 6d255d9f-df88-4e35-ab6c-1ea0db9fbe9a -§§>

<§- 60b4b524-efd7-4c2e-87b0-89e78e33d197 -§>
§DuplicatedKeys:False
§CaseSensitive:False
§PairSeparator:=
SDKind=1
SDPath=k:\DATOS\tmpg\
SDSftp={ *§* 21cda847-7a35-4471-b9af-faedd5565c63 *§* }
SDFtp={ *§* 0472e1c9-7af4-41bd-a4ea-20c71c5cc919 *§* }
<§§- 60b4b524-efd7-4c2e-87b0-89e78e33d197 -§§>

<§- 79cc8e70-23f8-464a-b3d3-0f3b476d4c75 -§>
§DuplicatedKeys:False
§CaseSensitive:False
§PairSeparator:=
SDKind=1
SDPath=\\server\Backup\Diario\DATOS\
SDSftp={ *§* 33bf2e5e-fc85-4f06-85db-701ffae06e65 *§* }
SDFtp={ *§* 06a843c7-cad8-46d1-bd14-8f6aab4d11d1 *§* }
<§§- 79cc8e70-23f8-464a-b3d3-0f3b476d4c75 -§§>
Con y sin VSC falla de la misma manera.

Gracias
Saludos
Guille
User avatar
cobian
Site Admin
Posts: 5145
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Acceso denegado con atributos de archivo HS

Post by cobian »

Gracias... le echare un vistazo la semana que viene.
--
Luis Cobian
Cobian Backup's creator
Guilletzky
Posts: 8
Joined: 26 Dec 2023, 21:47

Re: Acceso denegado con atributos de archivo HS

Post by Guilletzky »

Hola Luis,

Pudiste ver este asunto de casualidad?
Muchas gracias!

Saludos
Guille
User avatar
cobian
Site Admin
Posts: 5145
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Acceso denegado con atributos de archivo HS

Post by cobian »

Hola Guille...

Si, lo he mirado. Saco una última actualización mas tarde hoy.

Saludos
--
Luis Cobian
Cobian Backup's creator
Guilletzky
Posts: 8
Joined: 26 Dec 2023, 21:47

Re: Acceso denegado con atributos de archivo HS

Post by Guilletzky »

Maravilloso....Muchisimas gracias.
Estaré atento.

Un gran abrazo
Post Reply