Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compose.libre.sh
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
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
Timothee Gosselin
compose.libre.sh
Commits
c856454d
Commit
c856454d
authored
9 years ago
by
Pierre Ozoux
Browse files
Options
Downloads
Patches
Plain Diff
Keeps only 2 weeks of backup
parent
f8e086b9
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
unit-files/backup-u@.service
+1
-1
1 addition, 1 deletion
unit-files/backup-u@.service
unit-files/backup@.service
+1
-1
1 addition, 1 deletion
unit-files/backup@.service
with
2 additions
and
2 deletions
unit-files/backup-u@.service
+
1
−
1
View file @
c856454d
...
...
@@ -12,7 +12,7 @@ ExecStartPre=/bin/bash -euxc ' \
--name clean-%i
\
-v /root:/root
\
indiepaas/duplicity
\
remove-older-than
4
W --force
\
remove-older-than
2
W --force
\
sftp://${BACKUP_DESTINATION}/%i'
ExecStartPre
=
/bin/bash -euxc '/data/domains/%i/BACKUP'
ExecStart
=
/bin/bash -euxc '
\
...
...
This diff is collapsed.
Click to expand it.
unit-files/backup@.service
+
1
−
1
View file @
c856454d
...
...
@@ -16,7 +16,7 @@ ExecStartPre=/bin/bash -euxc ' \
--name clean-%i
\
-v /root:/root
\
indiepaas/duplicity
\
remove-older-than
4
W --force
\
remove-older-than
2
W --force
\
sftp://${BACKUP_DESTINATION}/%i'
ExecStartPre
=
/bin/bash -euxc '
\
if [ -d /data/domains/%i/mysql ]; then
\
...
...
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