[plug] Backup to DAT

Leon Brooks leon at brooks.fdns.net
Mon Feb 4 19:10:53 WST 2002


On Monday 04 February 2002 17:37, Andrew  Barbara wrote:
> Whats the best solution for backing up all data to a Sony DDS 9000 SCSI DAT
> Drive?

This is the fastest:

    dd if=/dev/hda of=/dev/st0

This is the simplest that compresses well:

    bzip2 -9 </dev/hda >/dev/st0

If you have SCSI hard drives you may need to use /dev/sda instead of 
/dev/hda; multiple drives can be catered for like this:

    cat /dev/hda /dev/hdb | bzip2 -9 >/dev/st0

The following solution is boring and slower but doesn't back up unused space 
and for some reason (probably ~30 years of history) works well:

    tar cvjf /dev/st0 /

Cheers; Leon



More information about the plug mailing list