
f
ftio(1) | ftio(1) |
Modi®ers
The following modi®ers can be used with certain options as indicated in the SYNOPSIS:
aAfter ®les are copied to tape, reset their access time to appear as though the ®les were not accessed by ftio.
cWrite header information in ASCII character form, for portability.
dWhen restoring ®les, create directories as needed.
fCopy in all ®les except those that match patterns.
hArchive the ®les to which symbolic links point, as if they were normal ®les or directories. By default, ftio archives the link itself.
mRetain previous ®le modi®cation time and ownership of ®le. Restoring modi®cation time does not apply to directories that are being restored.
pAt the end of the backup, print the number of blocks transferred, the total time taken (excluding tape rewind and
tPrint only a table of contents of the input. No ®les are created, read, or copied.
uCopy unconditionally (by default, ftio does not replace a newer ®le with a older ®le of the same name).
vBe verbose. Print a list of ®le names and tape headers. When used with the t modi®er, the table of contents looks the same as the output of the ls
xSave or restore device special ®les. ftio uses mknod(2) to recreate these ®les during a restore operation. Thus, this modi®er is restricted to users with appropriate privileges. This is intended for intrasystem (backup) use. Restoring device ®les onto a different system can be very dangerous.
AIf copying from tape
If copying to tape
EWhen archiving, store all ®les having absolute path names (that is, path names beginning with /) with path names relative to the root directory (in other words, remove the leading /). On restoration, any ®les in the archive that had an absolute path name before archiving are restored relative to the current directory.
LSame as the
POn restoration, use prealloc() to allocate disk space beforehand for the ®le (see preal- loc(2)). This vastly improves the localization of ®le fragments.
When
To pass one or more metacharacters to ftio without having the shell expand them, protect them either by preceding each of them with a backslash (as in /usr\*), or enclosing them in protective single quotes (as in '/usr*').
Section 1−292 | − 3 − |