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


    Cloudron Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular

    Clone Ubuntu and Cloudron to a smaller disk

    Support
    migration
    5
    9
    258
    Loading More Posts
    • 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
      MaxMan last edited by girish

      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

      girish 1 Reply Last reply Reply Quote 0
      • girish
        girish Staff @MaxMan last edited by

        @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 Reply Quote 1
        • M
          MaxMan @girish last edited by

          @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 girish 2 Replies Last reply Reply Quote 0
          • A
            ApplegateR @MaxMan last edited by

            @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
            The Joint Chiropractic
            IT/Administrator Server/Network

            M 1 Reply Last reply Reply Quote 0
            • girish
              girish Staff @MaxMan last edited by

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

              humptydumpty 1 Reply Last reply Reply Quote 1
              • humptydumpty
                humptydumpty @girish last edited by

                @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 Reply Quote 0
                • A
                  ApplegateR @humptydumpty last edited by

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

                  Richard Applegate
                  Anthem Coffee and Tea
                  The Joint Chiropractic
                  IT/Administrator Server/Network

                  1 Reply Last reply Reply Quote 1
                  • M
                    MaxMan @ApplegateR last edited by

                    @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 Reply Quote 2
                    • robi
                      robi last edited by

                      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! 😄

                      Life of Advanced Technology

                      1 Reply Last reply Reply Quote 3
                      • First post
                        Last post
                      Powered by NodeBB