PVC Migration Script
This guide uses the HeavyBullets Migration Guide for PVCs so credit for this one goes there, also to Zasx from the TrueCharts team for the steps used to create these guides/scripts
Note: This will not be sufficient for apps that have a PostgreSQL database that were updated to the new CNPG common, Please see the more extensive guide for those apps. As well the script will exclude apps with database pods so those will have to be done manually or using our more extensive PVC Migration Guide with Postgres support guide.
Note: Make sure you have a Heavyscript backup and a replication of this backup.
Really make sure you have a backup/replication ready in case something goes wrong or you delete a PVC too quickly
Anything that doesn't have a database should succeed. Here's an incomplete list of tested apps:
This script does not work with Prometheus, so please follow our more extensive PVC Migration Guide with Postgres support guide.
First things first create a directory inside a dataset that's NOT
ix-applications, for this guide I used
Heavybullets Migration Git Repo
git clone https://github.com/Heavybullets8/TT-Migration.git
- Go to the
TT-Migrationsub-directory and excute
a. Choose Application (for example `filebrowser`)
b. Once that's done press `x` and continue to the next screen and install the new Application
c. Watch the app finish
![New App Finish](img/New-App-Finish.png)
Enjoy new app
If an application fails to stop the NEW application, and throws any errors. You can attempt to run the script again, with:
bash migrate.sh -s
which will skip to the step immediately after deleting the old application.