Disaster recovery with HDD upgrade

NethServer Version: 7.9.2009
Module: backup
I have a small family Nethserver at home (local ldap, no AD, with mainly SOGo and Nextcloud), which I wanted to upgrade the drive to get more space. I reinstalled Nethserver on the new drive, then restore configuration and data as explained in the documentation. But I got no user nor application. I went back to my old drive.
Any idea how to troubleshoot smartly?

I need more Input!

Would you please elaborate a bit more your setup and the procedure that you followed?

My steps:

  • My config is nethserver with automatic updates and mainly SOGo, Nextcloud and Mattermost. My users are on local ldap, not AD
  • Push update my config and data backups. I have the default configuration for both, with backup of data on a external local drive with Rsync and excluding only one external drive mounted on Nextcloud
  • Download my config backup file on my laptop
  • Change the internal drive to the new blank one and install Nethserver from the ISO, then update everything
  • When ready, I upload my config backup file to /var/lib/nethserver/backup/backup-config.tar.xz and run the restore with the option --skip-network to keep my new network settings (the name of the card has changed)
  • I then restore the data using Cockpit dialog
    I reboot and I get a running Nethserver but without my users nor my applications.
    Is that clear?
    Thank you

Is better, thank you, but it’s also quite strange the “network interface name”, because… if the installation is on the same hardware. And maybe I won’t select the option for skipping the network

IMVHO, I’d run the restore following these steps

  • full backup the older disk
  • Install the newer/bigger disk, completely empty
  • Install 7.9 into the newer/bigger disk
  • ignore completely the network configuration and the restore, keep the server into DHCP configuration currently (unless the red or the green interfaces need a static IP address), otherwhise, ensure to realize a network configuration that allows you to connect to internet and connect via TCP from other computer for uploading the first configuration backup (not yet)
  • run yum update from the console. If a new kernel came down, don’t change network configuration and reboot
  • upload your config backup, than restore it completely
  • once restored the configuration, you should have your backup configuration available. Therefore, from cockpit, you should be able to start full data restore
  • once data has been restored, a reboot may be necessary…


I changed the hard drive from 500GB to 1TB on my test server, few years ago, this is my experience.

hoping that this “other” way may help you someway…
You may need two more ISOs and a way to boot from them. I use Ventoy…(but don’t use it for NethServer!!! )

I like your suggestion, I will try it when I have time. Thanks!

Please, keep community posted with your result and comments. Maybe can help someone else in the future :wink: