Cron


1. Dump baze sa datumom YYYY MM DD
/usr/local/bin/mysqldump -hserver -ukorisnicko_ime -psifra baza > baza.`/bin/date +\%Y\%m\%d`

2. Gašenje servera svaki dan nakon backup-a u 05:00
30 5 * * * /sbin/shutdown -h now
Comments