Title says it all, also i want to ask. Will i break my CasaOS backup if i install a newer version of Ubuntu LTS? Thank you in advance.
Backup Instructions
- Backup CasaOS Application Files:
- Copy the contents of
/var/lib/casaos
:
cp -r /var/lib/casaos ~/backup/casaos
- Backup Application Data:
- Copy the contents of
/DATA/AppData
:
cp -r /DATA/AppData ~/backup/AppData
Restore Instructions
- Restore Application Data:
- Copy the backed-up
AppData
back to its original location:
sudo cp -r ~/backup/AppData/* /DATA/AppData/
- Restore CasaOS Application Files:
- Copy the backed-up CasaOS application files back to their original location:
sudo cp -r ~/backup/casaos/* /var/lib/casaos/
- Reinstall Applications:
- For each application, go to the
/var/lib/casaos/apps
directory and install each app with the following command:
casaos-cli app-management install --file="/var/lib/casaos/apps/[The rest of the path here]"
I would run through a dry test of these instructions before the main event just to make sure everything works and gets restored.
Would this work including for Immich. This includes a Postgres database. Does Immich automatically detect its a restore and connect with restored database?
1 Like