Erro de Robocopy 5

2

Ao usar o robocopy para fazer backup de dados em uma árvore de diretórios para um NAS, continuo obtendo Erro 5 - Copiando a segurança do NTFS para o diretório de destino. Acesso negado. para pastas que não devam retornar tal erro. O script robocopy é executado por um usuário não administrador chamado "backup", usado especificamente para backups com acesso total a todos os arquivos e pastas.

Ao executar o script, a maioria das pastas retorna um erro 5, enquanto outras retornam um erro 5.

O log segue:

-------------------------------------------------------------------------------
   ROBOCOPY     ::     Robust File Copy for Windows                              
-------------------------------------------------------------------------------

  Started : 19 February 2017 17:01:15
   Source : F:\files\Archive\Dir1\Dir2\
     Dest : \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2\

    Files : *.*

  Options : *.* /S /E /DCOPY:DA /COPY:DATS /PURGE /MIR /R:10 /W:5 

------------------------------------------------------------------------------

                       1    F:\files\Archive\Dir1\Dir2\
                       2    F:\files\Archive\Dir1\Dir2-11-2010\
2017/02/19 17:01:16 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-11-2010\
Access is denied.


                       1    F:\files\Archive\Dir1\Dir2_09_2010\
        Modified           62899    Production Hours + Progress 01-09-2010.xlsx
                       1    F:\files\Archive\Dir1\Dir2-11-2010\
2017/02/19 17:01:16 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-11-2010\
Access is denied.


                       1    F:\files\Archive\Dir1\Dir2_06_2010\
2017/02/19 17:01:16 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2_06_2010\
Access is denied.


                       1    F:\files\Archive\Dir1\Dir2-11-2010\
2017/02/19 17:01:17 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-11-2010\
Access is denied.


                       1    F:\files\Archive\Dir1\Dir2_06_2010\
                       3    F:\files\Archive\Dir1\Dir2_05_2010\
                       1    F:\files\Archive\Dir1\Dir2-10-2010\
2017/02/19 17:01:18 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-10-2010\
Access is denied.


                       0    F:\files\Archive\Dir1\Dir2-08-10\
2017/02/19 17:01:18 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-08-10\
Access is denied.


                       3    F:\files\Archive\Dir1\Dir2-07-10\
2017/02/19 17:01:18 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-07-10\
Access is denied.


                       1    F:\files\Archive\Dir1\Dir2-06-2010\
2017/02/19 17:01:18 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-06-2010\
Access is denied.


                       5    F:\files\Archive\Dir1\Dir2_06_2010\
                       3    F:\files\Archive\Dir1\Dir2-10-2010\
2017/02/19 17:01:19 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-10-2010\
Access is denied.


                       2    F:\files\Archive\Dir1\Dir2_05_2010\
                       1    F:\files\Archive\Dir1\Dir2-07-10\
2017/02/19 17:01:19 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-07-10\
Access is denied.


                       1    F:\files\Archive\Dir1\Dir2-09-2010\
2017/02/19 17:01:19 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-09-2010\
Access is denied.


                       1    F:\files\Archive\Dir1\Dir2-08-10\
2017/02/19 17:01:19 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-08-10\
Access is denied.


                       3    F:\files\Archive\Dir1\Dir2_06_2010\
2017/02/19 17:01:20 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2_06_2010\
Access is denied.


                       2    F:\files\Archive\Dir1\Dir2-10-2010\
2017/02/19 17:01:20 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-10-2010\
Access is denied.


                       1    F:\files\Archive\Dir1\Dir2-10-2010\
2017/02/19 17:01:20 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-10-2010\
Access is denied.


                       1    F:\files\Archive\Dir1\Dir2_05_2010\
                       1    F:\files\Archive\Dir1\Dir2-07-10\
2017/02/19 17:01:21 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-07-10\
Access is denied.


                       1    F:\files\Archive\Dir1\Dir2-10-2010\
2017/02/19 17:01:21 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-10-2010\
Access is denied.


                       1    F:\files\Archive\Dir1\Dir2-09-2010\
2017/02/19 17:01:21 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-09-2010\
Access is denied.


                       1    F:\files\Archive\Dir1\Dir2-10-2010\
2017/02/19 17:01:21 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-10-2010\
Access is denied.


                       2    F:\files\Archive\Dir1\Dir2_06_2010\
2017/02/19 17:01:21 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2_06_2010\
Access is denied.


                       1    F:\files\Archive\Dir1\Dir2-10-2010\
2017/02/19 17:01:21 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-10-2010\
Access is denied.


                       1    F:\files\Archive\Dir1\Dir2-10-2010\
2017/02/19 17:01:22 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-10-2010\
Access is denied.


                       1    F:\files\Archive\Dir1\Dir2_05_2010\
                       1    F:\files\Archive\Dir1\Dir2-07-10\
2017/02/19 17:01:22 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-07-10\
Access is denied.


                       2    F:\files\Archive\Dir1\Dir2-09-10\
2017/02/19 17:01:23 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-09-10\
Access is denied.


                       2    F:\files\Archive\Dir1\Dir2-06-10\
2017/02/19 17:01:23 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2-06-10\
Access is denied.


                       1    F:\files\Archive\Dir1\Dir2\Project Closure July 2010\
2017/02/19 17:01:23 ERROR 5 (0x00000005) Copying NTFS Security to Destination Directory \nas\fooBack\fooDrive\Auto2\Archive\Dir1\Dir2\Project Closure July 2010\
Access is denied.



------------------------------------------------------------------------------

               Total    Copied   Skipped  Mismatch    FAILED    Extras
    Dirs :        34         0         0         0         0         0
   Files :        15         1        14         0         0         0
   Bytes :   907.4 k    61.4 k   846.0 k         0         0         0
   Times :   0:00:08   0:00:00                       0:00:00   0:00:07


   Speed :              511373 Bytes/sec.
   Speed :              29.261 MegaBytes/min.
   Ended : 19 February 2017 17:01:23

A ajuda é muito apreciada.

Todos os arquivos e pastas envolvidos permitem acesso total ao usuário de backup que está executando o script.

Tenho certeza de que estou sentindo falta de algo menor.

Obrigado e aguardo sua ajuda.

    
por joebegborg07 19.02.2017 / 17:15

1 resposta

0

Eu tive que reiniciar (ou dis- e reconectar?) o compartilhamento de destino no cliente onde eu invoquei o robocopy pelo yarcgui. O compartilhamento alvo smb / cifs foi um NAS openindiana / solaris que se uniu com sucesso ao ws2012 ADDC. O cliente é o Windows 10. O compartilhamento era totalmente acessível a todos, administradores de domínio e usuários atuais conectados.

    
por 08.08.2017 / 13:49