Skip to content
Snippets Groups Projects
Commit cf6b5a8b authored by Elian Loraux's avatar Elian Loraux
Browse files

Commente variable

parent 9a5f3f7c
Branches
No related tags found
1 merge request!2Template dans .env
This commit is part of merge request !2. Comments created here will be created in the context of that merge request.
# FTP host (the storage box adresses for Tetras)
host="CHANGEME" host="CHANGEME"
# The FTP user (or sub user for Tetras)
user="CHANGEME" user="CHANGEME"
# FTP password (give at creation of subuser at Tetras) /!\ to put in the password manager
ftppass="CHANGEME" ftppass="CHANGEME"
# Generetade random string /!\ to put in the password manager
encpass='CHANGEME' encpass='CHANGEME'
bckplist="/root /etc /srv /var/www /usr /lib /opt /var/opt /var/lib/docker/volumes/ /home" bckplist="/root /etc /srv /var/www /usr /lib /opt /var/opt /var/lib/docker/volumes/ /home"
...@@ -16,6 +20,7 @@ BK_FULL_FREQ="3W" # create a new full backup every... ...@@ -16,6 +20,7 @@ BK_FULL_FREQ="3W" # create a new full backup every...
BK_FULL_LIFE="2M" # delete any backup older than this BK_FULL_LIFE="2M" # delete any backup older than this
BK_KEEP_FULL="2" # How many full+inc cycle to keep BK_KEEP_FULL="2" # How many full+inc cycle to keep
# Script for backup
pre_actions(){ pre_actions(){
if [ ! -z "$(which mysql)" ]; then if [ ! -z "$(which mysql)" ]; then
mysqldump --events --single-transaction --flush-logs --all-databases --default-character-set=utf8 \ mysqldump --events --single-transaction --flush-logs --all-databases --default-character-set=utf8 \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment