Quiet output and run later and only once per day
This commit is contained in:
parent
fa413ff7ee
commit
fb2e06cc64
2 changed files with 2 additions and 2 deletions
|
@ -15,7 +15,7 @@ spec:
|
|||
command: ["bash"]
|
||||
securityContext:
|
||||
privileged: true
|
||||
args: ["-c", "mkdir /backup_storage; rclone mount --daemon source:$(SOURCE_BUCKET) /backup_storage; duplicity /backup_storage rclone://destination:$(DESTINATION_BUCKET) --no-encryption --full-if-older-than 1M; umount /backup_storage"]
|
||||
args: ["-c", "mkdir /backup_storage; rclone mount -q --daemon source:$(SOURCE_BUCKET) /backup_storage; duplicity /backup_storage rclone://destination:$(DESTINATION_BUCKET) --no-encryption --full-if-older-than 1M; umount /backup_storage"]
|
||||
env:
|
||||
- name: RCLONE_CONFIG_DESTINATION_ACL
|
||||
value: private
|
||||
|
|
|
@ -3,7 +3,7 @@ kind: CronJob
|
|||
metadata:
|
||||
name: backup
|
||||
spec:
|
||||
schedule: "*/5 * * * *"
|
||||
schedule: "15 02 * * *"
|
||||
jobTemplate:
|
||||
spec:
|
||||
template:
|
||||
|
|
Loading…
Add table
Reference in a new issue