Articles Comments

{ Berbagi, Menulis, Dan Mengajar } Ilmu… » 7. Operating System » Script auto backup MYSQL Harian

Script auto backup MYSQL Harian

#!/bin/bash
tgl=`date “+%d%m%Y”`;
mysqldump -u root -pokedeh 0335RmKfc > $tgl.0335RmKfc.sql
#scp -P24 $tgl.0335RmCityKaraoke.sql dms@192.168.1.10:/home/aplikas-pajakkotaprobolinggo/databases/
scp $tgl.0335RmKfc.sql dms@192.168.1.10:/home/aplikas-pajakkotaprobolinggo/databases/

Filed under: 7. Operating System

Leave a Reply

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>