Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
compose.libre.sh
Manage
Activity
Members
Labels
Plan
Issues
18
Issue boards
Milestones
Wiki
Code
Merge requests
3
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
libre.sh
compose.libre.sh
Commits
7a65c71e
Commit
7a65c71e
authored
9 years ago
by
Pierre Ozoux
Browse files
Options
Downloads
Patches
Plain Diff
Improves backup
parent
6d7455d3
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
unit-files/b-u@.service
+4
-1
4 additions, 1 deletion
unit-files/b-u@.service
unit-files/backup-u@.service
+4
-1
4 additions, 1 deletion
unit-files/backup-u@.service
unit-files/backup@.service
+4
-1
4 additions, 1 deletion
unit-files/backup@.service
with
12 additions
and
3 deletions
unit-files/b-u@.service
+
4
−
1
View file @
7a65c71e
...
...
@@ -23,9 +23,12 @@ ExecStart=/bin/bash -euxc ' \
-e PASSPHRASE
\
-h backup.container
\
--cpu-shares=40
\
-v /dev/random:/dev/random
\
-v /dev/urandom:/dev/urandom
\
-v /root:/root
\
-v /data/domains/%i:/backup indiepaas/duplicity
\
--full-if-older-than 1W
\
--volsize 500
\
--asynchronous-upload
\
--encrypt-key ${ENCRYPT_KEY}
\
/backup
\
sftp://${BACKUP_DESTINATION}/%i'
...
...
This diff is collapsed.
Click to expand it.
unit-files/backup-u@.service
+
4
−
1
View file @
7a65c71e
...
...
@@ -24,9 +24,12 @@ ExecStart=/bin/bash -euxc ' \
-h backup.container
\
--cpu-shares=40
\
-e PASSPHRASE
\
-v /dev/random:/dev/random
\
-v /dev/urandom:/dev/urandom
\
-v /root:/root
\
-v /data/domains/%i:/backup indiepaas/duplicity
\
--full-if-older-than 1W
\
--volsize 500
\
--asynchronous-upload
\
--encrypt-key ${ENCRYPT_KEY}
\
/backup
\
sftp://${BACKUP_DESTINATION}/%i'
...
...
This diff is collapsed.
Click to expand it.
unit-files/backup@.service
+
4
−
1
View file @
7a65c71e
...
...
@@ -43,9 +43,12 @@ ExecStart=/bin/bash -euxc ' \
--cpu-shares=40
\
-e PASSPHRASE
\
-h backup.container
\
-v /dev/random:/dev/random
\
-v /dev/urandom:/dev/urandom
\
-v /root:/root
\
-v /data/domains/%i:/backup indiepaas/duplicity
\
--full-if-older-than 1W
\
--volsize 500
\
--asynchronous-upload
\
--encrypt-key ${ENCRYPT_KEY}
\
/backup
\
sftp://${BACKUP_DESTINATION}/%i'
...
...
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