/etc/cron.daily/gnumed-server is in gnumed-server 21.15-1.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | #!/bin/sh
# care for daily backup of GNUmed database
# This script only saves plain data without table structure etc.
# Normally you want to store the whole database
# DATA=/usr/sbin/gm-backup_data
# Backup of data and table structure
DATABASE=/usr/sbin/gm-backup_database
# Compress and sign backup
ZIPSIGN=/usr/sbin/gm-zip+sign_backups
# if [ -x "$DATA" ] ; then
# $DATA
# fi
if [ -x "$DATABASE" ] ; then
$DATABASE
fi
if [ -x "$ZIPSIGN" ] ; then
$ZIPSIGN
fi
|