Warning: session_start(): open(/var/lib/php5/sessions/sess_0psq3jnvb0suo2t45rjhkbgbo7, O_RDWR) failed: Permission denied (13) in /var/extra/public_html/includes/common.php on line 21 How to make a backup of my database via command line?
Our site www.viart.com site is operated by latest Viart Shop 5 with default Clear design
Printer Friendly Tell a Friend

How to make a backup of my database via command line?

You can make a backup of MySQL database using mysqldump program distributed with MySQL. E.g.:

mysqldump --opt -u User -p Database > VA_Shop_Dump.sql

It should create a file VA_Shop_Dump.sql that will contain the dump of your database. Please read more about dumping MySQL database at mysql.com.

Warning: Unknown: open(/var/lib/php5/sessions/sess_0psq3jnvb0suo2t45rjhkbgbo7, O_RDWR) failed: Permission denied (13) in Unknown on line 0 Warning: Unknown: Failed to write session data (files). Please verify that the current setting of session.save_path is correct (/var/lib/php5/sessions) in Unknown on line 0