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)
Luego de modificar los atributos del archivo: (A)
Config de la tarea:
Con y sin VSC falla de la misma manera.
Gracias
Saludos
Guille
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:
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.
Code:
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.
Code:
<§- 6d255d9f-df88-4e35-ab6c-1ea0db9fbe9a -§>§DuplicatedKeys:True§CaseSensitive:False§PairSeparator:=TaskId=3861b183-3a01-4fe4-b8d8-3b187209257dTaskName=TESTTaskGroup=TaskEnabled=TrueTaskIncludeSubdirectories=TrueTaskSeparatedBackups=FalseTaskUseFileAttributes=TrueTaskUseVolumeShadowCopies=FalseTaskBackupType=1TaskSource={ *§* 60b4b524-efd7-4c2e-87b0-89e78e33d197 *§* }TaskDestination={ *§* 79cc8e70-23f8-464a-b3d3-0f3b476d4c75 *§* }TaskSchedule={ *§* 869116e8-dba2-4add-842e-db6437f3dee8 *§* }TaskPriority=1TaskFullCopiesToKeep=15TaskDifferentialCopiesToKeep=0TaskForceFullBackupCount=0TaskFixedFullBackup=FalseTaskFixedFullBackupDay=1TaskCompression=0TaskArchiveComment=TaskEncryptFiles=FalseTaskPassPhrase=#Cob2#000289Vqn4bF41K06Qr6JCuYaSBLizR0=000010TaskPhraseHint=TaskCompressionLevel=1CompressionMethod=1SplitArchive=0SplitSize=4300000000TaskExcludeFilters={ *§* a528e3a3-1dad-4f6a-9007-4a288cad7000 *§* }TaskCancelIfPreEventFails=FalseTaskDoNotExecutePostEventsIfError=FalseTaskMirror=FalseTaskUseAbsolutePaths=FalseTaskAlwaysCreateTopDirectory=TrueTaskClearArchiveAttributes=TrueTaskIncludeBackupTypeInName=TrueTaskIgnoreEmptyDirectories=FalseTaskImpersonate=FalseTaskCancelIfImpersonationFails=FalseTaskImpersonationUserName=TaskImpersonationDomain=.TaskImpersonationPassword=#Cob2#00028XB9U12jF1X7HvrkpP5TnXKjQV7I=000010<§§- 6d255d9f-df88-4e35-ab6c-1ea0db9fbe9a -§§><§- 60b4b524-efd7-4c2e-87b0-89e78e33d197 -§>§DuplicatedKeys:False§CaseSensitive:False§PairSeparator:=SDKind=1SDPath=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=1SDPath=\\server\Backup\Diario\DATOS\SDSftp={ *§* 33bf2e5e-fc85-4f06-85db-701ffae06e65 *§* }SDFtp={ *§* 06a843c7-cad8-46d1-bd14-8f6aab4d11d1 *§* }<§§- 79cc8e70-23f8-464a-b3d3-0f3b476d4c75 -§§>
Gracias
Saludos
Guille
Statistics: Posted by Guilletzky — 19 Jun 2024, 22:37 — Replies 1 — Views 17