feat: currently in production
This commit is contained in:
86
README.md
86
README.md
@@ -1,26 +1,60 @@
|
||||
# cloud.limbosolutions.com
|
||||
|
||||
Welcome to public repository of [https://cloud.limbosolutions.com](https://cloud.limbosolutions.com)
|
||||
|
||||
Using [NextCloud](https://nextcloud.com/)
|
||||
|
||||
## Setup
|
||||
|
||||
- Docker
|
||||
_Currently hosted on an ubuntu lxc container with docker and portainer [+ information](https://git.limbosolutions.com/kb/lxc)._
|
||||
|
||||
- [NextCloud Custom Docker Image](docker/Dockerfile) with smbclient extensions
|
||||
- [Duplicati Image with mySql client](https://git.limbosolutions.com/kb/duplicati/src/branch/main/docker/mysqlclient/README.md)
|
||||
|
||||
[Docker Compose File](docker-compose.yaml)
|
||||
|
||||
[Check](doc/setup.md) for setup information.
|
||||
|
||||
## NextCloud CLI
|
||||
|
||||
``` bash
|
||||
|
||||
#force file scan for specfic user
|
||||
docker exec --user www-data nextcloud php occ files:scan USERNAME
|
||||
|
||||
```
|
||||
# cloud.limbosolutions.com
|
||||
|
||||
Welcome to public repository of [https://cloud.limbosolutions.com](https://cloud.limbosolutions.com)
|
||||
|
||||
Using [NextCloud](https://nextcloud.com/)
|
||||
|
||||
|
||||
|
||||
## Requirements
|
||||
|
||||
- Docker
|
||||
- Docker Compose
|
||||
- Portainer (optional)
|
||||
- [NextCloud Custom Docker Image](docker/Dockerfile) with smbclient extensions
|
||||
- [Duplicati Image with mySql client](https://git.limbosolutions.com/kb/duplicati/src/branch/main/docker/mysqlclient/README.md)
|
||||
|
||||
|
||||
|
||||
## NextCloud CLI
|
||||
|
||||
``` bash
|
||||
|
||||
#force file scan for specfic user
|
||||
docker exec --user www-data nextcloud php occ files:scan USERNAME
|
||||
|
||||
```
|
||||
|
||||
|
||||
## Setup
|
||||
|
||||
[Docker Compose File](docker/ocker-compose.yaml)
|
||||
|
||||
## Backup and Restore
|
||||
|
||||
Using [custom duplicati image](https://git.limbosolutions.com/kb/duplicati) to daily backups files and databases. Every action (backup/restore) creates an measurement in influxdb for reporting and alerts.
|
||||
|
||||
|
||||
### Duplicati - Default Options
|
||||
|
||||
Notify Influxdb.
|
||||
|
||||
--run-script-after=duplicati-influxdb-notify
|
||||
|
||||
### Duplicati - wiki job Options
|
||||
|
||||
Create db dump.
|
||||
|
||||
run-script-before-required:duplicati-mysql-backup
|
||||
|
||||
### Restore Database
|
||||
|
||||
```bash
|
||||
#select a file to import
|
||||
ls /db-dumps
|
||||
#select a file to import
|
||||
DB_FILE= "file name to import"
|
||||
mysql --host db -uroot -p ${MYSQL_DATABASE} < /db-dumps/$DB_FILE
|
||||
#root password (root password is the enviromnent variable ${MYSQL_ROOT_PASSWORD})
|
||||
```
|
||||
|
||||
|
||||
Reference in New Issue
Block a user