How to backup entire disk for Ubuntu Server quickly and easily

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP








up vote
0
down vote

favorite












I want to create an image of Ubuntu Server installation so that when I need to create a new server I can really quickly install the image on a new USB drive.



I was planning to use DD for this but my server installation is split over around 5-7 partitions. As far as I understand it I would have to create these 7 partitions at the correct size then DD each partition one by one.



I really want a solution that will backup all partitions and then create and restore all the partitions each time I want to setup a new server.



Thanks for the help.










share|improve this question

























    up vote
    0
    down vote

    favorite












    I want to create an image of Ubuntu Server installation so that when I need to create a new server I can really quickly install the image on a new USB drive.



    I was planning to use DD for this but my server installation is split over around 5-7 partitions. As far as I understand it I would have to create these 7 partitions at the correct size then DD each partition one by one.



    I really want a solution that will backup all partitions and then create and restore all the partitions each time I want to setup a new server.



    Thanks for the help.










    share|improve this question























      up vote
      0
      down vote

      favorite









      up vote
      0
      down vote

      favorite











      I want to create an image of Ubuntu Server installation so that when I need to create a new server I can really quickly install the image on a new USB drive.



      I was planning to use DD for this but my server installation is split over around 5-7 partitions. As far as I understand it I would have to create these 7 partitions at the correct size then DD each partition one by one.



      I really want a solution that will backup all partitions and then create and restore all the partitions each time I want to setup a new server.



      Thanks for the help.










      share|improve this question













      I want to create an image of Ubuntu Server installation so that when I need to create a new server I can really quickly install the image on a new USB drive.



      I was planning to use DD for this but my server installation is split over around 5-7 partitions. As far as I understand it I would have to create these 7 partitions at the correct size then DD each partition one by one.



      I really want a solution that will backup all partitions and then create and restore all the partitions each time I want to setup a new server.



      Thanks for the help.







      server partitioning backup dd disk-image






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Apr 17 at 19:28









      Roaders

      1305




      1305




















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          1
          down vote













          You can use any disk imaging utility.
          I prefer
          Clonezilla. It's a Linux based disk imaging utility. You can back up any system you want. It has many features such as cloning a partition or cloning an entire disk.






          share|improve this answer



























            up vote
            0
            down vote













            I would use dump for this task. Check this documentation to see how it works.
            You can use fdisk to automate the creation of partition scheme using a script (check command "O" for this purpose).






            share|improve this answer




















              Your Answer







              StackExchange.ready(function()
              var channelOptions =
              tags: "".split(" "),
              id: "89"
              ;
              initTagRenderer("".split(" "), "".split(" "), channelOptions);

              StackExchange.using("externalEditor", function()
              // Have to fire editor after snippets, if snippets enabled
              if (StackExchange.settings.snippets.snippetsEnabled)
              StackExchange.using("snippets", function()
              createEditor();
              );

              else
              createEditor();

              );

              function createEditor()
              StackExchange.prepareEditor(
              heartbeatType: 'answer',
              convertImagesToLinks: true,
              noModals: false,
              showLowRepImageUploadWarning: true,
              reputationToPostImages: 10,
              bindNavPrevention: true,
              postfix: "",
              onDemand: true,
              discardSelector: ".discard-answer"
              ,immediatelyShowMarkdownHelp:true
              );



              );













               

              draft saved


              draft discarded


















              StackExchange.ready(
              function ()
              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1025911%2fhow-to-backup-entire-disk-for-ubuntu-server-quickly-and-easily%23new-answer', 'question_page');

              );

              Post as a guest






























              2 Answers
              2






              active

              oldest

              votes








              2 Answers
              2






              active

              oldest

              votes









              active

              oldest

              votes






              active

              oldest

              votes








              up vote
              1
              down vote













              You can use any disk imaging utility.
              I prefer
              Clonezilla. It's a Linux based disk imaging utility. You can back up any system you want. It has many features such as cloning a partition or cloning an entire disk.






              share|improve this answer
























                up vote
                1
                down vote













                You can use any disk imaging utility.
                I prefer
                Clonezilla. It's a Linux based disk imaging utility. You can back up any system you want. It has many features such as cloning a partition or cloning an entire disk.






                share|improve this answer






















                  up vote
                  1
                  down vote










                  up vote
                  1
                  down vote









                  You can use any disk imaging utility.
                  I prefer
                  Clonezilla. It's a Linux based disk imaging utility. You can back up any system you want. It has many features such as cloning a partition or cloning an entire disk.






                  share|improve this answer












                  You can use any disk imaging utility.
                  I prefer
                  Clonezilla. It's a Linux based disk imaging utility. You can back up any system you want. It has many features such as cloning a partition or cloning an entire disk.







                  share|improve this answer












                  share|improve this answer



                  share|improve this answer










                  answered Apr 17 at 19:39









                  surjit

                  115116




                  115116






















                      up vote
                      0
                      down vote













                      I would use dump for this task. Check this documentation to see how it works.
                      You can use fdisk to automate the creation of partition scheme using a script (check command "O" for this purpose).






                      share|improve this answer
























                        up vote
                        0
                        down vote













                        I would use dump for this task. Check this documentation to see how it works.
                        You can use fdisk to automate the creation of partition scheme using a script (check command "O" for this purpose).






                        share|improve this answer






















                          up vote
                          0
                          down vote










                          up vote
                          0
                          down vote









                          I would use dump for this task. Check this documentation to see how it works.
                          You can use fdisk to automate the creation of partition scheme using a script (check command "O" for this purpose).






                          share|improve this answer












                          I would use dump for this task. Check this documentation to see how it works.
                          You can use fdisk to automate the creation of partition scheme using a script (check command "O" for this purpose).







                          share|improve this answer












                          share|improve this answer



                          share|improve this answer










                          answered Apr 17 at 21:02









                          lupp0l0

                          1213




                          1213



























                               

                              draft saved


                              draft discarded















































                               


                              draft saved


                              draft discarded














                              StackExchange.ready(
                              function ()
                              StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1025911%2fhow-to-backup-entire-disk-for-ubuntu-server-quickly-and-easily%23new-answer', 'question_page');

                              );

                              Post as a guest













































































                              Popular posts from this blog

                              pylint3 and pip3 broken

                              Missing snmpget and snmpwalk

                              How to enroll fingerprints to Ubuntu 17.10 with VFS491