Re: offline disk redundancy
From: Mike Tancsa (mike_at_sentex.net)
Date: 12/11/03
- Previous message: Martin Jessa: "RE: webmail server"
- Maybe in reply to: Arie J. Gerszt: "offline disk redundancy"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: freebsd-isp@freebsd.org Date: Thu, 11 Dec 2003 08:08:30 -0500
We use dump and restore and have a firewire drive on our backup
server.
e.g. either "push" or "pull" the dump to your backup server
#!/bin/sh
#push a backup image to the server backupserver.example.com
#and place the gzip'd file in the path /backups/server
/sbin/dump -0uanf - / |gzip -5 | ssh -c blowfish
backupuser@backupserver.example.com dd
of=/backups/server/dump-root-l0.gz
/sbin/dump -0uanf - /usr |gzip -5 | ssh -c blowfish
backupuser@backupserver.example.com dd
of=/backups/server/dump-usr-l0.gz
/sbin/dump -0uanf - /var |gzip -5 | ssh -c blowfish
backupuser@backupserver.example.com dd
of=/backups/server/dump-var-l0.gz
To restore, plug in your new fresh drive
/stand/sysinstall
fdisk it, add the bootloader (all part of the fdisk process)
then use disklabel to partition to your liking either as big or big
enough to hold your data
mount the new drive under something like /mnt-root /mnt-usr /mnt-var
cd /mnt-root
zcar /backups/server/dump-root-l0.gz | restore -f -
....should work or if it does not take it from the pipe, gzip -d the
file first and then cd /mnt-root and restore -f
/backups/server/dump-root-l0
---Mike
On Thu, 11 Dec 2003 08:59:47 +0100, in sentex.lists.freebsd.isp you
wrote:
>Hi
>
>I hope to find the right "gurus" here for my question.
>
>I have a server (A) which has a 9 GB SCSI boot disk. I would like to backup
>this disk
>in such a manner, that I can easily put the entire content on another disk
>(upon failure)
>of the disk. This needs as I understand boot loader, mbr information copied
>too.
>
>I'd guess dd could do this. But I cannot be completely sure that the 2 disks
>are
>geometrically equal (there both 9 GB SCSI but different vendors).
>
>What procedure would you suggest for doing this?
>
>Thanks,
>Arie
>
>
>
>
>_______________________________________________
>freebsd-isp@freebsd.org mailing list
>http://lists.freebsd.org/mailman/listinfo/freebsd-isp
>To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
_______________________________________________
freebsd-isp@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-isp
To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org"
- Previous message: Martin Jessa: "RE: webmail server"
- Maybe in reply to: Arie J. Gerszt: "offline disk redundancy"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|