The hourly back up has stopped working on my machine. Have Ubuntu 20 and Koha 20. I tried the Crontab -e but it did not work either. I have no idea how I lost it but would like to put it back. Br Raphael Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for Windows 10
Raphael Meyer <rpm143@live.com> wrote:
The hourly back up has stopped working on my machine. Have Ubuntu 20 and Koha 20. I tried the Crontab -e but it did not work either. I have no idea how I lost it but would like to put it back.
Br Raphael Which instructions did you use to set it up? When did you last know it worked and can you find any messages in any logs from that time? Do you still have some package called something like "cron" installed on there? Maybe systemd-cron? Hope that helps, -- MJR http://mjr.towers.org.uk/ Member of http://www.software.coop/ (but this email is my personal view only)
Hi Raphael, you could try running the command manually to see if there are any errors first and try to see if that gives you a clue. Also, this doesn't look like you are using the standard tools to backup Koha that are part of the packages. You can see the standard setup in the last line here: https://git.koha-community.org/Koha-community/Koha/src/branch/master/debian/... Some more information can be found here: https://wiki.koha-community.org/wiki/Commands_provided_by_the_Debian_package... Hope this helps, Katrin On 05.02.21 00:53, Raphael Meyer wrote:
I used this command:
*/60 * * * * mysqldump -ukoha_library -p... Koha_library | xz > /home/koha/backup/koha_library.sql.xz
Last it worked was on Sunday March 31 at 6 am my time. Has not worked since.
On 04.02.21 17:10, MJ Ray wrote:
Raphael Meyer <rpm143@live.com> wrote:
The hourly back up has stopped working on my machine. Have Ubuntu 20 and Koha 20. I tried the Crontab -e but it did not work either. I have no idea how I lost it but would like to put it back. Br Raphael
Which instructions did you use to set it up?
When did you last know it worked and can you find any messages in any logs from that time?
Do you still have some package called something like "cron" installed on there? Maybe systemd-cron?
Hope that helps,
Hi Raphael, You might try to replace xy command by gzip. For some unknown reason, my backups never worked with xz. Maybe database size? We have 150K records. Regards, Alvaro |----------------------------------------------------------------------------------------| Stay safe / Cuídate/ Reste sécurisé *7* Switch off as you go / Apaga lo que no usas / Débranchez au fur et à mesure. *q *Recycle always / Recicla siempre / Recyclez toujours P Print only if absolutely necessary / Imprime solo si es necesario / Imprimez seulement si nécessaire Le sam. 6 févr. 2021 à 09:47, Katrin Fischer <katrin.fischer.83@web.de> a écrit :
Hi Raphael,
you could try running the command manually to see if there are any errors first and try to see if that gives you a clue.
Also, this doesn't look like you are using the standard tools to backup Koha that are part of the packages. You can see the standard setup in the last line here:
https://git.koha-community.org/Koha-community/Koha/src/branch/master/debian/...
Some more information can be found here:
https://wiki.koha-community.org/wiki/Commands_provided_by_the_Debian_package...
Hope this helps,
Katrin
On 05.02.21 00:53, Raphael Meyer wrote:
I used this command:
*/60 * * * * mysqldump -ukoha_library -p... Koha_library | xz > /home/koha/backup/koha_library.sql.xz
Last it worked was on Sunday March 31 at 6 am my time. Has not worked since.
On 04.02.21 17:10, MJ Ray wrote:
Raphael Meyer <rpm143@live.com> wrote:
The hourly back up has stopped working on my machine. Have Ubuntu 20 and Koha 20. I tried the Crontab -e but it did not work either. I have no idea how I lost it but would like to put it back. Br Raphael
Which instructions did you use to set it up?
When did you last know it worked and can you find any messages in any logs from that time?
Do you still have some package called something like "cron" installed on there? Maybe systemd-cron?
Hope that helps,
Koha mailing list http://koha-community.org Koha@lists.katipo.co.nz Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
participants (4)
-
Alvaro Cornejo -
Katrin Fischer -
MJ Ray -
Raphael Meyer