1.8 KiB
1.8 KiB
Setup
Requirements
Enviroment variables
LXC_CONTAINER_NAME=?????
LXC_PROFILE=?????
LXC Setup
Web setup
curl - "https://git.limbosolutions.com/limbosolutions.com/git.limbosolutions.com/raw/branch/main/scripts/web-setup.sh" | bash
Or you can manual clone the repository and execute
From Repository
cd ~/
git clone "https://git.limbosolutions.com/limbosolutions.com/git.limbosolutions.com"
cd git.limbosolutions.com
chmod +x git.limbosolutions.com/scripts/setup.sh
./git.limbosolutions.com/scripts/setup.sh
Setup Services
- Enter portainer (default port 9443)
- Setup Credentials
- Setup Custom Docker Images
- Duplicati with SqlClient
- Image Name : duplicati-sqlclient:latest
- Docker File
- Duplicati with SqlClient
- Create Stacks:
- git.limbosolutions.com
- requirements:
- Duplicati with sqlClient
- requirements:
- git.limbosolutions.com
Restore
- Execute Setup process
2)Check Every Container is ok and running
3)Stop Every Container (including portainer, if restoring portainer is a requirement) except duplicati
4)Enter Duplicati
5)Import Backjob (if possible, if not possible next steps must be adapted)
- All Imported jobs schedules must be disabled (or disable write permissions on backup host) 6)Restore all files to original location
- If database engine is diferent do not restore db_data and check restore database before next steps 7)Start Container and check if everything is ok
Database
Only required of database data files not recovarable (example: diferent database engine from backup)
- Start Portainer container (if stopped in restore process)
- Start Database container (if stopped in restore process)
- Enter duplicati bash (by using portainer)
- Execute Command