Minimize migration pain when installing a new operating system


I’m running Nexcloud (installed via Snap) on an Ubuntu server.

Recently my server has been freezing randomly, so I’m considering performing a clean installation for the operating system.

The problem is that I have 2tb of data synced with Nextcloud. If I need to start the Nextcloud process from scratch, it will take me something like two weeks to get back up to date with the sync process.

Is there any way of not having to start from scratch? Can I transfer a sync database from the current installation to the future clean installation some way?

Any input on this? Many others must have faced the same struggle. Everything in computing is just a bunch of files. Isn’t there a set of Nextcloud files that can be copied over to a new installation in order to avoid syncing everything from scratch?

Hello, see

Thank you very much!