Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
BorgBackup
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
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
Ansible
Roles
BorgBackup
Commits
ef3297bf
Commit
ef3297bf
authored
2 years ago
by
jurgenhaas
Browse files
Options
Downloads
Patches
Plain Diff
Bug fixes
parent
ab9f48e1
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tasks/app.yml
+3
-2
3 additions, 2 deletions
tasks/app.yml
templates/app.yaml
+2
-0
2 additions, 0 deletions
templates/app.yaml
with
5 additions
and
2 deletions
tasks/app.yml
+
3
−
2
View file @
ef3297bf
...
...
@@ -27,8 +27,9 @@
owner
:
root
group
:
root
mode
:
0600
notify
:
-
Init Borg App
# @todo at this point, docker compose project is not running yet.
#notify:
# - Init Borg App
-
name
:
SSH Config
copy
:
...
...
This diff is collapsed.
Click to expand it.
templates/app.yaml
+
2
−
0
View file @
ef3297bf
...
...
@@ -30,6 +30,7 @@ consistency:
-
repository
-
archives
hooks
:
{
%
if application_db is defined %
}
mysql_databases
:
-
name
:
'
{{
application_db
}}'
hostname
:
db
...
...
@@ -37,6 +38,7 @@ hooks:
username
:
'
{{
application_db
}}'
password
:
'
{{
application_db
}}'
options
:
'
--skip-comments
--no-tablespaces'
{
%
endif %
}
before_backup
:
-
echo "`date` - Starting backup"
after_backup
:
...
...
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