Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Nounous
backup
Commits
8f7d51ea
Commit
8f7d51ea
authored
Sep 25, 2021
by
shirenn
🌊
Browse files
increased time between archive creation and backup
parent
53024bd9
Changes
1
Hide whitespace changes
Inline
Side-by-side
templates/borg-home.j2
View file @
8f7d51ea
PATH=$PATH:/usr/sbin:/usr/bin:/usr/local/bin:/sbin:/bin:/usr/scripts/utils
{% for (user,hour,minute,second) in timestamps -%}
{{ minute }} {{ hour }} * * * root sleep {{ second }} && borgmatic -c {{ path }}/generated/config.{{ user }}.yaml --syslog-verbosity 0 init -e repokey && borgmatic -c {{ path }}/generated/config.{{ user }}.yaml --syslog-verbosity 0
{{ minute }} {{ hour }} * * * root sleep {{ second }} && borgmatic -c {{ path }}/generated/config.{{ user }}.yaml --syslog-verbosity 0 init -e repokey &&
sleep 30 &&
borgmatic -c {{ path }}/generated/config.{{ user }}.yaml --syslog-verbosity 0
{% endfor %}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment