kopia lustrzana https://github.com/Ovski4/docker-borgbackup-cron
Fixes the command
rodzic
ffbd6ed285
commit
8567b17869
|
@ -29,4 +29,4 @@ COPY entrypoint.sh /var/entrypoint.sh
|
|||
RUN chmod +x /var/entrypoint.sh
|
||||
ENTRYPOINT [ "/var/entrypoint.sh" ]
|
||||
|
||||
CMD ["cron" "-f"]
|
||||
CMD ["cron", "-f"]
|
||||
|
|
|
@ -3,6 +3,7 @@ Borg backup cron
|
|||
|
||||
A docker image to backup periodically a folder using borg.
|
||||
Additionnally this image can dump a mysql database in the same folder beforehand.
|
||||
You can also run the cron job directly by overriding the command with `/var/backup_script.sh`
|
||||
|
||||
Build
|
||||
-----
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
#!/bin/bash
|
||||
bash set -eo pipefail
|
||||
set -eo pipefail
|
||||
shopt -s nullglob
|
||||
|
||||
# Add known hosts
|
||||
if [[ -n "$SSH_KNOWN_HOSTS" ]]; then
|
||||
|
|
Ładowanie…
Reference in New Issue