Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Web Hosting


Advertisements:




SuperbHosting.net & Arvixe.com have generously sponsored dedicated servers and web hosting to ensure a reliable and scalable dedicated hosting solution for BigResource.com.







Backup BIG MySQL Database


What is the recommended method of backing up big MySQL database of size 2 GB ?

Quote:

# mysqldump gallery > gallery.sql
mysqldump: Got error: 1017: Can't find file: './gallery/10tir_user_group.frm' (errno: 24) when using LOCK TABLES
#

I checked the table, it is fine, but can't do the backup.

Quote:

mysql> check table 10tir_user_group;
+-------------------------+-------+----------+----------+
| Table | Op | Msg_type | Msg_text |
+-------------------------+-------+----------+----------+
| gallery.10tir_user_group | check | status | OK |
+-------------------------+-------+----------+----------+
1 row in set (0.07 sec)

mysql>


View Complete Thread with Replies

Sponsored Links:

Related Forum Messages:
CPanel Automated Backup Is NOT Backuping One Big Database
i recently find out that I don;t have an database backup for one of my biggest websites.

The database I'm talking about has 228 tables (198.6 MB)

In the backup file I only get this :

-- MySQL dump 10.11
--
-- Host: localhost Database: lxxxxxxa_sXXXl
-- ------------------------------------------------------
-- Server version5.0.45-community-log

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

The other databases I have tried are all ok, but none is this big. Is there any size limit ?

I have uploaded an printscreen with the setings of my WHM.

View Replies!   View Related
Big Mysql Database 4gb
i been trying to move my server.. But mysql database is quite big and restoring takes ages 10 12 hours.. is there anyway i can make it quick because database dump takes 10 15mins but restore takes 12hours and it should be a way to make that quick

View Replies!   View Related
Backup Of MySQL Database To A Remote Server
I have a 1GB MySQL database (compresses down to 300MB) and would like an automated method of backing it up to a remote server. Both accounts are shared hosting accounts (if it matters, both are running CPanel, no shell access on either).

View Replies!   View Related
What's The Easy Way To Backup Websites/mysql Database
Due to LayeredTech price hike, i'm going to cancel my server with LT within two weeks.

Does anyone know an easy way to backup all the domians and mysql database in FreeBSD/DirectAdmin? Is there a built in feature in DirectAdmin that can do that?

View Replies!   View Related
Importing Big Database
I currently own a gaming website, and it's database has about 70mb.

I'm changing to a VPS, so today i put the site under maintenance, uploaded the files to the new server, changed the DNS of the domain, and when i was uploading the database (Using PhpMyAdmin), everything looked fine until after like 1:20 hs, the window changed from the "uploading" status to the login page of plesk.

So i though "It must've finished"... but no, i logged in, and the database was empty, so apparently it didn't work.

Maybe because my internet connection isn't very good (640k) and a timeout occured?, idon't know.. but the thing is,

Is there a different way to upload the database that it isn't phpmyadmin?, or using it but uploading by small pieces, so this doesn't happen again... something like that.

I'd really appreciate different options, and as soon as possible, since i don't want to have my website offline for so long

View Replies!   View Related
How To Deal With Big SQL Backup
we have a dedicated server licent who host a big forum with 1G big SQL size
Dual Xeon
3G ram
SCSI 10K RPM main drive
Cpanel server and cpanel auto backuo

load is always under 2 and ram is MORE than enough.

everytimes auto backup run, his forum HANGS due to large size of SQL at least 10 minutes.

Issue is that he targets at 2 very different time zone , he expects NO downtime/HANGS at all

how to deal with this big SQL dumping issue?

View Replies!   View Related
Big Site Needs Separate Server For Mysql
my vbulletin site has been growing significantly and the server has crashed many times due to the high loads. My server guys tell me that mysql is hitting loads of 30 (not sure what that means) and i need to get another server for mysql alone.

They recommend that I shld go for raid-5 for the mysql server due to performance and redundancy. Thus if i was to upgrade now, I shld just go straight for a raid-5. Is that true?

View Replies!   View Related
I Moved Mysql From /var To /backup/mysql, Mysql Is No Longer Working
Since my /var partition is full, so I moved /var/lib/mysql to /backup/mysql/.

Seems all the files are copied and I changed my.cnf reboot mysql, but all the web sites using db is not working anymore..

View Replies!   View Related
How To Backup Database Via Cron
i need to backup database,that not that much huge a small database,now iam useing cpanel server so iam takeing via phpmyadmin manually,now i need to set cron to take backup at every 12hours and save it on specified path,

View Replies!   View Related
How To Backup Database (cpanel Server)
I have a crucial database (mysql).

My server is running cpanel. It has daily backup but it is not enough as it is running a lot of transaction daily.

I would like to run the backup to backup database only every 30 mins using cronjob. How do i do that in crontab. I have root access to the server.

View Replies!   View Related
Phpmyadmin Large Database Backup
I have a large database 800MB and the export zip & gzip option does not work on this size database export.

works fine on upto 30MB table sizes, does phpmyadmin not support large table
export/backup using gzip or zip?

If its the case that i should be able to use the zip options then what would i look for to put this problem right?

if its the case large table databases are not supported what could i use instead to backup the database tables with compression (gzip)?

View Replies!   View Related
Remote Database Backup Service
I have a tiny MySQL database (10MB) and I'm looking for some remote backup service. Someting that will backup the database and let me recover it if the host is in trouble.

I strongly prefer something simple and fully automated.

View Replies!   View Related
Backup For My Database To Move From Hostmonster But I Can’t
I just want to move from hostmonster to dedicated server

the problem is the database(vbulletin) size about 1 GB

when I try make backup for it through ssh it arraive to 723 MB then stop becuase it have highload on hostmonster system they not allowed more than 20% cpu

I take to them they tell me can’t do any thing I please them make backup but they say we can’t do any thing for you and I’m sure they can log by root and do it with ssh on less than 1 minute

how can I make backup or if there r way to move the database to the new server

2 day ago and I can’t move to the new server

View Replies!   View Related
Is CPanel Backup/database The Same As Phpmyadmin/export/.gz
Is the same type of file created through cPanel, going into backup then downloading the database backup as going through cPanel/phpmyadmin to export then saving the file as gzipped?

View Replies!   View Related
How Big Is A Slashdotting? How About A Big Media Mention?
We're trying to figure out....

1) What's the peak concurrent connections one can expect from a Slashdotting?

2) How about from a mention on a popular TV show (say, Oprah)?

3) What about a link from a major news site (CNN front page, for instance)?

Has anyone here experienced any of these? What did the traffic look like?

View Replies!   View Related
Restoring SQL Database Backup To Invision Power Board
I moved my site to a new host and am running IPB 1.3 forums,

I have a 62meg sql backup to restore.

I have tried using BIGDUMP.php as max upload is over 52megs.
No Joy!

I also tried zipping the file, got it down to 9megs,

It wont complete the upload in PhpMyAdmin?

I have not had to restore a back up before, and am really struggling.

View Replies!   View Related
Rsync Mysql Database
how can i setup rsync to backup just mysql database (if possible) every 6 hours or so.

View Replies!   View Related
Rebuilding MySQL Database
I have are the .frm, .MYD, .MYI how do I restore/rebuild the database?

View Replies!   View Related
Reloading A Mysql Database
My server admin linked me to this:

[url]

I'm using a cpanel based server, but I can't get this to work.

It requires I be in a directory I figure (this step isnt included)

so I type cd /home/username/public_html/

And then i follow the commands. but it doesnt work.

Basically i need to take a mysql database that I uploaded to my directory, and load it back into a database. :@

View Replies!   View Related
Get Mysql Database From Shell
I have a problem getting mysql to start, so I am planning to setup a new server and move all the mysql databases to a new server.

The problem is I normally get mysql databases when mysql is running by using mysql command lines. Now that I cannot start mysql, I cannot use that method.

Is there a mysql directory that contains all the mysql databases for me to tar it up and untar it on a different? If there is a directory that contains all the mysql databases, do I need to exclude some files/folders so it doesnt conflict with the files/folders on my new mysql server?

View Replies!   View Related
Repait All Database In Mysql
we have whm in my server

in whm is one part to name

Repair Mysql Database

this is only for one database

how may i repaired all database in my server?

View Replies!   View Related
How To Protect Mysql Database
what steps procedures need to be done to keep your database as safe as possible from the hackers. Anyway to be alert when someone got into your db and try to dump, alter your database?

View Replies!   View Related
MySQL With Huge Database
ways to improve the database performance in the situation when I have to modify a large table (several million rows), by e.g. adding a column. Currently this would take several hours which is too slow. The bottleneck is disk I/O. I am considering either partitioning the table over several innodb files on several disks, or going to a RAID-5 or RAID-10, it this will give me better write performance.

The database is 130GB large, and the problem table (which I make period changes to) is the largest table on the server. I cannot have downtime of 3 hours each time I make a change and adding blank fields (to be used later, when a new field is needed) is not an option.

Each time I add a column, the cpu goes into high (80%) io wait state for about 3 hours.

I have a hack which would allow me to split the large table into multiple smaller tables based on some criteria (for example, forumID or such). Here are a couple of things but would like to know which is best, and am open to new ideas. The ideas so far:

