Roundcube Community Forum

News and Announcements => General Discussion => Topic started by: sikwel on July 11, 2011, 03:45:43 AM

Title: Problem With MySql Backup
Post by: sikwel on July 11, 2011, 03:45:43 AM
Hello,
i have a problem, with roundcube DB.
Mysql service is Broken, and i dont' get the Backup with dump

i save the Folder /var/lib/mysql/roundcube

but when i copy this backup on new server
mysql say roundcube.xxxxx not exist

on the folder i have 8 tables .frm
no .MYD or MYI

ps.
sorry for my english
Title: Problem With MySql Backup
Post by: JohnDoh on July 11, 2011, 04:25:14 AM
afaik you can't back mysql by simply copying the data files, you should use mysqldump
Title: Problem With MySql Backup
Post by: sikwel on July 11, 2011, 12:08:21 PM
Ok, But the old server have a problem on the service MySql
so, i can't do mysqldump because the service can't Start !

but i can read the folder /var/lib/mysql/roundcube
i dont take this for replace data in the new db ????
Title: Problem With MySql Backup
Post by: JohnDoh on July 15, 2011, 05:42:50 AM
i think you are better off asking the mysql community about this, as i said i've never tried it but i dont think you can just move the files like that.
Title: Problem With MySql Backup
Post by: adumpaul on November 01, 2011, 03:59:20 AM
To backup your MySQL database using PHPMyAdmin just follow a couple of steps:
    * Open phpMyAdmin.
    * Select your database by clicking the database name in the list on the left of the screen.
    * Click the Export link. This should bring up a new screen that says View dump of database (or something similar).
    * In the Export area, click the Select All link to choose all of the tables in your database.
    * In the SQL options area, click the right options.
    * Click on the Save as file option and the corresponding compression option and then click the 'Go' button. A dialog box should appear prompting you to save the file locally.