Direct Backups

Direct Backups

Post by Glen Batchel » Fri, 25 Jun 1999 04:00:00



   Can anyone suggest to me a method for dumping partitions directly
to DDS3 tape drives? I have an 18GB drive with several partitions that
need backing up. Is there a decent backup package for X? I've tried
BRU and it won't run on RH5.1. I can't modify the libraries because
the database server needs the current version.

    TIA,

            Ryengoth

 
 
 

Direct Backups

Post by Rod Smi » Fri, 25 Jun 1999 04:00:00




Quote:

>    Can anyone suggest to me a method for dumping partitions directly
> to DDS3 tape drives?

If by "directly" you mean that you want an image copy of the partition,
then this will work:

dd if=/dev/sda1 of=/dev/st0

(You may need to change the device identifiers, of course.)

In most cases, though, this is a very poor way to back up a system, since
it doesn't give you file-by-file restore access, and you'll only be able
to restore to a partition of the EXACT same size, which may not be
possible if, say, the hard disk dies.  OTOH, it may be the only way to
back up partitions that use filesystems Linux doesn't support.  For
instance, if you've got a BeOS partition, that might be how you'd need to
do it.

Instead of doing a raw partition dump, you should probably look into any
of the many backup programs supported by Linux.  Most Linux systems
include both cpio and tar, and these can be used for a backup.  For
instance, to back up everything using tar, you could issue this command:

tar cvf /dev/st0 /

There are lots of additional options you can use, too.

Quote:> I have an 18GB drive with several partitions that
> need backing up. Is there a decent backup package for X?

One I've used on occasion is KDAT (http://sunsite.auc.dk/qweb/kdat/).
KDAT is loosely affiliated with the KDE project, but you don't need to be
running KDE for it to work.  It's basically a GUI front-end to tar.

--
Rod Smith

http://www.channel1.com/users/rodsmith
NOTE: Remove the "uce" word from my address to mail me
Author of _Special Edition Using WordPerfect for Linux_, from Que;
see http://www.channel1.com/users/rodsmith/books.html

 
 
 

Direct Backups

Post by Scott Simpso » Sat, 26 Jun 1999 04:00:00




Quote:

>    Can anyone suggest to me a method for dumping partitions directly
> to DDS3 tape drives? I have an 18GB drive with several partitions that
> need backing up. Is there a decent backup package for X? I've tried
> BRU and it won't run on RH5.1. I can't modify the libraries because
> the database server needs the current version.

This is the second posting on the same thread I've answered today. I posted
dump scripts in this newsgroup in the last couple of days. Look for my name.
    Scott Simpson
 
 
 

Direct Backups

Post by Glen Batchel » Tue, 29 Jun 1999 04:00:00


On Fri, 25 Jun 1999 19:46:18 -0700, "Scott Simpson"




>>    Can anyone suggest to me a method for dumping partitions directly
>> to DDS3 tape drives? I have an 18GB drive with several partitions that
>> need backing up. Is there a decent backup package for X? I've tried
>> BRU and it won't run on RH5.1. I can't modify the libraries because
>> the database server needs the current version.

>This is the second posting on the same thread I've answered today. I posted
>dump scripts in this newsgroup in the last couple of days. Look for my name.
>    Scott Simpson

   I'm sorry that my newsfeed is crappy enough to loose posts. If
there was a post to read I wouldn't have posted mine in the first
place.

        Ryengoth