mirror of
https://github.com/goharbor/harbor.git
synced 2024-12-25 18:18:04 +01:00
859 B
859 B
Roll Back from an Upgrade
If, for any reason, you want 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.
cd harbor docker-compose down
-
Remove current Harbor instance.
rm -rf harbor
-
Restore the older version package of Harbor.
mv /my_backup_dir/harbor harbor
-
Restore database, copy the data files from backup directory to you data volume, by default
/data/database
. -
Restart Harbor service using the previous configuration.
If previous version of Harbor was installed by a release build:cd harbor ./install.sh
NOTE: While you can roll back an upgrade to the state before you started the upgrade, Harbor does not support downgrades.