I’m planning to migrate my yunohost instance to a new vps.
The plan is:
- backup all the system and apps to an s3 bucket mounted on /home/yunohost.backups/archives
- install debian 10, followed by yunohost on the new vps, and mount the bucket on /home/yunohost.backup/archives
- Instead of postinstall, restore the backup
My questions are:
- The admin password will be the same of the old server?
- The hostname of the machine is the domain, do i have to set up the hostname or will be set up with the restore?
- Do i have to set the ip of the new vps on my dns zone before or after the restore?
- During the backup/restore what happens to emails received? Will i miss some emails?
- Should i shutdown the old server during restore procedure?
- I have ipv6 set up on my server, do i have to configure again on the new server or the backup has this config?
1.don’t remember my original installation, but doesn’t the admin password set with postinstall?
As the backup/restore part, i think what you suggest is the right method, backup, then shutdown the old server, restore and then update dns
thanks for your answer
Regarding Nextcloud, does yunohost backup create command backup nextcloud app and data?
Because i don’t see nextcloud on the running output and the size of backup is 135GB of data and i have almost 285GB of space used on my vps
I recall Nextcloud is backed up without data, by default. That would explain the difference. I am looking for the switch to include data, but I can’t find it.
Ok, so i will backup all my nextcloud data on my computer, migrate all the system and apps and then upload again nextcloud data.
So, i’m trying to restore, and it gives me “Error: YunoHost is not correctly installed. Please run ‘yunohost tools postinstall’”
I don’t understand what wrong.
ups, wrong command