From: Niall (niall at domain magicgoeshere.com)
Date: Mon 08 May 2000 - 18:00:38 IST
On Mon, May 08, 2000 at 10:55:39AM +0100, John Kelly wrote:
> We use dump and restore for backing up and .. uh.. restoring our files.
> We've got a pretty long, meandering directory structure, so does anyone know
> any sort of way to restore only certain file types down this directory
> structure, since both dump and restore are fairly esoteric commands?
What on earth is esoteric about them ? Can't you read man pages :-) They're
by far and away the best free programs available on Linux for backup/restore
- tar and cpio are archiving programs, not backup programs. What exactly do
you want to do ? If you want to restore a particular set of files, you need
to give restore the -x option and a list of the files. If when you say
> restore only certain file types
you mean to restore every file matching *.perl from the tape, you'll first
need to use restore -t to build a list of files on the tape, extract the
filenames you need from the list, and pass them to restore -x.
If you find yourself regularly doing this sort of thing, look into Amanda. It
uses dump/restore to backup and restore, but it also manages tapes and
maintains tape logs.
Niall O Broin
This archive was generated by hypermail 2.1.6 : Thu 06 Feb 2003 - 13:06:03 GMT