Re: Help..can I use DUMP? my drive is dying - VINUM ?

From: Rob (listone_at_deathbeforedecaf.net)
Date: 05/31/03

  • Next message: Antoine Jacoutot: "backslash in crontab"
    To: <keith@smmc.qld.edu.au>
    Date: Sat, 31 May 2003 16:42:05 +0930
    
    

    If you have ssh(1) installed on both machines, do something like this

      dump 0f - /filesystem | ssh user@remotemachine 'gzip >
    filesystem.dump.gz'

    on the system to be backed up.

    That should write a compressed dump to the remote machine, assuming that
    * the local filesystem isn't changing (log updates etc)
    * the remote system has enough diskspace

    Then you can rebuild the sick machine, and when it's up & running do

      cd /filesystem
      ssh user@remotemachine 'gzcat filesystem.dump.gz' | restore rf -

    to bring the files back. All these commands should be run as root.

    I'm afraid someone else will need to help you with the vinum stuff....

    ----- Original Message -----
    From: <keith@smmc.qld.edu.au>
    To: <freebsd-questions@freebsd.org>
    Sent: Saturday, May 31, 2003 1:09 PM
    Subject: Help..can I use DUMP? my drive is dying - VINUM ?

    > -------- Original Message --------
    > Subject: Help..can I use DUMP? my drive is dying - VINUM ?
    > From: <keith@smmc.qld.edu.au>
    > Date: Sat, May 31, 2003 1:38 pm
    > To: <freebsd-question@freebsd.org>
    >
    > Hi all (second posting try)
    > I have a one and only drive dying on a server (OK - to use vinum is to
    > be smarter than I am). Anyways I have unsuccessfully tried to image
    the
    > drive using some util that is recommended (?) Can I dump the slices to
    a
    > remote machine, install 2 new drives follow the tute to bootstrap
    vinum
    > then restore the remote saved slices to the various slice/partitions?
    > In a bind(4) here! anyone clue me in please?
    > Thanks
    > Keith
    >
    >
    >
    > _______________________________________________
    > freebsd-questions@freebsd.org mailing list
    > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    > To unsubscribe, send any mail to
    "freebsd-questions-unsubscribe@freebsd.org"
    >

    _______________________________________________
    freebsd-questions@freebsd.org mailing list
    http://lists.freebsd.org/mailman/listinfo/freebsd-questions
    To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"


  • Next message: Antoine Jacoutot: "backslash in crontab"

    Relevant Pages

    • Re: disk space
      ... > partitions will allow you to restore the data from the other partitions. ... "dump" and "restore" did, and since dump systems and dump tapes became ... able to handle much, much larger drives, and operating systems became ... installation media only knew how to install a fixed size file system as ...
      (comp.os.linux.setup)
    • Problems installing 5.1A on XP1000
      ... The drive I'm attempting an install to is an IBM ... 640 MBytes of System Memory ... isa0 at pci0 ... DUMP: Warning: no disk available for dump. ...
      (Tru64-UNIX-Managers)
    • Re: Database synchronisation
      ... the office during workday are available at the extranet the following day. ... you dump the database to a text file ... This way you can compress ... and it will execute much faster on the remote machine. ...
      (comp.lang.php)
    • SUMMARY: Problems installing 5.1A on XP1000
      ... The drive I'm attempting an install to is an IBM ... 640 MBytes of System Memory ... isa0 at pci0 ... DUMP: Warning: no disk available for dump. ...
      (Tru64-UNIX-Managers)
    • Re: small office backup hardware advice
      ... then maybe you should get some USB connected hard drives. ... each current file system that has important data to those USB drives. ... dump 0aLf /pcabak/usr.bak /usr ... you don't need all the extra partitions and filesystems. ...
      (freebsd-questions)