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
AppDataback 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/appsdirectory 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.