| | |
Backing up a MySQL database
Please support our MySQL advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
Certain graphical elements in this forum (such as user's avatars and file attachments) are actually stored in the database instead of in the file system. Is there a way to back these up along with the database? For example, when I make an sql dump file, it obviously doesn't export these elements.
I've since got it to work via mysqldump. I've found that phpMyAdmin isn't very reliable and often times out when dumping a large database. In addition, I needed a cli command because I wanted to make it into a cron job
for automatic nightly database back-up.
Thanks for your help
for automatic nightly database back-up.Thanks for your help
i wouldnt suggest using vb's mysql dump feature either
ive used the ssh mysql dumb quite a fewq times just fine
mysqldump --opt -uUSERNAME -pPASSWORD databasname > /path/to/dump.sql
i honestly never had a problem with it
vb also has a specific table backup if you backup the full DB, anything store in the DB will be backuped as well
ive used the ssh mysql dumb quite a fewq times just fine
mysqldump --opt -uUSERNAME -pPASSWORD databasname > /path/to/dump.sql
i honestly never had a problem with it
vb also has a specific table backup if you backup the full DB, anything store in the DB will be backuped as well
RTFM ;-) From the man page linked above:
•
•
•
•
--opt Same as --add-drop-table --add-locks --all
--extended-insert --quick --lock-tables
-Ryan Hoffman
.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
.NET Specialist / Webmaster, Extended64.com.
Please do not email or PM me with support questions. Please direct them to the forums instead.
vb3 lets you store the attachments and avatars on the file system rather then database system. You might want to look into this
:cheesy: a vBulletin fan community @ vBulletin.nl :cheesy:
•
•
•
•
Originally Posted by cscgal
Certain graphical elements in this forum (such as user's avatars and file attachments) are actually stored in the database instead of in the file system.
Sorry for not notifying everyone. I forgot all about this thread. ![]() |
Similar Threads
Other Threads in the MySQL Forum
- Previous Thread: Database Design Advice
- Next Thread: phpMyAdmin and exporting data.
| Thread Tools | Search this Thread |
agplv3 alfresco amazon api artisticlicense aws bizspark breathalyzer camparingtocolumns changingprices cmg communityjournalism contentmanagement contractors copyright count court crm database design developer development distinct drupal dui ec2 email enterprise eudora facebook form foss gartner government gpl greenit groklaw groupware hiring hyperic images innerjoins insert ip joebrockmeier join journalism keyword keywords kickfire laptop law legal license licensing linux maintenance managing mariadb matchingcolumns metron micromanage microsoft mindtouch montywidenius mozilla multiple music mysql mysqlcolumnupdating mysqldatetimeordermax() mysqlindex mysqlinternalqueries mysqlquery news open-xchange opendatabasealliance opengovernment opensource oracle penelope php priceupdating query referencedesign reorderingcolumns resultset saas select sharepoint simpledb sourcecode spotify sql sugarcrm syntax techsupport thunderbird transparency virtualization






