![]() |
|
Welcome to the Computer Webmaster Gaming Console Graphics Forum forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
| |||||||
| PHP PHP for some can be one of the hardest website programming codes, so do you need help on your PHP script, if it is php4, php5 or lower this is the place for you for any PHP help. |
![]() |
| | LinkBack | Thread Tools | Display Modes |
| | #1 | ||
| On Tue, 15 Jul 2003 10:55:07 +0000, Frank wrote: > For a small DB is it oK just to copy the DB to another location ? for any size DB why not dump the database to a file using mysqldump or use mysql-hotcopy? example: mysqldump databaseName > file.sql (you will probably need the -u and -p options, and maybe the -h option. Also consider the --add-drop-table option) example 2: mysqldump -host my.database.host.com -u username -p --add-drop-table \ databaseName > dumpfile.sql (note the backslash indicating that the statement is really one line) It seems like this is probably safer than copying the binary data files if only because you don;t have to worry about shutting down the server or munging the data files. i've never used mysql-hotcopy, so I can't comment on it. -- Jeffrey D. Silverman | jeffrey AT jhu DOT edu Johns Hopkins University | Baltimore, MD Website | http://www.wse.jhu.edu/newtnotes/ | |||
|
| Featured Websites | ||||
|
![]() |
| Tags: backup, mysql |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
| |
Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| MYSQL Backup & Restore using PHP ? | James | PHP | 2 | 07-01-2007 3:35 PM |
| Backup cd | Jim | Console Subjects | 1 | 06-26-2007 11:42 AM |
| Backup data on GPS? | Dave Patton | GPS | 0 | 06-25-2007 10:02 PM |
| MySQL Query Cache Not Working: MySQL 5 / Windows XP | Good Man | Database | 0 | 05-31-2007 8:46 PM |
| Is Backup on PS3 Possibly ? / Sind Backup`s auf PS3 schon möglich ? | dbox | Computer Consoles | 1 | 05-30-2007 1:49 PM |
| Featured Websites | ||||
|