আমার ব্লগ বন্ধ.....
please modify as per your requirement..
0 4 * * * /usr/bin/mysqldump --opt -u root –p rootpass db_name | gzip > /opt/ DB_Backup/database_name.sql.gz | /bin/echo "Your MySql DB backup successfully taken" | /bin/mail -s"MySQL DB network_complaint Backup Successfully Completed" [email protected] -c [email protected]
In this crontab example, the MySQL database dump shell script... বাকিটুকু পড়ুন
For the security reason it is important to secure your root files from outer world as a webmaster. Just follow below steps..
Open .htaccess file and edit as below
AuthType Basic
AuthName “Password Required”
AuthUserFile C:xampphtdocs Application_folder_name.htpasswd
Require user neptu ... বাকিটুকু পড়ুন