The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

problem when i try to restore the backup

Discussion in 'E-mail Discussions' started by samaanet, Dec 30, 2010.

  1. samaanet

    samaanet Active Member

    Joined:
    Dec 30, 2010
    Messages:
    29
    Likes Received:
    0
    Trophy Points:
    1
    hello i have problem when i tried to restore my backup due to transfer the website from shared hosting to vps

    the restore process wouldn't finish it's take forever

    am still in restoring process sine 3 hours

    the database around 400 mb


    by the way i tried to restore the backup on another vps but with another control panel called virtualmin and the process did't take more than 4 min

    so any solutions please and where the problem ?

    this is what happen to me

    hing /home....
    Found backup_samaanet.tar.gz !
    Extracting tarball...................
    ...............
    ...............
    ...............
    ...............
    Done

    Extracting Domain....Done


    Generating Account....


    Notification => admin@samaanet.com via EMAIL [level => 3]

    Account Creation Status: ok (Account Creation Ok)

    Checking input data...System has 0 free ips.
    ...Done



    WWWAcct 12.5.0 (c) 2010 cPanel, Inc....

    Forced Dns is enabled.
    +===================================+
    | New Account Info |
    +===================================+
    | Domain: samaanet.com
    | Ip: xxx.xxxx.xxxx.xxx (n)
    | HasCgi: y
    | UserName: xxxxxx
    | PassWord: HIDDEN
    | CpanelMod: x3
    | HomeRoot: /home
    | Quota: 0 Meg
    | NameServer1: ns01.skyuk.info
    | NameServer2: ns02.skyuk.info
    | NameServer3:
    | NameServer4:
    | Contact Email:
    | Package: moved
    | Feature List: default
    | Language: en
    +===================================+
    ...Done



    Running pre creation script (/scripts/prewwwacct)......Done



    Adding User...Removing Shell Access (n)
    ...Done



    Copying skel files from /root/cpanel3-skel/ to /home/samaanet/......Done



    Adding Entries to httpd.conf......Done



    Setting up Mail & Local Domains...localdomains...valiases ...vdomainaliases...vfilters......Done



    Configuring DNS...Bind reconfiguring on ns01 using rndc
    ...Done



    Restarting apache......Done



    Changing password for samaanet
    Password for samaanet has been changed

    Updating Authentication Databases...Updating ftp passwords for samaanet
    Ftp password files updated.
    Ftp vhost passwords synced
    ...Done



    Verifying MX Records and Setting up Databases...Reconfiguring Mail Routing:

    * LOCAL MAIL EXCHANGER: This server will serve as a primary mail exchanger for samaanet.com's mail.:
    This configuration has been manually selected.

    ...Done



    Setting up Proxy Subdomains......Done



    Bind reloading on ns01 using rndc zone: [samaanet.com]

    Sending Account Information......Done



    System has 0 free ips.

    Running post creation scripts (/scripts/legacypostwwwacct, /scripts/postwwwacct, /scripts/postwwwacctuser)......Done



    wwwacct creation finished

    Setting up Domain Pointers......Done



    Setting Reseller Privs......Done



    Account Creation Complete!!!...Account Creation Ok...Done




    Locking password for user samaanet.passwd: Success

    Done


    Restoring cpanel user config file
    Done

    Restoring reseller privs (if any)

    Restoring Locale Setting


    Restoring SSL keys and Certificates
    Done

    Restoring frontpage (if installed)
    Done

    Restoring access logs....
    Done

    Restoring domain keys....
    Done


    Restoring MySQL databases....
    Restoring database roundcube......
    Overwriting existing database: roundcube
    Done
    Restoring database horde......
    Overwriting existing database: horde
    Done
    Restoring database samaanet_upload......
    Done
    Restoring database samaanet_murad......
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    this is continue for ever
    ...........
    4 hours and still waiting
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    ...........
    .
     
  2. cPanelJared

    cPanelJared Technical Analyst
    Staff Member

    Joined:
    Feb 25, 2010
    Messages:
    1,842
    Likes Received:
    18
    Trophy Points:
    38
    Location:
    Houston, TX
    cPanel Access Level:
    Root Administrator
    How large is the account? It is not unusual for it to take several hours to restore a very large account. The amount of time it takes is going to depend greatly on the speed of the server, and factors such as the amount of available memory, hard drive speed, and server load are going to be very important.

    Comparisons to other control panels such as Virtualmin may not be valid because they are going to use different backup formats.

    Remember that cPanel's backup system makes a mysqldump of MySQL databases. It does not simply copy the database files from /var/lib/mysql. This means that when it restores a database, it is actually running the MySQL statements to create the database, not simply copying a file. This may take much longer than copying files, because it causes MySQL to work to interpret the statements and create the database literally bit by bit, but it is the most reliable way to back up and restore a database.

    It is best to simply wait for the process to finish and not interrupt it. It can take a long time to restore a large account. As long as new periods (...........) are being written, the process is proceeding normally. You can press the Enter key once to see if a blank line is printed to the screen; I often do this to make sure the server is not frozen. If you press Enter and the periods continue to scroll, then the process is still working and should be allowed to complete.

    If any errors are encountered during the account restoration, an error will be displayed and the process will stop.
     
  3. Mart Grazer

    Mart Grazer Registered

    Joined:
    Jan 15, 2011
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    India
    Thanks for telling about how can we restore the backup...& definitely the large amount of data takes more time to cover it.


    Mart Grazer
     
Loading...

Share This Page