Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
duplicity-ftp-backup
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NoCloud
duplicity-ftp-backup
Commits
cf6b5a8b
Commit
cf6b5a8b
authored
7 months ago
by
Elian Loraux
Browse files
Options
Downloads
Patches
Plain Diff
Commente variable
parent
9a5f3f7c
Branches
Branches containing commit
No related tags found
1 merge request
!2
Template dans .env
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
.env.sample
+5
-0
5 additions, 0 deletions
.env.sample
with
5 additions
and
0 deletions
.env.sample
+
5
−
0
View file @
cf6b5a8b
# 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 \
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment