Kashub's Code Barn - "Automatic database backup"

podświetlone jako asp (dodał(a) MySQL via CronTab @ 2009-07-15 09:00:00)

Podświetl ten kod w:
Ostatnio dodane:
Losowe wpisy:
#!/bin/bash
cd /home/USERNAME/backups/
mkdir mysql
suffix=$(date +%y%m%d)
mysqldump --opt -u SQLUSERNAME -pSQLPASSWORD -h SQLHOSTNAME SQLBDNME > mysql/backup.$suffix.sql
tar -zcf archives/mysql_backup.$suffix.tar mysql/*
rm -r mysql/
| Produkty bezglutenowe | | Opony motocyklowe | | Best Hair Straighteners UK 2025 | | Best Toasters UK 2025 | | Bamboo Socks UK | | Jewelry & Accessories UK | | Perfumes Shop UK | | Christmas Socks UK | | Beanie Hats Uk Shop | | Tyres UK |