From The Open Source Backup Wiki (Amanda, MySQL Backup, BackupPC)

Jump to: navigation, search

Lists of on-media parts are sometimes passed around in a "tapespec", implemented in common-src/tapelist.c and perl/Amanda/Util.{swg,pod}. Older code referred to this as a tapelist, which can be confused with the tapelist file (which, naturally enough, is implemented in server-src/tapefile.c).

A tapespec is a semicolon-separated list of volumes, where each volume is specified as a label, a colon, and a comma-separated list of file numbers on that volume. For example:




Semicolon, colon, comma, and backslash are escaped with a backslash if they appear in a label.

File numbers are sorted in numerical order.

Sometimes the specification is abused by putting things that aren't labels in it:

Personal tools