Backup /usr/bin/mysqlhotcopy -u USERNAME -password=PASSWORD DATABSE /PATH/TO/DIRECTORY
/usr/bin/mysqlhotcopy -u USERNAME -password=PASSWORD DATABSE /PATH/TO/DIRECTORY
Restore /init.d/mysql stop cp -R /PATH/TO/DIRECTORY /var/lib/mysql /init.d/mysql start
/init.d/mysql stop
cp -R /PATH/TO/DIRECTORY /var/lib/mysql
/init.d/mysql start
NOTE: mysqlhotcopy works with MyIsam tables only!
If you stop the MYSQL server, that will lead to database down time...that should not be recommended in some cases.
More information about formatting options
Website powered by lovely Drupal · Microformats · XML Feed · Valid XHTML, CSS · No www.
If you stop the MYSQL server,
If you stop the MYSQL server, that will lead to database down time...that should not be recommended in some cases.
Post new comment