Clone Ubuntu and Cloudron to a smaller disk
-
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 -
@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>
). -
@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.
-
@humptydumpty yes you can upgrade cpu and ram any time. It just hard drive complex.
-
@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. -
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!