Hello,
I want to backup my PE2800 on tape but I'm not sure how to do this.
My PE2800 has a RAID5 setup with 2 72GB SCSI disks and a Seagate DAT-2 72GB internal tape-streamer and I'm running Centos 4.3 with the latest yum updates.
I'm not sure if this tape-streamer is recognised by the OS properly because it doesn't show up along with my DVD/floppy
I also recieved with the server a copy of Galaxy Express software from Dell but from what it looks this seems to be more of a client/server backupprogram and not really functional on a standalone server.
So how does one backs up + restores a complete HD (incl. MBR) like a ghost image or something on a tape. Any good software or howto's you can suggest would be much appreciated.
kind regards,
Geert
On Saturday 19 August 2006 11:10, Geert Batsleer wrote:
Hello,
I want to backup my PE2800 on tape but I'm not sure how to do this.
My PE2800 has a RAID5 setup with 2 72GB SCSI disks and a Seagate DAT-2 72GB internal tape-streamer and I'm running Centos 4.3 with the latest yum updates.
I'm not sure if this tape-streamer is recognised by the OS properly because it doesn't show up along with my DVD/floppy
I also recieved with the server a copy of Galaxy Express software from Dell but from what it looks this seems to be more of a client/server backupprogram and not really functional on a standalone server.
So how does one backs up + restores a complete HD (incl. MBR) like a ghost image or something on a tape. Any good software or howto's you can suggest would be much appreciated.
kind regards,
Geert
Geert,
Have a look at the mt command. This will amongst other things show you the status of the tapedrive ( mt -f /dev/mt0 status ). /dev/mt0 is most likely the devicename for your tapedrive.
I can recommend Lone-tar from www.cactus.com. Have long time experience with it, very good and solid. Bare metal restore from two floppies (or CD) and your tape in under 2 hours. Lots of options but still easy. You can download a trial version. Costs somewhere between 400 and 500 Euro's. If that's is too much, have a look at Bacula. No personal experience with that though.
Good luck,
I would use dump and restore to backup the system, it creates an image on the tape of the partitions
I would guess the tape device is /dev/nst0
mt -f /dev/nst0 status dump -0uf /dev/nst0 /dev/sda1
==to backup partition sda1 etc etc
I have a script that does this, that can even pipe it down an encrypted ssh tunnel from one linux box to another if the machine housing the tape unit is in a different linux box....
P.
Paul Schoonderwoerd wrote:
On Saturday 19 August 2006 11:10, Geert Batsleer wrote:
Hello,
I want to backup my PE2800 on tape but I'm not sure how to do this.
My PE2800 has a RAID5 setup with 2 72GB SCSI disks and a Seagate DAT-2 72GB internal tape-streamer and I'm running Centos 4.3 with the latest yum updates.
I'm not sure if this tape-streamer is recognised by the OS properly because it doesn't show up along with my DVD/floppy
I also recieved with the server a copy of Galaxy Express software from Dell but from what it looks this seems to be more of a client/server backupprogram and not really functional on a standalone server.
So how does one backs up + restores a complete HD (incl. MBR) like a ghost image or something on a tape. Any good software or howto's you can suggest would be much appreciated.
kind regards,
Geert
Geert,
Have a look at the mt command. This will amongst other things show you the status of the tapedrive ( mt -f /dev/mt0 status ). /dev/mt0 is most likely the devicename for your tapedrive.
I can recommend Lone-tar from www.cactus.com. Have long time experience with it, very good and solid. Bare metal restore from two floppies (or CD) and your tape in under 2 hours. Lots of options but still easy. You can download a trial version. Costs somewhere between 400 and 500 Euro's. If that's is too much, have a look at Bacula. No personal experience with that though.
Good luck,
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Here is what I use on stinit.def for a Seageta DAT72 unit, in case you need it:
{ mode1 blocksize=512 compression=1 mode2 blocksize=1024 compression=1 mode3 blocksize=512 compression=0 mode4 blocksize = 1024 compression=0 }
Pretty simples and direct.
On Sat, Aug 19, 2006 at 11:28:16AM +0100, Peter Farrow wrote:
I would use dump and restore to backup the system, it creates an image on the tape of the partitions
I would guess the tape device is /dev/nst0
mt -f /dev/nst0 status dump -0uf /dev/nst0 /dev/sda1
- -- Rodrigo Barbosa "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
If you need something that is like a ghost image then I would use dd. If you are going to have a complex backup shedule then I would use dump. You can use rdump to backup systems to a remote tape device. As far as the device itself I would guess /dev/st0 if it is a rewinding tape device, and /etc/nst0 if it is not a rewinding tape device, most likely /dev/nst0.
On 8/19/06, Rodrigo Barbosa rodrigob@darkover.org wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Here is what I use on stinit.def for a Seageta DAT72 unit, in case you need it:
{ mode1 blocksize=512 compression=1 mode2 blocksize=1024 compression=1 mode3 blocksize=512 compression=0 mode4 blocksize = 1024 compression=0 }
Pretty simples and direct.
On Sat, Aug 19, 2006 at 11:28:16AM +0100, Peter Farrow wrote:
I would use dump and restore to backup the system, it creates an image
on the
tape of the partitions
I would guess the tape device is /dev/nst0
mt -f /dev/nst0 status dump -0uf /dev/nst0 /dev/sda1
Rodrigo Barbosa "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
-----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux)
iD8DBQFE5ypWpdyWzQ5b5ckRAt0VAJ9voeznMG3Y5fVV1g8YjAdI1kqAJACfYaFB 13sZmsoJgpTfxEYZYCbvgcs= =Rorn -----END PGP SIGNATURE----- _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos
Rodrigo Barbosa wrote:
mode1 blocksize=512 compression=1 mode2 blocksize=1024 compression=1
Never tested it in Linux, but I've always found it better with new fast tape devices to use larger blocksizes, or variable size. Have you benchmarked the speed with blocksize=0 (variable) or 10K or 20K?
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On Sat, Aug 19, 2006 at 06:44:22PM +0200, Morten Torstensen wrote:
Rodrigo Barbosa wrote:
mode1 blocksize=512 compression=1 mode2 blocksize=1024 compression=1
Never tested it in Linux, but I've always found it better with new fast tape devices to use larger blocksizes, or variable size. Have you benchmarked the speed with blocksize=0 (variable) or 10K or 20K?
Yeah, gets much faster, but I need the cross platform compatibility I get with blocksize 512.
I actually use 32K on some DLT drives.
[]s
- -- Rodrigo Barbosa "Quid quid Latine dictum sit, altum viditur" "Be excellent to each other ..." - Bill & Ted (Wyld Stallyns)
typical output from my script is like this, if you want a copy mail me off the list....
Regards
Pete
Backup started : Thu Feb 2 22:00:01 GMT 2006
Tape Loaded: Density: DLT 35GB
The following partitions will be backed up:
Filesystem 1K-blocks Used Available Use% Mounted o
/dev/md0 1003960 280900 672060 30% / /dev/md1 497765 39905 432161 9% /boot /dev/md5 149470708 16817976 125060020 12% /home /dev/md2 1003960 16456 936504 2% /tmp /dev/md3 8064432 2577640 5077144 34% /usr /dev/md4 30233808 1322964 27375036 5% /var The total size is 21055841 Kbytes.
The uncompressed tape capacity is 36700160
*****************NEXT VOLUME***************** DUMP: Date of this level 0 dump: Thu Feb 2 22:00:02 2006 DUMP: Dumping /dev/md0 (/) to standard output DUMP: Label: none DUMP: Writing 64 Kilobyte records DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 283937 blocks. DUMP: Volume 1 started with block 1 at: Thu Feb 2 22:00:03 2006 DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: Volume 1 completed at: Thu Feb 2 22:00:53 2006 DUMP: Volume 1 283840 blocks (277.19MB) DUMP: Volume 1 took 0:00:50 DUMP: Volume 1 transfer rate: 5676 kB/s DUMP: 283840 blocks (277.19MB) DUMP: finished in 50 seconds, throughput 5676 kBytes/sec DUMP: Date of this level 0 dump: Thu Feb 2 22:00:02 2006 DUMP: Date this dump completed: Thu Feb 2 22:00:53 2006 DUMP: Average transfer rate: 5676 kB/s DUMP: DUMP IS DONE 0+19245 records in 0+19245 records out
*****************NEXT VOLUME***************** DUMP: Date of this level 0 dump: Thu Feb 2 22:00:57 2006 DUMP: Dumping /dev/md1 (/boot) to standard output DUMP: Label: none DUMP: Writing 64 Kilobyte records DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 31743 blocks. DUMP: Volume 1 started with block 1 at: Thu Feb 2 22:01:01 2006 DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: Volume 1 completed at: Thu Feb 2 22:01:06 2006 DUMP: Volume 1 31744 blocks (31.00MB) DUMP: Volume 1 took 0:00:05 DUMP: Volume 1 transfer rate: 6348 kB/s DUMP: 31744 blocks (31.00MB) DUMP: finished in 5 seconds, throughput 6348 kBytes/sec DUMP: Date of this level 0 dump: Thu Feb 2 22:00:57 2006 DUMP: Date this dump completed: Thu Feb 2 22:01:06 2006 DUMP: Average transfer rate: 6348 kB/s DUMP: DUMP IS DONE 0+1999 records in 0+1999 records out
*****************NEXT VOLUME***************** DUMP: Date of this level 0 dump: Thu Feb 2 22:01:08 2006 DUMP: Dumping /dev/md5 (/home) to standard output DUMP: Label: none DUMP: Writing 64 Kilobyte records DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 16779051 blocks. DUMP: Volume 1 started with block 1 at: Thu Feb 2 22:02:34 2006 DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: 7.34% done at 4105 kB/s, finished in 1:03 DUMP: 15.76% done at 4407 kB/s, finished in 0:53 DUMP: 24.07% done at 4487 kB/s, finished in 0:47 DUMP: 32.23% done at 4506 kB/s, finished in 0:42 DUMP: 40.55% done at 4536 kB/s, finished in 0:36 DUMP: 48.52% done at 4523 kB/s, finished in 0:31 DUMP: 56.57% done at 4520 kB/s, finished in 0:26 DUMP: 63.65% done at 4449 kB/s, finished in 0:22 DUMP: 67.91% done at 4220 kB/s, finished in 0:21 DUMP: 74.91% done at 4189 kB/s, finished in 0:16 DUMP: 83.03% done at 4221 kB/s, finished in 0:11 DUMP: 91.03% done at 4242 kB/s, finished in 0:05 DUMP: 99.17% done at 4266 kB/s, finished in 0:00 DUMP: Volume 1 completed at: Thu Feb 2 23:08:06 2006 DUMP: Volume 1 16770176 blocks (16377.12MB) DUMP: Volume 1 took 1:05:32 DUMP: Volume 1 transfer rate: 4265 kB/s DUMP: 16770176 blocks (16377.12MB) DUMP: finished in 3932 seconds, throughput 4265 kBytes/sec DUMP: Date of this level 0 dump: Thu Feb 2 22:01:08 2006 DUMP: Date this dump completed: Thu Feb 2 23:08:06 2006 DUMP: Average transfer rate: 4265 kB/s DUMP: DUMP IS DONE 13+393081 records in 13+393081 records out
*****************NEXT VOLUME***************** DUMP: Date of this level 0 dump: Thu Feb 2 23:08:09 2006 DUMP: Dumping /dev/md2 (/tmp) to standard output DUMP: Label: none DUMP: Writing 64 Kilobyte records DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 133 blocks. DUMP: Volume 1 started with block 1 at: Thu Feb 2 23:08:10 2006 DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: Volume 1 completed at: Thu Feb 2 23:08:10 2006 DUMP: Volume 1 64 blocks (0.06MB) DUMP: 64 blocks (0.06MB) DUMP: finished in less than a second DUMP: Date of this level 0 dump: Thu Feb 2 23:08:09 2006 DUMP: Date this dump completed: Thu Feb 2 23:08:10 2006 DUMP: Average transfer rate: 0 kB/s DUMP: DUMP IS DONE 0+5 records in 0+5 records out
*****************NEXT VOLUME***************** DUMP: Date of this level 0 dump: Thu Feb 2 23:08:13 2006 DUMP: Dumping /dev/md3 (/usr) to standard output DUMP: Label: none DUMP: Writing 64 Kilobyte records DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 2651090 blocks. DUMP: Volume 1 started with block 1 at: Thu Feb 2 23:08:16 2006 DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: 79.50% done at 7025 kB/s, finished in 0:01 DUMP: Volume 1 completed at: Thu Feb 2 23:14:31 2006 DUMP: Volume 1 2648704 blocks (2586.62MB) DUMP: Volume 1 took 0:06:15 DUMP: Volume 1 transfer rate: 7063 kB/s DUMP: 2648704 blocks (2586.62MB) DUMP: finished in 375 seconds, throughput 7063 kBytes/sec DUMP: Date of this level 0 dump: Thu Feb 2 23:08:13 2006 DUMP: Date this dump completed: Thu Feb 2 23:14:31 2006 DUMP: Average transfer rate: 7063 kB/s DUMP: DUMP IS DONE 4+145744 records in 4+145744 records out
*****************NEXT VOLUME***************** DUMP: Date of this level 0 dump: Thu Feb 2 23:14:33 2006 DUMP: Dumping /dev/md4 (/var) to standard output DUMP: Label: none DUMP: Writing 64 Kilobyte records DUMP: mapping (Pass I) [regular files] DUMP: mapping (Pass II) [directories] DUMP: estimated 1295663 blocks. DUMP: Volume 1 started with block 1 at: Thu Feb 2 23:14:44 2006 DUMP: dumping (Pass III) [directories] DUMP: dumping (Pass IV) [regular files] DUMP: Volume 1 completed at: Thu Feb 2 23:19:10 2006 DUMP: Volume 1 1295744 blocks (1265.38MB) DUMP: Volume 1 took 0:04:26 DUMP: Volume 1 transfer rate: 4871 kB/s DUMP: 1295744 blocks (1265.38MB) DUMP: finished in 266 seconds, throughput 4871 kBytes/sec DUMP: Date of this level 0 dump: Thu Feb 2 23:14:33 2006 DUMP: Date this dump completed: Thu Feb 2 23:19:10 2006 DUMP: Average transfer rate: 4871 kB/s DUMP: DUMP IS DONE 1+34397 records in 1+34397 records out
*****SUMMARY*****
Partition: /dev/md2 Result: Completed Ok Mounted On: /tmp
Partition: /dev/md1 Result: Completed Ok Mounted On: /boot
Partition: /dev/md4 Result: Completed Ok Mounted On: /var
Partition: /dev/md3 Result: Completed Ok Mounted On: /usr
Partition: /dev/md5 Result: Completed Ok Mounted On: /home
Partition: /dev/md0 Result: Completed Ok Mounted On: /
Paul Schoonderwoerd wrote:
On Saturday 19 August 2006 11:10, Geert Batsleer wrote:
Hello,
I want to backup my PE2800 on tape but I'm not sure how to do this.
My PE2800 has a RAID5 setup with 2 72GB SCSI disks and a Seagate DAT-2 72GB internal tape-streamer and I'm running Centos 4.3 with the latest yum updates.
I'm not sure if this tape-streamer is recognised by the OS properly because it doesn't show up along with my DVD/floppy
I also recieved with the server a copy of Galaxy Express software from Dell but from what it looks this seems to be more of a client/server backupprogram and not really functional on a standalone server.
So how does one backs up + restores a complete HD (incl. MBR) like a ghost image or something on a tape. Any good software or howto's you can suggest would be much appreciated.
kind regards,
Geert
Geert,
Have a look at the mt command. This will amongst other things show you the status of the tapedrive ( mt -f /dev/mt0 status ). /dev/mt0 is most likely the devicename for your tapedrive.
I can recommend Lone-tar from www.cactus.com. Have long time experience with it, very good and solid. Bare metal restore from two floppies (or CD) and your tape in under 2 hours. Lots of options but still easy. You can download a trial version. Costs somewhere between 400 and 500 Euro's. If that's is too much, have a look at Bacula. No personal experience with that though.
Good luck,