New install upgrade

This method takes a newly installed BaruwaOS 9 system that has not been configured, restores the backup from an BaruwaOS6 system and configures it as a BaruwaOS 9 system.

Upgrading

Review the release notes for BaruwaOS 9.8 and read the updated documentation before you proceed with the upgrade.

Change Management

Ensure you follow your organization change management policy and schedule downtime as well as plan how to revert.

The upgrade will take between several minutes to several hours per server. We recommend you schedule a migration window of 12 hours.

Backup your system

Take a disk level backup of your system. If using physical hardware make sure to take a disk level backup of your system using a live CD. For virtual systems shutdown the system and make a copy of the disk image or take a snapshot using your virtual systems snapshot method.

Before you proceed, ensure that you have tested reverting the image that you have taken and that the restoration works correctly.

Download the restoration creation script

Login to your system as root. Download the restoration creation script to your system as follows:

cd /root; curl -LO https://www.baruwa.com/files/create-restore.sh

Create the restoration script

Make the backup creation script executable by running the following command:

cd /root; chmod +x create-restore.sh

Now run the backup creation script which will create a restoration script which you will use on a newly installed BaruwaOS9 system to restore your data.:

cd /root; ./create-restore.sh

Copy the restoration script generated by the above command to your/another computer.

Install BaruwaOS 9

Install BaruwaOS 9 using the install ISO, do not run baruwa-setup after the installation is complete.

Execute the restoration script

Copy the restoration script created above to the /root folder on the newly installed BaruwaOS 9 server.

Make the restoration script executable:

cd /root; chmod +x baruwaos-restore-*.sh

Run the restoration script:

cd /root; ./baruwaos-restore-*.sh

Monitor the screen

Monitor the screen for prompts and issues.

If you run into any issues please contact Support

Failed upgrades

If the upgrade fails and the issue cannot be resolved at the moment, revert your system back to the previous state using your disk image backup.