[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

trouble dumping whole filesystem to tape /sbin/dump



Hi,

I am trying to use dump to backup some data.

I have been using this command:

/sbin/dump -0ua -f /dev/st0 / -L slash 2>> output.txt

followed by:

/sbin/dump -1a -f /dev/st0 /usr -L usr 2>> output.txt

When I do a restore -t 

The second comand rewrites over the data I recorded with the first
command.



I want to dump the whole filesystem to the tape.

How would I do that ?

My filesystem. 

#/dev/sda5               /                       ext2    defaults
1 1
#/dev/sdb5               /home                   ext2    defaults
1 2
#/dev/sdb1               /usr/local/blackboard   ext2    defaults
1 2
#/dev/cdrom              /mnt/cdrom              iso9660 noauto,owner,ro
0 0
#/dev/sda9               /tmp                    ext2    defaults
1 2
#/dev/sda8               /usr                    ext2    defaults
1 2
#/dev/sda6               /var                    ext2    defaults
1 2
#/dev/fd0                /mnt/floppy             auto    noauto,owner
0 0
#/dev/sda1              /boot                   ext2    defaults
1 1
#none                    /proc                   proc    defaults
0 0
#none                    /dev/pts                devpts  gid=5,mode=620
0 0
#/dev/sda7               swap                    swap    defaults
0 0

Sample output.

#[root@blkbrd backup]# less output.txt
#  DUMP: Date of this level 0 dump: Thu Jan 10 00:31:19 2002
#  DUMP: Date of last level 0 dump: the epoch
#  DUMP: Dumping /dev/sda5 (/) to /dev/st0001
#  DUMP: Label: slash
#  DUMP: mapping (Pass I) [regular files]
#  DUMP: mapping (Pass II) [directories]
#  DUMP: estimated 51833 tape blocks.
#  DUMP: Dumping volume 1 on /dev/st0001
#  DUMP: Volume 1 started at: Thu Jan 10 00:31:19 2002
#  DUMP: dumping (Pass III) [directories]
#  DUMP: dumping (Pass IV) [regular files]
#  DUMP: Closing /dev/st0001
#  DUMP: Volume 1 completed at: Thu Jan 10 00:31:28 2002
#  DUMP: Volume 1 took 0:00:09
#  DUMP: Volume 1 transfer rate: 6038 KB/s
#  DUMP: 54347 tape blocks (53.07MB) on 1 volume(s)
#  DUMP: finished in 3 seconds, throughput 18115 KBytes/sec
#  DUMP: level 0 dump on Thu Jan 10 00:31:19 2002
#  DUMP: Date of this level 0 dump: Thu Jan 10 00:31:19 2002
#  DUMP: Date this dump completed:  Thu Jan 10 00:31:28 2002
#  DUMP: Average transfer rate: 6038 KB/s
#  DUMP: DUMP IS DONE

---------------------
Ted Knab



Reply to: