Re: offline disk redundancy

From: Mike Tancsa (mike_at_sentex.net)
Date: 12/11/03

  • Next message: ::::Carlos:::Ariel:::Canta::::::::: "djbdns"
    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"


  • Next message: ::::Carlos:::Ariel:::Canta::::::::: "djbdns"

    Relevant Pages

    • Re: Restoring Windows 2003 Server (Enterprise) system state results in continuous rebooting
      ... The primary disk on the server failed this past weekend, ... Restore procedure and results are as follows: ... boot into directory restore mode, get the .bkf file conaining the ...
      (microsoft.public.windows.server.general)
    • RE: Restore Mailbox
      ... mailbox for the users from the old disk. ... it's highly not recommended and supported to restore Exchange ... server to your production environment because ...
      (microsoft.public.windows.server.sbs)
    • Re: Cannot Boot Restored 2003 Standard Edition
      ... It was a clean install of 2003 server standard edition on ... >Was it a mirrored boot disk? ... >> Testng the tape restore process ...We used a clean ... >> selected boot disk check boot path and hardware. ...
      (microsoft.public.windows.server.general)
    • Re: Main Drive 50% full
      ... The hole xcopy thing may not work because the server is a scsi based system. ... If possible can you give me step by step directions doing a restore from ... >>> Just clone the existing disk to the new disk with one of the ... >>> many imaging tools such as Acronis, DriveImage, Ghost. ...
      (microsoft.public.windows.server.general)
    • Re: System File Corrupt
      ... >>Data Restore ... >>your server from the latest backup. ... >>Hard disk size. ... >>If you have external disk drives, open Disk Management, ...
      (microsoft.public.windows.server.sbs)