Psst.. new poll here.
Psst.. new forums here.
Microsoft is blocking us again (TY IP Reputation!) so just use oauth login instead. :)
Paste
Pasted as text by bzImage ( 18 years ago )
eathena-774@charion-230:~$ ls
backup makebackup restart stop trunk
eathena-774@charion-230:~$ ls backup/
db-Mon-Jul-07-2008-07_33.sql db-Tue-Jul-08-2008-07_10.sql trunk-Thu-Jul-10-2008-07_51.tgz
db-Thu-Jul-10-2008-07_51.sql trunk-Mon-Jul-07-2008-07_33.tgz trunk-Tue-Jul-08-2008-07_10.tgz
eathena-774@charion-230:~$ cat makebackup
tar -czf ~/backup/trunk-`date '+%a-%b-%d-%G-%m_%M'`.tgz trunk
mysqldump -u foo -p, --password=bar database -h 0.0.0.0 > ~/backup/db-`date '+%a-%b-%d-%G-%m_%M'`.sql
eathena-774@charion-230:~$ crontab -l
30 12 * * * ~/makebackup >> ~/error
eathena-774@charion-230:~$
Revise this Paste