Log in
      Register
    Remember me
Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1

TOPIC:

How to restore backups in putty? 1 year 2 months ago #8

As title says, i wish there was some sort of help about that.

Please Log in or Create an account to join the conversation.

How to restore backups in putty? 1 year 1 month ago #9

My backup scripts create 2 files: one of the java/game code, and one of the mysql data. It keeps the last 5 of these each. To restore I recommend turning off respawn in cmc and reset the mud process. The do "cd ~" togo to your home root. Then see what backups you have by using "ls -l ~/backups".
To restore just the java files do:
  1. mv CoffeeMud CoffeeMud-keep
  2. tar xvzf ~/backups/<file you want to restore>
After that wait a minute or two and your mud should be back up.

To restore the mysql it is similar. But differs if you have the backupninja script (older installs) or the new version. If you don't know what version you have  see what the sql backup files are named. If they are like "coffeemud.sql-1" in the main backup directory you have the new version.If you have a subdirectory for the mysql you have the older backupninja version. Here are the steps for that:
  1. mysql -p
  2. <enter your mysql account password> - if you don't know what this is just ask me.
  3. drop database coffeemud;
  4. create database coffeemud;
  5. use coffeemud;
  6. source <the mysql file you want to restore>
  7. quit;
Once you did those steps go back into cmc and turn respawn back on and it should start in a minute or so...

The old method is similar  but the sql files were compressed. Would prefer to migrate you to the new method so contact me to migrate your server or ask me how to update it yourself... Make sure you put the ";" at the end of the lines as I have them above.

Please Log in or Create an account to join the conversation.

How to restore backups in putty? 1 year 1 month ago #10

Please Log in or Create an account to join the conversation.

  • Page:
  • 1
Time to create page: 0.118 seconds
Powered by Kunena Forum
Save
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Read more
Functional
Tools used to give you more features when navigating on the website, this can include social sharing.
Stripe
Accept
Decline
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Unknown
Unknown
Accept
Decline
Marketing
Set of techniques which have for object the commercial strategy and in particular the market study.
Quantcast
Accept
Decline