1. Split the table into 3 or 5 smaller tables each on it's own disk. The disk IO would then not be so bad, and it might only take 1 hour to perform the table change. But this might not work because the changes to the database (as in adding a column) might be serial, meaning only 1 disk is being written to at a time. (Then again, maybe it will work if I launch 3 different scripts, one to update each table at once).

2. Do RAID 5 or 10, and have 3 or 5 disks. This again might not help at all because of the above issue with MySQL writing serially.

I am using latest MySQL 5.0.45 with InnoDB engine on Debian etch Linux

View Replies!   View Related
Best Server For Mysql Database
Which do you recommend for mysql databases alone? around 200 - 300 connections anytime

I have heard that mySQL alone can be better on 64bit environment. How about the hardware?

View Replies!   View Related
MySQL Database Server In Webmin
I forgot the Password for the MySQL Database Server , How to recover it or change it without Known the old one ..

i have access to the SSH and webmin..

View Replies!   View Related
Optimize All Tables In A MySQL Database
how exactly it helps?

mysqlcheck -o -u...

Like what it does to "optimize" them? Does it really help?

View Replies!   View Related
How To Secure Access To MySQL Database
What can I do to secure access to my MySQL database to stop it from getting compromised from hackers?

Is there any way I can restrict access to the MySQL database to my IP only?

The database is for an IPB 2.3.4 forum and the username/password are stored in a conf_global.php file that is CHMODed 0444.

View Replies!   View Related
Move My Mysql Database To Another Server
Is it possible to move my mysql database to another server?

View Replies!   View Related
Which Host For Website With MySQL Database
have just had a website created for me where I can store my photos on. It uses JSP + MySQL for the databse which stores the photo IDs, photo location etc. I want to get it up and running on the net but have no idea how to do this!

View Replies!   View Related
How To Reset Mysql Database Password
i just wanna reset my wordpress database password

View Replies!   View Related
Managed Database Hosting (Mysql)
if there are any recommendations on managed database hosting services. This will be used for a fairly large project running on Mysql DB. Due to the size and complexity of the database a lot of resources are being used, so I prefer to find a company which specializes in dB hosting.

View Replies!   View Related
Mysql Command To Make A New Database
what is SSH command - to make a new database with database name as ( ra_ra ) with database user as ( ra_ra ) and database password as 'ra'

View Replies!   View Related
Does Anyone Have Snort Logging To A Mysql Database
Does anyone have snort logging to a mysql database?

I am trying to get that to work so I can view the alerts with BASE.

I followed the instructions but snort is not logging to the DB,

View Replies!   View Related
How To Back Up Columns In Mysql Database
I have a mysql database, and what I wanna do is to back up specific columns only. For example, I have a table with 2 columns:

City, Zipcode

How can I do that with mysqldump?

View Replies!   View Related
[mySQL] Copy Colomn From 1 Database To Another
I'm trying to copy the contents of a column from 1 database to another. I need to do this as the contents in the current database have got messed up after an upgrade.

The DB structure

table forum_msgs
It contains a column called "topic_id".

Basically I need to copy over the topic ID fields from the "old" database into the "current" database into table forum_msg replacing any values that are currently in the column "topic_id"

I tried this but it doesn't seem to work correctly. Any ideas how it should be done?

insert current.forum_msgs
( topic_id
)
select topic_id
from old.forum_msgs

View Replies!   View Related
Alterntive Way For Downloading A MySQL Database
A friend of mine has an account with a hosting company that recently became unstable and he wants to move his site away.

I downloaded the files, but it now seems impossible to download the databases in the conventional ways.

I tried downloading them using their control panel (vDeck) but I get an error "File Permissions do not allow to download backup".

Then I tried to export it using PHPMyAdmin but the files either doesn't download at all, or it downloads inccomplete with the last lines having something like the following:

