somewhere in... blog
x
ফোনেটিক ইউনিজয় বিজয়

আমার পরিচয়

কেমন চল্‌েছ !!!!!

আমার পরিসংখ্যান

আমার সকল পোস্ট (ক্রমানুসারে)

আমার ব্লগ বন্ধ...../:)

লিখেছেন েনপ্‌টু, ০২ রা এপ্রিল, ২০১৩ সন্ধ্যা ৭:৫৯
০ টি মন্তব্য      ৫৪ বার পঠিত     ০ like!

Taking backup of MySQL database through email form crontab.

লিখেছেন েনপ্‌টু, ০১ লা এপ্রিল, ২০১৩ রাত ১২:১৯

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... বাকিটুকু পড়ুন

০ টি মন্তব্য      ৫৮ বার পঠিত     ০ like!

Blocking your application root files access from outer world and accessible for particular user.

লিখেছেন েনপ্‌টু, ৩১ শে মার্চ, ২০১৩ সন্ধ্যা ৬:৩৫

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 ... বাকিটুকু পড়ুন

০ টি মন্তব্য      ৫১ বার পঠিত     ০ like!
আরো পোস্ট লোড করুন
ব্লগটি ১৬৩ বার দেখা হয়েছে

আমার পোস্টে সাম্প্রতিক মন্তব্য

আমার করা সাম্প্রতিক মন্তব্য

আমার প্রিয় পোস্ট

আমার পোস্ট আর্কাইভ