Results 1 to 5 of 5

Thread: Cloning a server

  1. #1
    Join Date
    Mar 2012
    Location
    Washington
    Beans
    43
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Question Cloning a server

    What is the best way to clone a server? Files and OS, everything.

  2. #2
    Join Date
    Nov 2008
    Beans
    Hidden!

    Re: Cloning a server

    clonezilla

    won't do raid

  3. #3
    Join Date
    Mar 2012
    Location
    Washington
    Beans
    43
    Distro
    Ubuntu 12.10 Quantal Quetzal

    Re: Cloning a server

    I've been reading that dd command is the way to go. How do you dd over SSH?

  4. #4
    Join Date
    Nov 2006
    Location
    Belgium
    Beans
    3,025
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Cloning a server

    http://serverfault.com/questions/515...and-ssh-tunnel

    the simpliest invocation would be something like
    Code:
    dd if=/dev/sdX bs=1M | ssh root@dstMachine " dd of=/dev/sdY bs=1M"
    but be careful what you wish for.



    Depending on what you think "best" means, a clonezilla life CD might be best.

  5. #5
    Join Date
    Sep 2011
    Location
    Behind you!
    Beans
    1,690
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: Cloning a server

    Cloning? As in taking one server and mass-produce a bunch of identical servers...I don't know. I have always been of the mindset to create each new server from scratch.

    If you are just talking about backup and restore to a backup server in the event of a disaster, I use a combination of LVM + LVM Snapshot + FSArchiver. I have a click-for-click guide in my sig that covers it.

    LHammonds

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •