Hi:
I found an incorrect behavior in Elkarbackup.
I am using the docker image:
elkarbackup:
image: elkarbackup/elkarbackup:2.1.0
I am backing up a moodle directory and one file doesn't have permissions for my elkarbackup user.
The Daily backups fail as they should. But Weekly and Monthly backups don't fail and give a STATUS OK
example:
| 2023-05-28 10:43:39 | INFO | StatusReport | OK |
|---|
I usually don't check the backups and they seem to be ok when
they actually are not because the file without permissions is not
copied and the resulting message is OK.
eu-moodle-f446dc4d6-skkw9:~$ cd /bitnami/moodle
eu-moodle-f446dc4d6-skkw9:/bitnami/moodle$ ls -lh config*
-rw-rw-r-- 1 bin root 58.2K May 25 2021
config-dist.php
-rw-rw---- 1 bin root 982 May 25 2021 config.php
The executed commands seem to be the same but the cfg file might
be different and I don't know where to look for it. Is seems to be
a tmp file generated elsewhere.
Running "/usr/bin/rsnapshot" -c "/app/tmp/rsnapshot.41_81.cfg"
Weekly 2>&1
Running "/usr/bin/rsnapshot" -c "/app/tmp/rsnapshot.41_81.cfg" Daily 2>&1
Best regards,
Iker De Echaniz.