Diskettes can suffer actual physical damage (bending, folding) or internal damage. To recover data from a damaged diskette, do the following:
The tar command writes files to or retrieves files from diskettes as well as tape media.
If the data was not written to the diskette with relative paths, then the tar command attempts to extract the data from the diskette in rfd0 and place each item at the location specified by the absolute path. For example, if the relative path file is ./myfile , the file will be written in the current directory.
If the file was written on the diskette with an absolute path, such as /u/diane/myfile , then the file will be copied from the diskette into /u/diane/myfile . If the file /u/diane/myfile already exists, it will be overwritten.
Note: An absolute path name is the full path name of the file. It begins with a slash (/) immediately followed by the root directory and contains all the directories leading to the file. The relative path name starts from the current directory and is the same as its base name if the file is in the $HOME directory. If the file is in a subdirectory of $HOME, the relative path name is the path from the working directory to the file.
The cpio command copies files into and out of storage and moves directory trees.
The dd command copies files. It is most useful for reading files that are written in non-UNIX format. In the previous example, dd copied the entire diskette to myfile .
The restore command restores files backed up by the backup command.
Prevent your diskette data from being deleted inadvertently. Put write-protect tabs on the diskettes. Keep diskettes away from magnets, old rotary phones (they contain magnets), and the front or top of CRT screens.
"Backup Overview" in AIX Version 4.3 System Management Guide: Operating System and Devices.
Go back to Media Problems.