Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 19
  1. #1
    Member
    Join Date
    Nov 2006
    Posts
    7

    Default backup and restore site in cpanel, boxtrapper

    Hi,

    I am a newbie.

    Can someone guide me to a detailed protocol on how to backup and restore website files when migrating to a new server?

    I tried it and it won't work, i.e. uploading the files to the new server won't "take" even though I follow protocols I "googled".

    A major concern is to maintain my "whitelist" in boxtrapper. Will they be backed up in a full cpanel backup?

    Thanks in advance,

    Peter

  2. #2
    Member
    Join Date
    Nov 2005
    Posts
    147

    Default

    Hey Peter,

    I'm guessing you have root access to both your old and new server.

    Steps on backing up accounts
    -------------------------------------

    This guide is guessing that you have already made backups of each account you want to transfer to the new server by running the command

    Code:
    /scripts/cpbackup
    in SSH. Depending on your server specs and how many accounts you want to transfer this could take from 5 min to 4 hours. I'm also guessing that you have enabled backups in root WHM and have setup a folder to backup your file.

    This guide I'll be using the folder /backup/ to where my files all my accounts have been backup to. (The full path will look something like /backups/cpbackup/daily)

    Lets get started!!!

    ===
    1) In SSH cd to backup folder

    Code:
    root@server [/]# cd /backup/cpbackup/
    2) Now this is not where your files are located, but rather in a folder called daily, weekly or monthly. Your current backups should be in daily (daily folder is /backups/cpbackup/daily)

    3) We are now going to tar the whole daily folder

    Code:
    root@server [/backups/cpbackup]# tar -zcvf backup_daily_folder.tar.gz daily
    (Depending on how many accounts or your sever specs this could take anywhere from 5 min to 4 hours, your server may be "laggy" during this time)

    4) Once you have that done you should see a file named backup_daily_folder.tar.gz in /backups/cpbackup . We are now going to move this file to your new server!

    Code:
    root@server [/backups/cpbackup]# scp -c arcfour backup_daily_folder.tar.gz root@SERVERIP:/home/
    After you enter this, you will be asked for root's password and hit enter when your done. This will then trafser this file to that server.

    Once your done, type

    Code:
    root@server [/backups/cpbackup]# rm -rf backup_daily_folder.tar.gz
    (removes the tar file on your old server)

    ON YOUR NEW SERVER

    5) Go to your /home/ folder

    Code:
    root@NEWserver [/]# cd /home/
    and tpye this

    Code:
    root@NEWserver [/home]# tar -xvfz backup_daily_folder.tar.gz
    (This will unpack the tar)

    Once again lets delete the tar file

    Code:
    root@NEWserver [/home]# rm -rf backup_daily_folder.tar.gz
    Now in your new server logon to root WHM and click on the

    Backup > Restore a Full Backup/cpmove file

    and use the information on that screen to use the accounts on the server.

    If you have any questions post them below!

    From,
    Adam
    Last edited by HelloAdam; 11-13-2006 at 12:31 AM.
    cPanel Customer since November 2005
    ---
    - 7 Servers running cPanel/WHM

    Tutorials I have made:
    - Transfer accounts from one server to another

  3. #3
    Member
    Join Date
    Nov 2006
    Posts
    7

    Default Thank you, Adam!

    I appreciate your detailed protocol!

    Unfortunately, I do NOT have root access. I am having 68 accounts in a reseller account on the old server. Those need to be moved to a new server. I heard about cpanel back-ups.
    I looked at cpanel backups and played around with them, but was unable to restore the accounts on the new server.

    Maybe I was being too ambitious wanting to do this migration on my own, and might just need to delegate it (for pay) to the new host.

    If you have any comments, I am open, but realize that it might be over my head.

    Thanks anyhow,

    Peter

  4. #4
    Member
    Join Date
    Nov 2005
    Posts
    147

    Default

    Hey Peter,

    Well since you don't have root access which sucks, you can still do this for free (your self) but takes a lot of time.

    One question, on your new server, do you have the option to restore accounts in WHM?

    From,
    Adam
    cPanel Customer since November 2005
    ---
    - 7 Servers running cPanel/WHM

    Tutorials I have made:
    - Transfer accounts from one server to another

  5. #5
    Member
    Join Date
    Nov 2006
    Posts
    7

    Default Adam, thanks for now!

    I appreciate the time you took to engage in this topic.

    I lack the knowledge, and hopefully, once my life slows down a bit, I consider looking for a host where I have more options to do the things you are suggesting.

    For now, THANK YOU VERY MUCH for your helpful input!!!

    Peter

  6. #6
    Member
    Join Date
    Nov 2005
    Posts
    147

    Default

    Hey,

    heh no problem

    From,
    Adam

    P.S. You may want to check out Server Magagement if you get an VPS or Dedicated server...
    cPanel Customer since November 2005
    ---
    - 7 Servers running cPanel/WHM

    Tutorials I have made:
    - Transfer accounts from one server to another

  7. #7
    Member
    Join Date
    Nov 2006
    Posts
    7

    Default appreciation

    Adam,

    I am a bit "under the gun" (physically moving) AND really appreciate your reference to Eastsolid.com. Indeed VERY interesting, and when I grow up ;-)........I really want to take more control of my hosting needs.

    I have dabbled in hosting more like a hobby, then got a few people enrolled to host with me, mostly pro bono, and then realized that there are a great number of upstream hosting providers out there who are clearly not aligned with my values! Live and learn, so thanks again,

    Peter

  8. #8
    Member
    Join Date
    Jul 2002
    Posts
    303

    Default

    thats is so stupid... i need to transfer acocunt and resellers form a server to different other servers.. due a HD problem it is not possible to do this manually...
    If they not fix this withing hours i will loose my customers due a HD faileur...

  9. #9
    Member
    Join Date
    Nov 2005
    Posts
    147

    Default

    Quote Originally Posted by wimp View Post
    thats is so stupid... i need to transfer acocunt and resellers form a server to different other servers.. due a HD problem it is not possible to do this manually...
    If they not fix this withing hours i will loose my customers due a HD faileur...

    Hey,

    So whats your question? You can't transfer accounts because you hard drive is not working, so you are calling this method stupid. I think I get it

    From,
    Adam
    cPanel Customer since November 2005
    ---
    - 7 Servers running cPanel/WHM

    Tutorials I have made:
    - Transfer accounts from one server to another

  10. #10
    Member
    Join Date
    Nov 2006
    Posts
    7

    Default Wimp: Maybe you want to open your own thread?

    Wimp: I am the threadstarter, and have received some valuable information from Helloadam. I would appreciate if you leave me out of your loop, as what you post isn't related to what we're talking about, or, you haven't shown yet how it would be related.

    Peter

  11. #11
    Member
    Join Date
    Jul 2002
    Posts
    303

    Default

    Quote Originally Posted by HelloAdam View Post
    Hey,

    So whats your question? You can't transfer accounts because you hard drive is not working, so you are calling this method stupid. I think I get it

    From,
    Adam
    It is stupid that i pay fro somthing that does not work. (refering to the multi acocunt transfer in WHM)


    "peterreck" if the WHM multi account would work you could transfer account in a 1 click session without any headache

  12. #12
    Member
    Join Date
    Nov 2006
    Posts
    7

    Default Multiaccount Transfer in WHM

    Wimp,

    Thank you for clarifying that you are feeling frustrated that the Multiaccount Transfer in WHM isn't working for you.

    I wasn't aware that it exists. So thank you for mentioning it.

    I am learning that what works best is to find out more about something that isn't working, and see if it is possible to get it to work? Maybe it requires a particular access privilege on the server? - I realize that I have yet a lot to learn before I can draw a bunch of conclusions, so I would be very happy to hear more about what it would take for the Multicaccount Transfer in WHM to work and what kind of access privileges it requires. Did you ask your new or old host about it?

    The part that is frustrating to me is that many of my questions remain unanswered, sometimes because it takes time and effort to post the questions clear enough that others can easily hear it, relate to it, and suggest solutions or further understanding around the issue. This is why I joined this forum, and I have already learned a bunch thanks to others who took the time to share.

    Regards,

    Peter

  13. #13
    Member
    Join Date
    Feb 2005
    Location
    Las Vegas
    Posts
    48

    Default

    Howdy,

    I'm moving from a reseller account (no root access) to a brand new shiny dedicated server (all mine) & backup drive at another facility.

    How do you suggest that I move the 177 accounts (5 GB) from one to the other?

    'Copy multiple accounts from another server' in WHM or is your method better?

    Thanks for all the info so far.

  14. #14
    Member
    Join Date
    Nov 2005
    Posts
    147

    Default

    Quote Originally Posted by wookiee View Post
    Howdy,

    I'm moving from a reseller account (no root access) to a brand new shiny dedicated server (all mine) & backup drive at another facility.

    How do you suggest that I move the 177 accounts (5 GB) from one to the other?

    'Copy multiple accounts from another server' in WHM or is your method better?

    Thanks for all the info so far.
    Hey,

    Have your host do it for you, use Multiple accounts, or log on to each cpanel account via WHM and go to the backup section of cPanel and do remote FTP server and chose that option.

    You can also hire people to do this for you, send an email over to sales@eastsolid.com and they will work something out..

    From,
    Adam
    cPanel Customer since November 2005
    ---
    - 7 Servers running cPanel/WHM

    Tutorials I have made:
    - Transfer accounts from one server to another

  15. #15
    Member
    Join Date
    Jul 2002
    Posts
    303

    Default

    multiple account transfer need root PW. You can transfer per account but 177 account needs time...

Similar Threads & Tags
Similar threads

  1. Need to restore a site backup to a subdomain
    By won1one in forum New User Questions
    Replies: 4
    Last Post: 11-23-2009, 06:42 PM
  2. How to restore a "Full site backup"
    By sehh in forum cPanel and WHM Discussions
    Replies: 6
    Last Post: 05-11-2009, 05:07 PM
  3. How do I restore a FULL SITE BACKUP?
    By Kriptonic in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 05-28-2004, 02:48 AM
  4. How Do I Restore MySQL data from a Full Site Backup?
    By StealthDesign in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-08-2003, 11:31 AM
  5. Moving a site...Restoring a site from CPanel backup???
    By BoomPop in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-09-2003, 09:46 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube