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.
Kindest regards,
Niall O Broin
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!