Newbie - probs with wget + cpanel

Discussion in 'Site & Server Administration' started by fracmo, Aug 19, 2008.

  1. #1
    If I quickly explain what im doing, maybe somebody can help me...as Im totally stuck.

    Ok, my website is getting 1300 hits per day (590 unique) but its on a shared server and it keeps throwing up errors. So i got a dedicated host and Im having problems getting setup.

    I just had just the linux os installed, found out about putty and logged in as root.

    Then i used this command:

    wget --mirror ftp://username:password@server_ip/mydomain.com

    Which worked great and i managed to get the data over fine. I dont know how to check using putty, but i fired up cuteftp on my pc and setup and account using the same details.

    I found it difficult using the command line, so got cpanel installed. I lost my data, so used the same command again but i cant get via cuteftp. I logged into my cpanel - but couldnt find the data? I was told i need to setup an ftp account within WHM...which i did...but was only left with a few folders (ie html, www. etc). Last time the wget command automatically put it all in a folder with the ip of my old host.

    Any ideas? My server was down and the guys need to put in a new board and cpu...plus a reinstall. So i will need to transfer the data back over...would love to get this all working as the shared host is throwing up errors and im afriad im gonna loose customers.

    Sorry about it being so long winded.

    Cheer :)
     
    fracmo, Aug 19, 2008 IP
  2. DnHype

    DnHype Active Member

    Messages:
    1,011
    Likes Received:
    24
    Best Answers:
    0
    Trophy Points:
    80
    #2
    if both side are still up and use cpanel there's an easy way to trasnfer your data.
    else i can help you on other way let me know if you need more assistance
     
    DnHype, Aug 19, 2008 IP
  3. fracmo

    fracmo Banned

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Hey, thanks for getting back so quickly DnHype . My old host doesnt support anything bar ftp...I found a transfer thing in cpanel on the new host - but it requries some special secure login if i remember correctly. My host is currently down at the moment...should be up in a day or so.

    Any ideas?
     
    fracmo, Aug 19, 2008 IP
  4. fracmo

    fracmo Banned

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    anybody??? :-/
     
    fracmo, Aug 20, 2008 IP
  5. IwhiC

    IwhiC Peon

    Messages:
    2,594
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    0
    #5
    If your current host is down with our data you will not be able to get it until they are back up and running..
     
    IwhiC, Aug 20, 2008 IP
  6. fracmo

    fracmo Banned

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Yeah, they are still rebuilding the server...just wanted to see if anybody had an idea before it came back up. I feel im driving customers away cause of my $hit server (current shared host).

    Do you know what I mean in my explanation a couple of posts up?
     
    fracmo, Aug 21, 2008 IP
  7. kailash

    kailash Well-Known Member

    Messages:
    1,248
    Likes Received:
    42
    Best Answers:
    0
    Trophy Points:
    190
    #7
    If your old host has cPanel then you can transfer your entire account including database and emails using WHM. Go to WHM -> Transfer account with account password. Enter your old host's IP address, your username and password.

    Kailash
     
    kailash, Aug 21, 2008 IP
  8. fracmo

    fracmo Banned

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    Nope, old host is a shared host plan...i asked their tech staff and they told me they only support ftp download. Thats why a guy from a forum thats good with linux suggested the wget command.

    Any other ideas :D
     
    fracmo, Aug 21, 2008 IP
  9. IwhiC

    IwhiC Peon

    Messages:
    2,594
    Likes Received:
    61
    Best Answers:
    0
    Trophy Points:
    0
    #9
    IwhiC, Aug 21, 2008 IP
  10. fracmo

    fracmo Banned

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #10
    Worked a treat, thanks for all the help folks! Now I need to install the scipts and *hope* that it all works like it did before!

    Thanks again
     
    fracmo, Aug 27, 2008 IP
  11. BigCeege

    BigCeege Peon

    Messages:
    71
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #11
    Let us know if you need any help :)
     
    BigCeege, Aug 28, 2008 IP
  12. fracmo

    fracmo Banned

    Messages:
    59
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #12
    Hahaha, you will regret that :D

    Im using the mfhs 1.2...my old shared host is rubbish...no cpanel...only allows an ftp connect (so can use the backup feature in my dedicateds cpanel).

    I exported the sql db on my old host

    created a sql db and user on my new host

    imported the sql data

    reinstalled the script on my new host, created a new sql db and imported the data in

    the script seems to work, but i have no users??? when i click on "list members" i get this:

    Zend� 2000112002�1�15416�85721�xù Ÿ2 í}ko\Ç‘è@æ ix÷þ¸`QÞHÔé÷9²È@¶äÄXÇv$y¹I gɉ†3¼ó°¬]Üÿ~ûqý¬Ó$íì~Ø QHvîªê®êêªêj5ïëéåxýüùâõû~‘ËÝ~¾¿¼|4Ï7ͦ=ðâ„¢äJ5òÔÌ3ê%f^Ÿ-VõÜìÏÜÖrôÍwož=ÿÃ7ß}hø§äàNËÎ"è¤ùúŽúèNh£f¯ùMû[;¼oûÞÁA)ˆ‹éìíxºÛÕ—W»zþ©ÓÓÌ?†Mg; €ŒþØÌùÇÁ‹t‡¨Ý]C·¹*ßFŸŽŠ;mŸî’[®Ï+s¬ð)Ô'(Ôœ9âs¡,‹ùbSÏvæðñÌcMç—‹Õñ~[oîÛÂ}=ÈGëýN.Å¡»ÉúòCïX†­Z PiÉÐ]`oû@!35¦*²YV&XFGr˜ð9v€JÚïÍ3í¯¤š¨­1ªÑÿiŽ+áTW–­‹;½Þ~׏ŒÚ‘Û^•d=÷5Ëëg_~û¢YÍÌ ¹J-ô­_¸­nGÊú‘09ˆXW¨'ÐÏŸMÞ™d«'¹l¤VÉÖšä9â¸ñHø´D ¦­×âcÿ”¤½y2CôœÂJ㓤

    Does not look good....i dont even know where i went wrong?

    Any ideas fokls???
     
    fracmo, Aug 29, 2008 IP