Archive bit

Archive bit

An archive bit is a file attribute present in many computer file systems, notably FAT, FAT32, and NTFS. The purpose of an archive bit is to track incremental changes to files for the purpose of backup, also called "archiving".

As the archive bit is a binary bit, it is either 1 or 0, or in this case more frequently called "set" (1) and "clear" (0). The operating system "sets" the archive bit any time a file is created, moved, renamed, or otherwise modified in any way. The archive bit therefore represents one of two states: "changed" and "not changed" since the last backup.

Archive bits are not affected by simply reading a file. When a file is copied, the original file's archive bit is unaffected, however the copy's archive bit will be "set" at the time the copy is made.

In NTFS, changing the permissions of a file also re-sets the file's archive bit. However, changing other file attributes (such as hidden, system) usually does not.

Backup software optionally "clears" the archive bit when making a backup copy of the file. File compression utilities such as PKZIP and WinRAR, as well as the built-in XCOPY command, can do this as well. Because this behavior is optional, it only happens when specifically requested by the user with a command-line switch or with a configuration option.

Backup software offers the option to only back up files with the archive bit "set", which due to the operating system's behavior, equates to all the files that have been changed in some way since the last backup when the bits were "cleared". When doing so, files that have not been changed since the most recent backup are skipped. A backup made in this manner is called an incremental backup. A typical incremental backup creates a copy of all files with the archive bit "set", and then "clears" the bit on those files as the backup is made.

Backup software also provides the option to do a full backup while clearing archive bits - that is, to back up "all" files irrespective of the archive bit, but to "clear" the archive bit of all files in the backup for the future. This allows for the creation of an initial full backup that will be supplemented by incremental backups in the future.

The operating system never "clears" the archive bit on its own, unless explicitly told to do so by the user. In MS-DOS as well as nearly all versions of Windows, the archive bit can be seen or changed with the attrib command-line utility, or by viewing the properties of a given file with the Windows shell.

When a file with a "clear" archive bit is moved from one place on a file system to another, the archive bit reverts to being "set".

Typically, on a computer system that has never been backed up in a manner that clears archive bits, a full 100% of the files on that computer will have their archive bits "set", as there are few applications that make use of archive bits without the user's request.

As the archive bit is a file attribute and not part of the file itself, the contents of the file are unrelated to the status of the archive bit and remain unchanged even if the setting of the archive bit is changed.

ee also

* File system
* File attribute


Wikimedia Foundation. 2010.

Игры ⚽ Поможем сделать НИР

Look at other dictionaries:

  • Archive (disambiguation) — Archive may refer to:In document or data storage: * Archive, a collection of documents, or the location they are stored * Archive Corp., a data storage company active in the 1980s * Archive site, a website that stores information from the World… …   Wikipedia

  • Bit Corporation — (普澤 Pu Ze in Chinese) [cite web |url=http://fuji.drillspirits.net/gamate/?p=bit |title=Gamate: Bit Corporation |accessdate=2008 06 09 |author=Taizou |date=2008 |work=Neo Fuji |publisher=] was a Taiwanese game developer and console… …   Wikipedia

  • Bit Corporation — Saltar a navegación, búsqueda Bit Corporation (普澤 Pu Ze en chino)[1] fue una empresa con sede en Taiwán, dedicada al desarrollo de videojuegos para videoconsolas y la fabricación de ordenadores domésticos y consolas de sobremesa y mano.… …   Wikipedia Español

  • Bit, byte, gebissen — − das Computermagazin im Zündfunk war eine langjährige Sendereihe über Computer im Jugend und Szenemagazin Zündfunk des Bayerischen Rundfunks (BR). Am 7. Oktober 1985 erstmals ausgestrahlt, war sie die erste Computersendung im deutschsprachigen… …   Deutsch Wikipedia

  • Bit nibbler — Bit nibbler, or nibbler, is a computer program that defeats some early (1980s) software copy protection schemes by reading the disk one bit at a time, and directly interacting with the disk drive hardware. References *… …   Wikipedia

  • Archive (Compilation) — Infobox Album | Name = Archive Type = Compilation Artist = Magnum Released = April 1993 Recorded = 1974 1982 Genre = Rock Melodic Rock Progressive rock Length = 44:39 Label = Jet Records Producer = Tony Clarkin Reviews = Last album = Sleepwalking …   Wikipedia

  • Bit Torrent — BitTorrent (protocole) Pour les articles homonymes, voir BitTorrent. BitTorrent est un protocole de transfert de données Pair à pair (P2P) à travers un réseau informatique. Le protocole a été conçu en avril 2001 et mis en place à l été 2002… …   Wikipédia en Français

  • Bit torrent — BitTorrent (protocole) Pour les articles homonymes, voir BitTorrent. BitTorrent est un protocole de transfert de données Pair à pair (P2P) à travers un réseau informatique. Le protocole a été conçu en avril 2001 et mis en place à l été 2002… …   Wikipédia en Français

  • List of archive formats — This is a list of file formats used by archivers and compressors used to create archive files. Contents 1 Archiving only 2 Compression only 3 Archiving and compression 4 …   Wikipedia

  • Drill bit shank — The shank is the part of a drill bit grasped by the chuck of a drill. The cutting edges of the drill bit are at one end, and the shank is at the other. Different styles of shank/chuck combination deliver different performance, such as allowing… …   Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”