Announcement

Collapse
No announcement yet.

Restoring DB

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • #16
    Yes, you can delete the files then reupload the originals. (Save your includes/config.php file though.)

    And what backup file do you mean?
    Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
    Change CKEditor Colors to Match Style (for 4.1.4 and above)

    Steve Machol Photography


    Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


    Comment


    • #17
      i used the admin panel and saved the backup file..the .sql file.

      Comment


      • #18
        That backup may or may not be complete. This is because backing up with a PHP script like that in the Admin CP or phpMyAdmin can result in PHP timeouts errors and an incomplete backup file.
        Steve Machol, former vBulletin Customer Support Manager (and NOT retired!)
        Change CKEditor Colors to Match Style (for 4.1.4 and above)

        Steve Machol Photography


        Mankind is the only creature smart enough to know its own history, and dumb enough to ignore it.


        Comment


        • #19
          KK...well i wiped everything off my FTP and re-uploaded what i needed..now i have to figure out where to go from there since i'm clueless lol.

          Comment


          • #20
            Does this look correct for SSH?

            mysql -u ripped85 -p universal-muscle_com_-_vb <
            /home/ripped85/Universal_Muscle/universal_muscle_com_-_vb.sql

            it says there's no file or dir...but in my ftp..that's the dir.

            Comment


            • #21
              If you can PuTTY or telnet to that EXACT directory, and find that EXACT filename, you're okay. Be aware that if you cannot issue a simple "mysql" from the command-line, you need to be in the Mysql BIN directory. I qualify all of my commands in the script above, in order that it really doesn't matter where I am.

              Comment


              • #22
                well that's not working..so how do i get in the mysql bin dir?

                Comment


                • #23
                  You need to ask your host where it is. Then you issue the command qualified with the entire path.

                  Comment


                  • #24
                    kk..thanks Dennis

                    Comment


                    • #25
                      Here's what I do:

                      1) Position myself in the actual database directory where my tables live

                      2) Issue the appropriate MySQL command, fully qualified with path

                      3) If required, add the filename, also fully qualified with path

                      Works every time.

                      Comment


                      • #26
                        Got it to work...thanks a bunch man.

                        If you're into fitness..check us out

                        www.universal-muscle.com

                        Comment


                        • #27
                          If you're into a WILD RIDE - check US out...

                          http://www.timebomb2000.com

                          Glad you got it to work man....

                          Comment

                          widgetinstance 262 (Related Topics) skipped due to lack of content & hide_module_if_empty option.
                          Working...
                          X