diff --git a/docs/30_Configuration/20_Database.md b/docs/30_Configuration/20_Database.md index aa37f253167185540e30eb65550fded4354d5db7..c5214cd1f020554fcd8834c666284da95d46d033 100644 --- a/docs/30_Configuration/20_Database.md +++ b/docs/30_Configuration/20_Database.md @@ -149,3 +149,18 @@ env = '' # ---------------------------------------------------------------------- ``` + +## Database types + +Since March 2024 the database backup uses profiles that can define a database locally or remote. Database services that can be connected via tcp port to a target host can be accessed remotely as well now. You can setup a backup host in your network that fetches the databases from the other hosts or a doxker container. + +The following feature table is incomplete. + +| Action \ database type | couchdb2 | mysql | postgres | sqlite | ldap | +| --- |--- |--- |--- |--- |--- | +| local database - dump | ✅ yes | ✅ yes | ✅ yes | ✅ yes | ✅ yes | +| local database - restore | ✅ yes | ✅ yes | ✅ yes | ✅ yes | ❌ no | +| local docker - dump | ✅ yes | ✅ yes | ✅ yes | ✅ yes | ❌ no | +| local docker - restore | ✅ yes | ✅ yes | ◻️ ??? | ✅ yes | ❌ no | +| remote database - dump | ✅ yes | ✅ yes | ✅ yes | ❌ no | ❌ no | +| remote database - restore | ✅ yes | ✅ yes | ◻️ ??? | ❌ no | ❌ no | diff --git a/docs/40_Usage/10_Backup.md b/docs/40_Usage/10_Backup.md index 1ac1abdaf2e8f4913283c877706859acaac8f295..3641a0e64d6dc215fa36dfbd1a81a809ed5b832f 100644 --- a/docs/40_Usage/10_Backup.md +++ b/docs/40_Usage/10_Backup.md @@ -10,7 +10,7 @@ Both of these steps can be started seperately (see next pages). ## Typical Usage * on Linux: as a non root user use sudo `sudo ./backup.sh` -* on MS Windows: start it as user `./backup.sh`. Or double click it in a file manager (e.g. Explorer). The first time it asks what program should be used to open *.sh files - select the bash.exe ornavigate to it. +* on MS Windows: start it as user `./backup.sh`. Or double click it in a file manager (e.g. Explorer). The first time it asks what program should be used to open *.sh files - select the bash.exe or navigate to it. ## Help @@ -54,3 +54,7 @@ OPTIONS: -i, --inc force incrmenental backup ``` + +## Flowchart + + diff --git a/docs/40_Usage/60_Restore_a_database.md b/docs/40_Usage/60_Restore_a_database.md index 51c278b2e1ff9377b02ef55d5c38a1f951253312..40f564514e1927c947d078c61945174e240f42ee 100644 --- a/docs/40_Usage/60_Restore_a_database.md +++ b/docs/40_Usage/60_Restore_a_database.md @@ -121,8 +121,8 @@ This you can use to write a batch importer: The syntax is -`localdump.sh restore [type] [dumpfile]` +`localdump.sh restore <type> <dumpfile>` -or +or to import to another than the original database name -`localdump.sh restore [type] [dumpfile] [target-db]` +`localdump.sh restore <type> <dumpfile> <target-db>` diff --git a/docs/images/process_backup.png b/docs/images/process_backup.png new file mode 100644 index 0000000000000000000000000000000000000000..3e4c3b287f2b5641bfbc740ae0067400e33c9a78 Binary files /dev/null and b/docs/images/process_backup.png differ