|
#1
|
||||
|
||||
|
Hi there..I managed to start the cron job on backing up database and then bzip2 it and save it to a folder...
command line looks like this date=`date -I`; mysqldump -uUSERNAME -pPASSWORD --all-databases > /home/USERDIR/public_html/backups/backup_$date.sql; bzip2 /home/USERDIR/public_html/backups/backup_$date.sql; rm /home/USERDIR/public_html/backups/backup_$date.sql and it works fine... Now I would like to email newly created file backup_$date.sql.bz2 to me...anyone knows how to do that from the Linux command line...?? Thanx.... |
|
#2
|
||||
|
||||
|
Abstrakt, see if this helps any: http://www.tek-tips.com/gviewthread..../54/qid/837992
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
|
|
All times are GMT -5. The time now is 10:35 AM.








