Jump to content
View in the app

A better way to browse. Learn more.

The Uniform Server Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Proper Way To Backup MySQL

Featured Replies

If I stopped the MySQL Service, then copy the entire /data folder in /usr/local/mysql, is it the right thing to do?

 

This action is assuming that I have the same exact version of mysql in your uniserver :)

Not really, although you may luck out. There are many apps that put path-related info in the DB, such as WordPress. While these can often be repaired with phpMyAdmin edits, it's still not the "right" way. There are two much more portable methods.

 

Since version 5.3-Nano there is a Database Backup function built in to The Uniform Server. Look at the Wiki page http://wiki.uniformserver.com/index.php/5....Database_Backup for details. It create a text-based SQL file. You can also use phpMyAdmin to do a DB Extract to create the same type of SQL file. Both methods have the option to compress this text file in order to save space (as I recall).

 

Since the output is a text file, you have the option to edit the text fields of the problem records as required. This can also allow you to change from InnoDB structure to MyISAM, if need be.

 

Regards,

BobS

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.