robocopy脚本:系统资源不足 [英] robocopy script : Insufficient system resources

查看:202
本文介绍了robocopy脚本:系统资源不足的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个以前运行过的脚本.机器人脚本.

I have a script that was working before. A robocopy script.

备份服务器坏了,新服务器丢失了一些配置,但是我不是Windows专家. :'(

The backup server broke and the new one misses some configuration, but I'm not a windows guy. :'(

脚本如下:

C:\Windows\system32\Robocopy F:\Equipos \\NASSERVERBACKUP\F$\BACKUPS_NASSERVER\Equipos_Horario *.* /purge /tee /e /log:F:\ScriptBackup\LogsBackup\NASSERVERBACKUP_horario.txt /nfl /r:1 /w:1

输出为:

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

  Started : Fri May 24 16:35:01 2013

2013/05/24 16:35:02 ERROR 1450 (0x000005AA) Getting File System Type of Destination \\NASSERVERBACKUP\F$\BACKUPS_NASSERVER\Equipos_Horario\
Insufficient system resources exist to complete the requested service.


   Source : F:\Equipos\
     Dest - \\NASSERVERBACKUP\F$\BACKUPS_NASSERVER\Equipos_Horario\

    Files : *.*

  Options : *.* /NFL /TEE /S /E /COPY:DAT /PURGE /R:1 /W:1 

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

2013/05/24 16:35:02 ERROR 1450 (0x000005AA) Accessing Destination Directory \\NASSERVERBACKUP\F$\BACKUPS_NASSERVER\Equipos_Horario\
Insufficient system resources exist to complete the requested service.

Waiting 1 seconds... Retrying...
2013/05/24 16:35:03 ERROR 1450 (0x000005AA) Accessing Destination Directory \\NASSERVERBACKUP\F$\BACKUPS_NASSERVER\Equipos_Horario\
Insufficient system resources exist to complete the requested service.


ERROR: RETRY LIMIT EXCEEDED.

2013/05/24 16:35:03 ERROR 1450 (0x000005AA) Creating Destination Directory \\NASSERVERBACKUP\F$\BACKUPS_NASSERVER\Equipos_Horario\
Insufficient system resources exist to complete the requested service.

Waiting 1 seconds... Retrying...
2013/05/24 16:35:04 ERROR 1450 (0x000005AA) Creating Destination Directory \\NASSERVERBACKUP\F$\BACKUPS_NASSERVER\Equipos_Horario\
Insufficient system resources exist to complete the requested service.


ERROR: RETRY LIMIT EXCEEDED.

2013/05/24 16:35:04 ERROR 1168 (0x00000490) Creating Destination Directory \\NASSERVERBACKUP\F$\BACKUPS_NASSERVER\Equipos_Horario\
Element not found.

有人知道什么是错的吗?

Does anyone know what can be wrong?

谢谢.

推荐答案

基于

Based on a similar issue discussed here: the errors you are getting are issues related to Windows memory managent and availability of specific kind of resources (Kernel Paged Memory) which could happen during backups of big filesystems, or particularly large files.

Windows具有可以分配给程序的一定数量的内存池空间,如果程序使用了该池中的所有可用内存,则会出现错误1450(0x000005AA).

Windows has a certain amount of memory pool space that it can allocate to programs, if the program uses all the memory available from that pool then ERROR 1450 (0x000005AA) raise up.

作为文献,一些 Microsoft知识库文章描述了此错误代码:

As literature several Microsoft Knowledge Base Articles describe this error code:

  • Q304101 - Backup Fails with Event ID 1450
  • Q247904 - How To Configure the Paged Address Pool and System Page Table Entry Memory Areas
  • Q142719 - Windows Reports Out Of Resources Error When Memory Is Available
  • Q236964 - Delayed Return of Paged Pool Causes Error 1450 "Insufficient Resources"
  • Q192409 - Open Files Can Cause Kernel to Report

特别地 Q304101 >描述如何监视资源以确定您的状态,并通过调整内存管理中的 PoolUsageMaximum 设置来提供可能的解决方案;因此,此参与者更改注册表设置需要很多注意事项;您已经被警告要仔细阅读之前的文章.

Specially Q304101 describes how to monitor resources to determine your state and offers a possible solution by tuning PoolUsageMaximum setting in Memory Management; this involvers changing registry settings therefore requires many cautions; you have been warned to read careffully the article before.

您可能要做的一件事是将备份分成不同的备份;连同监视内存一起,可以帮助隔离问题.

One thing you might do is separate the backup into different backups; together with monitoring memory this could help isolating the problem.

让我为您建议其他提示,以考虑将/XJ开关添加到您的命令行脚本中;这样 robocopy 排除连接点,这对于例如复制用户来说很重要帐户(\ Users .. foleder)在某些Windows(例如Vista)中的帐户,因为没有此帐户,您就可以在某种称为连接"的隐藏链接引起的循环中运行

Let me suggest you an additional hint, to consider adding the /XJ swith to your comman line script; this way robocopy eXclude Junctions , this is important for example when copy user accounts (the \Users.. foleder) in some Windows such as Vista, because without this you can run in loop coused by some kind of hidden links called "junctions"

这篇关于robocopy脚本:系统资源不足的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