At home self-hosted Cloudron - migrate to larger main disk. Advice and sanity check my thoughts.
-
Hi, I've been running my at-home self-hosted Cloudron for (a large number of) years quite happily. It's got 5-6 regular users. Basic configuration:
- Intel Nuc i7 2.70GHz, 64GB RAM
- 250GB m2 nvme drive mounted as
/
(OS, "critical" app Data Directories as defined by my users) - 1 x 500GB internal SATA ("uncritical" apps Data Directories)
- 1 x 6TB USB disk (dedicated to backups)
- 1 x 1TB USB disk (dedicated to users Nextcloud storage as mounted storage volume)
- 1 x 4TB USB disk (multimedia mounted to various apps as mounted storage volume)
I've been slowly running out of storage on
/
over the years, to the point that I've got 20-30GB free.I'm constantly tweaking but I'm loosing the battle with
platformdata - 21.59 GB
anddocker 20.48 GB
over the years. If anyone's got suggested silver bullets, I'm all ears!So I need to work out how to migrate from my 250GB
/
to something bigger.I'd appreciate advice on how to achieve this.
So far I'm gotten this:
- Move all app Data Directories to one of my large USB disks
- Do a complete backup to....my USB backup drive?
- Power down
- Swap out my nvme 250GB
/
drive and replace with larger (I'm thinking 1TB?) nvme - Install same <?> Ubuntu OS and Cloudron version?
- Do a move to another server?
I'd appreciate advice, corrections, on this please. Downtime isn't an issue per-say as it's for a small company but my users are impatient!
Thanks.
-
@ei8fdb I would keep the platformdata and docker images in the nvme. This will help performance of apps that the code and the database data has fast access.
Move all app Data Directories to one of my large USB disks
Why not move some of the apps using https://docs.cloudron.io/storage/#default-data-directory function to the 500GB disk to free up some space in the nvme? I think that will be the most minimal work.
-
-
Hi, I've been running my at-home self-hosted Cloudron for (a large number of) years quite happily. It's got 5-6 regular users. Basic configuration:
- Intel Nuc i7 2.70GHz, 64GB RAM
- 250GB m2 nvme drive mounted as
/
(OS, "critical" app Data Directories as defined by my users) - 1 x 500GB internal SATA ("uncritical" apps Data Directories)
- 1 x 6TB USB disk (dedicated to backups)
- 1 x 1TB USB disk (dedicated to users Nextcloud storage as mounted storage volume)
- 1 x 4TB USB disk (multimedia mounted to various apps as mounted storage volume)
I've been slowly running out of storage on
/
over the years, to the point that I've got 20-30GB free.I'm constantly tweaking but I'm loosing the battle with
platformdata - 21.59 GB
anddocker 20.48 GB
over the years. If anyone's got suggested silver bullets, I'm all ears!So I need to work out how to migrate from my 250GB
/
to something bigger.I'd appreciate advice on how to achieve this.
So far I'm gotten this:
- Move all app Data Directories to one of my large USB disks
- Do a complete backup to....my USB backup drive?
- Power down
- Swap out my nvme 250GB
/
drive and replace with larger (I'm thinking 1TB?) nvme - Install same <?> Ubuntu OS and Cloudron version?
- Do a move to another server?
I'd appreciate advice, corrections, on this please. Downtime isn't an issue per-say as it's for a small company but my users are impatient!
Thanks.
@ei8fdb said in At home self-hosted Cloudron - migrate to larger main disk. Advice and sanity check my thoughts.:
Install same <?> Ubuntu OS and Cloudron version?
If you clone the disk from your old nvme to the new one (and afterwards extend your partitions) they you can spare yourself the work with the fresh install and redoing your mount configuration.
-
@ei8fdb said in At home self-hosted Cloudron - migrate to larger main disk. Advice and sanity check my thoughts.:
Install same <?> Ubuntu OS and Cloudron version?
If you clone the disk from your old nvme to the new one (and afterwards extend your partitions) they you can spare yourself the work with the fresh install and redoing your mount configuration.
@fbartels what do you use for cloning linux drives? macrium reflect works perfectly for windows, but not for linux.
-
I used dd last time.
-
I used dd last time.
@necrevistonnezr cloning via commands scares the living sh*t out of me. Having a GUI is preferable.
-
@necrevistonnezr cloning via commands scares the living sh*t out of me. Having a GUI is preferable.
@humptydumpty said in At home self-hosted Cloudron - migrate to larger main disk. Advice and sanity check my thoughts.:
Having a GUI is preferable.
I would also have recommended
dd
Something I havent used in ages, but i think would satisfy the gui criteria is https://clonezilla.org/
-