Roll Back from an Upgrade
If, for any reason, you need to roll back to the previous version of Harbor, perform the following steps.
Stop and remove the current Harbor service if it is still running.
Remove current Harbor instance.
rm -rf harbor
Restore the older version of Harbor.
mv /my_backup_dir/harbor harbor
To restore the database, copy the data files from the backup directory to your data volume, which by default is /data/database.
Restart the Harbor service using the previous configuration.
If the previous version of Harbor was installed by a release build: