Views

Networker changes the archive bit on my system. How do keep Networker from basing its incrementals on the archive bit?

This Wiki is brought to you by Backup Central, where you can find the Mr. Backup Blog, Forums, and a mailing list for each forum!

Backup FAQs Service Providers Backup Software Backup Hardware Backup Book Wiki Free Stuff Miscellaneous


A. Paul White reposted (2 May 2000) the following Legato document to the mailing list: Windows NT Archive Bit Behavior with NetWorker The system environment variable NSR_AVOID_ARCHIVE can be set to YES to prevent NetWorker from using the archive bit as criteria for determining what files are saved during scheduled backups. The following section presents two situations: the behavior of NetWorker scheduled backups when the NSR_AVOID_ARCHIVE is set NO and the behavior when NSR_AVOID_ARCHIVE is set to YES. NSR_AVOID_ARCHIVE set to NO or not present Beginning with NetWorker for NT 4.3 the archive bit is used as part of the criterion for determining if files are saved during an incremental backup. The other criteria are LastWriteTime and CreateTime. During a scheduled backup the archive file attribute is turned off based upon the particular situations listed below. Full Scheduled Backups During a full scheduled backup the archive bit for each file saved is turned off if previously set.

  • LastWriteTime time or CreateTime

>= last scheduled backup time If the LastWriteTime time on a file or the CreateTime is greater than or equal to the last scheduled backup time, the files are save and then the archive bit is turned off if previously set.

  • LastWriteTime time and

CreateTime last scheduled backup time If the archive bit is set, the file is saved, but the archive bit is not turned off until the file is "captured" by an upcoming scheduled backup. - OR - If the archive bit is not set the file is not saved. NSR_AVOID_ARCHIVE iset to YES (or any value other than "no") Earlier versions of NetWorker (before 4.3) did not use the archive bit.

  • Full Scheduled Backups

All files are saved.

  • Last Written time or CreateTime

>= last scheduled backup time If the LastWriteTime time on a file or the CreateTime is greater than or equal to the last scheduled backup time, the file is backed up.

  • Last Written time and CreateTime
last scheduled backup time If the LastWriteTime time and CreateTime

is less than the last scheduled backup time, the file is not backed up Specify the NSR_AVOID_ARCHIVE system environment variable to control what criteria NetWorker for Windows NT 4.3 or higher uses to determine what files are candidates for incremental saves. The environment variable is set in the System application from the Control Panel. Set NSR_AVOID_ARCHIVE as a system environmental variable, not a user environmental variable. Reboot the system to activate the variable.