Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. Clone Ubuntu and Cloudron to a smaller disk

Clone Ubuntu and Cloudron to a smaller disk

Scheduled Pinned Locked Moved Support
migration
9 Posts 5 Posters 1.3k Views 5 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • M Offline
      M Offline
      MaxMan
      wrote on last edited by girish
      #1

      Hi,

      I couldn't find an answer to my question here so I have to ask.
      Today I'm running my Cloudron server system at a 500GB HDD and I want to clone it to a smaller, 240GB SSD.
      My Cloudron system disk today takes 59GB So it's no need for 500GB and I need a faster system disk.
      Is it possible to clone my current system disk to the smaller SSD in an easy way?
      I'm not a Linux guru so a simple explenation is appreciated. 🙂

      Regards
      MaxMan

      girishG 1 Reply Last reply
      0
      • M MaxMan

        Hi,

        I couldn't find an answer to my question here so I have to ask.
        Today I'm running my Cloudron server system at a 500GB HDD and I want to clone it to a smaller, 240GB SSD.
        My Cloudron system disk today takes 59GB So it's no need for 500GB and I need a faster system disk.
        Is it possible to clone my current system disk to the smaller SSD in an easy way?
        I'm not a Linux guru so a simple explenation is appreciated. 🙂

        Regards
        MaxMan

        girishG Do not disturb
        girishG Do not disturb
        girish
        Staff
        wrote on last edited by
        #2

        @MaxMan Yes, basically do a full backup and then restore it - https://docs.cloudron.io/backups/#move-cloudron-to-another-server .

        Please pay attention to the Cloudron version you are backing up and restoring. The version is in the file name. To restore, you have to install that specific version again (cloudron-setup --version <version>).

        M 1 Reply Last reply
        1
        • girishG girish

          @MaxMan Yes, basically do a full backup and then restore it - https://docs.cloudron.io/backups/#move-cloudron-to-another-server .

          Please pay attention to the Cloudron version you are backing up and restoring. The version is in the file name. To restore, you have to install that specific version again (cloudron-setup --version <version>).

          M Offline
          M Offline
          MaxMan
          wrote on last edited by
          #3

          @girish Thank you for your reply. That's a way to do it.
          But is it not possible to clone the entire disk including Ubuntu to the new disk?

          A girishG 2 Replies Last reply
          0
          • M MaxMan

            @girish Thank you for your reply. That's a way to do it.
            But is it not possible to clone the entire disk including Ubuntu to the new disk?

            A Offline
            A Offline
            ApplegateR
            wrote on last edited by
            #4

            @MaxMan that would be lot headaches

            Backup and restore is much easier and less headaches. So I did that last week was 250GB and it was crash my server multi time... and now 4TB on cloudron. 🙂 and that is solution.

            Reality is need 1TB. But just because I am not want my server crash again so that why we should encourage higher storage capacity.

            Richard Applegate
            Anthem Coffee and Tea
            Joe Coffee
            IT/Administrator Server/Network

            M 1 Reply Last reply
            0
            • M MaxMan

              @girish Thank you for your reply. That's a way to do it.
              But is it not possible to clone the entire disk including Ubuntu to the new disk?

              girishG Do not disturb
              girishG Do not disturb
              girish
              Staff
              wrote on last edited by
              #5

              @MaxMan Backup/restore is the best, but you can also try just cloing the disks via rsync or equivalent (including the OS).

              humptydumptyH 1 Reply Last reply
              1
              • girishG girish

                @MaxMan Backup/restore is the best, but you can also try just cloing the disks via rsync or equivalent (including the OS).

                humptydumptyH Offline
                humptydumptyH Offline
                humptydumpty
                wrote on last edited by
                #6

                @girish on a related note, is it possible to simply swap RAM sticks (16GB upgraded to 32GB) without having to do anything in terminal?

                A 1 Reply Last reply
                0
                • humptydumptyH humptydumpty

                  @girish on a related note, is it possible to simply swap RAM sticks (16GB upgraded to 32GB) without having to do anything in terminal?

                  A Offline
                  A Offline
                  ApplegateR
                  wrote on last edited by
                  #7

                  @humptydumpty yes you can upgrade cpu and ram any time. It just hard drive complex.

                  Richard Applegate
                  Anthem Coffee and Tea
                  Joe Coffee
                  IT/Administrator Server/Network

                  1 Reply Last reply
                  1
                  • A ApplegateR

                    @MaxMan that would be lot headaches

                    Backup and restore is much easier and less headaches. So I did that last week was 250GB and it was crash my server multi time... and now 4TB on cloudron. 🙂 and that is solution.

                    Reality is need 1TB. But just because I am not want my server crash again so that why we should encourage higher storage capacity.

                    M Offline
                    M Offline
                    MaxMan
                    wrote on last edited by
                    #8

                    @ApplegateR @girish Thank you for your replies.
                    I have a second 4TB HDD for backups and Nextcloud and other things that take more space so I think a systemdisk at 240GB will be enough when it's only 59GB used of my 500GB disk now. I will consider a backup and restore if that is the best solution. 🙂

                    1 Reply Last reply
                    2
                    • robiR Offline
                      robiR Offline
                      robi
                      wrote on last edited by
                      #9

                      Backup/Restore process is actually better than a disk clone as it allows for one to remove the older cruft, upgrade the OS, switch hardware, etc.. yet all the Apps and Cloudron instance settings work as originally backed up.

                      Very handy and a seriously difficult thing to do, hence the many disk imaging and other schemes to try and replicate a nicely configured system, which quickly become out of date, being so static.

                      Cloudron FTW! 😄

                      Conscious tech

                      1 Reply Last reply
                      3
                      Reply
                      • Reply as topic
                      Log in to reply
                      • Oldest to Newest
                      • Newest to Oldest
                      • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Bookmarks
                        • Search