Cannot modify header information - headers already sent by (output started at /usr/local/apache/htdocs/phpMyAdmin-2.6.3/export.php:121

I tried to contact their support but they have no clue.

Is there any way to download the database? I thought of creating a script that would manually itterate through the tables and create an export fie similar to what phpMyAdmin creates. I don't know if this is possible, and I hope there are better ways.

View Replies!   View Related
MySQL Cannot Connect To Database Via PHP
I got this weird problem with my VPS which has MySQL 4.1.22 running on it. Everything works fine for sometime and then out of a sudden, it stop recognizing the mysql users and refused to allow my PHP scripts to access the database.

It seems that I needed to restart mySQL server to resolve the issue. Then out of the blues, the same problem occurs.

I am running Cpanel on a VPS and there isn't any overloading as the database access is pretty light on my 512mb VPS.

I contacted my web host about the issue and it seems like all they do is to restart the mySQL. This cannot be a solution as it happens at least once or twice a day depending on how soon I could catch the problem.

All the time this problem occurs, the MYSQL Server is still active and working. I can even access it through PHPMyAdmin but not through the scripts.

I just added an hourly crontab so as to restart the MySQL server as a stop gap.

View Replies!   View Related
Mysql Database Locations In Cpanel
Does anyone know the default location for databases created through cpanel?

View Replies!   View Related
Exporting Mysql Database From Helm
i have a fren who wants to transfer a hosting ..for a site made in php and hosted in helm...windows server...

the site uses mysql datbase but i could see no database in the database setting(of helm)...and says no database created..

in host i could see server.mysql in php database config files

i want to export database...to linux server

i have not used helm much..

where actually is database located and how can it be exported?

View Replies!   View Related
Fetch Admin Password From MySQL Database
I have forgot the admin password for one of our application. All the users and passwords are stored in database table "users", is there any way I can get the password from the database.. any MySQL query that will fetch the admin password from that database table.

View Replies!   View Related
Simplest Way To Auto Cron A Mysql Database
I use a php script usually but that does not work for large files.

I have a 130mb mysql database on linux using cPanel.
What is the easiest way to set up say a monthly cron to back this up to the root server?

View Replies!   View Related
Apache: Load Vhosts From MySQL Database
if it was possible to load vhosts from a MySQL database and the only solutions i found didnt work for me. Im running Apache on Windows. Has anyone seen anything that would work with Windows? The only alternative i can think of is to read the database info using PHP and output it to a vhosts config file. I dont want to do that though because it means restarting the server to load the new config and i hear that a lot of vhosts slows the server down

View Replies!   View Related
Mysql Database Dump (150mb) Utf8
recently I had problems with backing up my ~150mb database through PHP. And I know some people are backing their databases to a dump file through terminal.

My database contains UTF-8 and other characters. I have tried simply dumping with mysqldump but I doesn't seem to work, when restoring all the characters are messed up.

Is there any command to tell that the database is UTF-8?

View Replies!   View Related
MySQL Database Service Stops From Running
I have a phpBB forum, which uses MySQl database.

For the last two months the forum has been going down every couple of days because the database service has been continuously stoped running on the server with no reason.

What can cause such a frequent database failures?

Can someone attack the forum/database/server in a way that will cause the above problem?

(there is a good reason I consider this possibility very seriously)

How can I prevent futher database failures?

View Replies!   View Related
How Do I Change Mass Database Names In Mysql
How do I change mass database names in mysql?

I have hundred of database names with "$" in the name? How do I change all instances of "$" with "_"?

View Replies!   View Related
Restoring MySQL Database From Raw Files
Is there a way to restore a MySQL database from the files located in /var/lib/mysql?

Unfortunately I don't have a mysqldump of the databases, just the raw files from an image of the server.

View Replies!   View Related
Hosting For MYSQL Database With 400 Plus Threads
I have a website that runs off a mysql database.

The first month it hit in excess of 400 threads.

Would anyone know whats the cheapest alternative to run a a site this size. Would a VPS account handle it?

View Replies!   View Related
Copying (MySQL) Database Without Panel Access.
A customer would like to move his hosting from another host to me. But the other host does not want to cooperate and give me access to the panel or files. Threw the customer I did get the ftp information, and within the config file I have the database username and password.

How is it possible to copy the database, without having the hosting panel access?

View Replies!   View Related
How To Protect MySQL Database From My SQL Injection Attacks
some body attacking on my server and changing my users profile name /password or any other information so How To Protect MySQL Database From My SQL Injection Attacks? i have dedicate server i provide free wap sites to people with wildcard dns system and i have ConfigServer Security & Firewall installed.

View Replies!   View Related
How To Import Mysql Dump File To Database By SSH
How to import mysql dump file to database by SSH?

How to import mysql database host to other host database by SSH?

View Replies!   View Related
Move Mysql Database To Antoher Client(same Server)
how to do this in myphpadmin

also got cpanel if it helps.

View Replies!   View Related
Trying To Import Mysql Database Via CLI In Ubuntu Linux
I have ubuntu 6 server version running.

I am trying to import a database I have however I cannot get it working for the last 2 hours!

I have tried various commands like logging into mysql entering the "use" command to use a database and then variations of the "source" command but my db.sql file doesn't run.

Also tried the full command

mysql -uroot -pMYPASS MYDBNAME < /var/www/site/db.sql

Neither seem to do anything.

PHPMYADMIN shows no database tables at all.

Running mySQL 5.

View Replies!   View Related
Is It Possible To Make Joomla Connect To An External Mysql Database Server
Is it possible to make Joomla connect to an external mysql database server?

Meaning, the database for Joomla won't be local, but on another server.

Will it work by just entering the mysql hostname, user and password in Joomla's config?

What issues might arose by doing this?

View Replies!   View Related
Copyright © 2005-08 www.BigResource.com, All rights reserved