Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found
Select Git revision
  • add-action-params-in-backup
  • master
  • test-fix-cache-issues
3 results

Target

Select target project
No results found
Select Git revision
  • add-action-params-in-backup
  • master
  • test-fix-cache-issues
3 results
Show changes

Commits on Source 4

1 file
+ 5
0
Compare changes
  • Side-by-side
  • Inline

Files

+5 −0
Original line number Diff line number Diff line
# FTP host (the storage box adresses for Tetras) /!\ to put in the password manager
host="CHANGEME"
# The FTP user (or sub user for Tetras) /!\ to put in the password manager
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 \