Skip to content
Snippets Groups Projects

Template dans .env

Merged Elian Loraux requested to merge 2-doc-variable into master
1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline
+ 5
0
# FTP host (the storage box adresses for Tetras)
host="CHANGEME"
# The FTP user (or sub user for Tetras)
user="CHANGEME"
# FTP password (give at creation of subuser at Tetras) /!\ to put in the password manager
ftppass="CHANGEME"
# Generetade random string /!\ to put in the password manager
encpass='CHANGEME'
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...
BK_FULL_LIFE="2M" # delete any backup older than this
BK_KEEP_FULL="2" # How many full+inc cycle to keep
# Script for backup
pre_actions(){
if [ ! -z "$(which mysql)" ]; then
mysqldump --events --single-transaction --flush-logs --all-databases --default-character-set=utf8 \
Loading