Compare commits

...

2 Commits

Author SHA1 Message Date
Clemens Schwaighofer
09bd6015ac Version update for modules gitea, mysql, postgresql 2024-06-07 09:12:04 +09:00
Clemens Schwaighofer
5b8b0afec2 Fix not initialized new gitea variable names 2024-06-07 09:09:02 +09:00
5 changed files with 23 additions and 20 deletions

View File

@@ -220,10 +220,10 @@ The postgres user must be added to the backup group for this, so that the basic
### PostgreSQL Config variables ### PostgreSQL Config variables
Variable | Default | Description | Variable | Default | Description |
| - | - | - | | - | - | - |
DATABASE_FULL_DUMP | | if empty, dump per databse, if set dump all in one file, if set to schema dump only schema | DATABASE_FULL_DUMP | | if empty, dump per databse, if set dump all in one file, if set to schema dump only schema |
DATABASE_USER | | overide username to connect to database | DATABASE_USER | | overide username to connect to database |
### PostgreSQL Control files ### PostgreSQL Control files
@@ -239,10 +239,10 @@ If non root ident authentication run is used, be sure that the `mysql` user is i
### MySQL Config variables ### MySQL Config variables
Variable | Default | Description | Variable | Default | Description |
| - | - | - | | - | - | - |
DATABASE_FULL_DUMP | | if empty, dump per databse, if set dump all in one file, if set to schema dump only schema | DATABASE_FULL_DUMP | | if empty, dump per databse, if set dump all in one file, if set to schema dump only schema |
MYSQL_DB_CONFIG | | override file for connection. In modern mariaDB installations it is rcommended to run the script as root or mysql user and use the ident authentication instead. | MYSQL_DB_CONFIG | | override file for connection. In modern mariaDB installations it is rcommended to run the script as root or mysql user and use the ident authentication instead. |
### MySQLControl files ### MySQLControl files
@@ -259,12 +259,13 @@ This user is neede to create the temporary dump folder and access for the git fi
### gitea Config Variables ### gitea Config Variables
Variable | Default | Description | Variable | Default | Description |
| - | - | - | | - | - | - |
GIT_USER | git | The user that runs gitea | | GIT_USER | git | The user that runs gitea |
GITEA_TMP | /tmp/gitea/ | Where the temporary dump files from the backup are stored, as user git | | GITEA_WORKING_DIR | /var/tmp/gitea/ | Where the temporary dump files from the backup are stored, as user git |
GITEA_BIN | /usr/local/bin/gitea | Where the gitea binary is located | | GITEA_TEMP_DIR | /var/tmp/ | General temporary folder |
GITEA_CONFIG | /etc/gitea/app.ini | The configuration file for gitea | | GITEA_BIN | /usr/local/bin/gitea | Where the gitea binary is located |
| GITEA_CONFIG | /etc/gitea/app.ini | The configuration file for gitea |
### gitea Control files ### gitea Control files
@@ -274,12 +275,12 @@ There are no control files for gitea backup
### zabbix Config Variables ### zabbix Config Variables
Variable | Default | Description | Variable | Default | Description |
| - | - | - | | - | - | - |
ZABBIX_DUMP | /usr/local/bin/zabbix-dump | | ZABBIX_DUMP | /usr/local/bin/zabbix-dump | |
ZABBIX_DATABASE | '' | Must be set as either psql or mysql | ZABBIX_DATABASE | '' | Must be set as either psql or mysql |
ZABBIX_CONFIG | '' | if not set uses default location | ZABBIX_CONFIG | '' | if not set uses default location |
ZABBIX_UNKNOWN_TABLES | '' | if set, changed to -f (force) | ZABBIX_UNKNOWN_TABLES | '' | if set, changed to -f (force) |
### zabbix Control files ### zabbix Control files

View File

@@ -153,9 +153,11 @@ MYSQL_DB_CONFIG="";
MYSQL_DB_CONFIG_PARAM=""; MYSQL_DB_CONFIG_PARAM="";
# gitea module # gitea module
GIT_USER=""; GIT_USER="";
GITEA_TMP=""; GITEA_WORKING_DIR="";
GITEA_TEMP_DIR="";
GITEA_BIN=""; GITEA_BIN="";
GITEA_CONFIG=""; GITEA_CONFIG="";
GITEA_EXPORT_TYPE="";
# zabbix module # zabbix module
ZABBIX_DUMP_BIN=""; ZABBIX_DUMP_BIN="";
ZABBIX_CONFIG=""; ZABBIX_CONFIG="";

View File

@@ -3,7 +3,7 @@
# Backup gitea database, all git folders and gitea settings # Backup gitea database, all git folders and gitea settings
MODULE="gitea" MODULE="gitea"
MODULE_VERSION="1.1.4"; MODULE_VERSION="1.2.0";
DIR="${BASH_SOURCE%/*}" DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi

View File

@@ -7,7 +7,7 @@
# set last edit date + time # set last edit date + time
MODULE="mysql" MODULE="mysql"
MODULE_VERSION="1.1.2"; MODULE_VERSION="1.1.3";
DIR="${BASH_SOURCE%/*}" DIR="${BASH_SOURCE%/*}"
if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi if [[ ! -d "$DIR" ]]; then DIR="$PWD"; fi

View File

@@ -7,7 +7,7 @@
# set last edit date + time # set last edit date + time
MODULE="pgsql" MODULE="pgsql"
MODULE_VERSION="1.2.2"; MODULE_VERSION="1.2.3";
DIR="${BASH_SOURCE%/*}" DIR="${BASH_SOURCE%/*}"