(imported topic written by mgemma91)
I have a recurring task that has been running for a year, but I’ve started seeing failures recently with the archiving part of it, which is the last line in the action. The console log shows that the “archive now” command is failing on around 5% of PCs. Checking on a few, I’m seeing that the last successful archive for these computers happened at different points between April and June. But the other 95% are working perfectly.
The code I’m using for archiving is:
setting “_BESClient_ArchiveManager_MaxArchiveSize”=“50000000” on “{parameter “action issue date” of action}” for client
setting “_BESClient_ArchiveManager_OperatingMode”=“2” on “{parameter “action issue date” of action}” for client
setting “_BESClient_ArchiveManager_FileSet-CST_SW3”=“C:\Support\SWI{parameter “FName”}” on “{parameter “action issue date” of action}” for client
setting “_BESClient_ArchiveManager_SendAll”=“1” on “{parameter “action issue date” of action}” for client
archive now
And an example client log would be:
Command succeeded setting “_BESClient_ArchiveManager_MaxArchiveSize”=“50000000” on “Wed, 27 Jul 2011 18:00:02 +0000” for client (fixlet 23122)
Command succeeded setting “_BESClient_ArchiveManager_OperatingMode”=“2” on “Wed, 27 Jul 2011 18:00:02 +0000” for client (fixlet 23122)
Command succeeded setting “_BESClient_ArchiveManager_FileSet-CST_SW3”=“C:\Support\SWI\swi3_CANL3AA_7676767.gz” on “Wed, 27 Jul 2011 18:00:02 +0000” for client (fixlet 23122)
Command succeeded setting “_BESClient_ArchiveManager_SendAll”=“1” on “Wed, 27 Jul 2011 18:00:02 +0000” for client (fixlet 23122)
Command failed (Unable to archive now; failure while building archive: class ArchiveManagerBuildArchiveError) archive now (fixlet 23122)
At 20:23:23 -0400 -
ActionLogMessage: (action 23122 ) ending action
I’ve checked on a few PCs that the file name is correct and the file exists. The same ArchiveManagerBuildArchiveError message appears any time an archive is attempted. Any idea what may be causing the archive failure, or a way for me to get more details on what is happening?