Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 15 of 16
  1. #1
    Member
    Join Date
    Sep 2004
    Posts
    17

    Default How to restore Full Backup when it's already on server

    I have a file that is already located on the remove server in the user directory
    /home/$user/backup-1.6.2009_15-54-44_$user.tar.gz

    I've noticed that the only way I can find to restore such backup is from CPanel's interface by
    * going to Backups -> Generate/Download a Full Backup -> download backup file
    * and then go to Backups -> Restore a Home Directory Backup -> browse for file and click Upload.

    So for this I will need to download a 3Gb file and then upload it back to the server. This is not good.

    Is there a way to skip all this and initiate Full Backup Restore when the file is already in the home directory of the user ?

  2. #2
    Member
    Join Date
    Sep 2004
    Posts
    17

    Default

    oh never mind, I got it.

    You have to go through WHM and choose

    Main >> Backup >> Restore a Full Backup/cpmove file

    And ensure your file is in /home and not in /home/$user

    thanks

  3. #3
    Member
    Join Date
    Aug 2007
    Posts
    15

    Default

    Is there an easy way to automate this process?

  4. #4
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,723
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by jamina1 View Post
    Is there an easy way to automate this process?
    /scripts/restorepkg from the command line will restore full account backups. You could build a shell script to automate this script call.

  5. #5
    Registered User
    Join Date
    Jun 2009
    Location
    South Africa
    Posts
    2

    Default Full Backup Restore from WHM

    Quote Originally Posted by dennismv View Post
    oh never mind, I got it.

    You have to go through WHM and choose

    Main >> Backup >> Restore a Full Backup/cpmove file

    And ensure your file is in /home and not in /home/$user

    thanks
    I dont see this in WHM ?

    I only have :
    Main

    *


    Server Configuration
    *

    Support
    *

    Locales
    *

    Cluster/Remote Access
    *

    Server Status
    *

    Account Information
    *

    Account Functions
    *

    Multi Account Functions
    *

    Themes
    *

    Packages
    *

    DNS Functions
    *

    Email
    *

    cPanel
    *

    SSL/TLS
    *

    Plugins
    Last edited by uriel; 03-21-2010 at 07:51 AM. Reason: more info

  6. #6
    Registered User
    Join Date
    Sep 2007
    Posts
    3

    Default Full Backup Restore from WHM

    It seems that you are not having root access to the server and are having only Reseller account access to the server due to which you are not getting "Restore a Full Backup/cpmove file" Option in WHM. I'll suggest you to directly upload the Backup file under your account and ask your host to restore it .

    Regards,
    Rizwan S.

  7. #7
    Registered User
    Join Date
    Jan 2011
    Posts
    3

    Default Re: How to restore Full Backup when it's already on server

    What to do if i have a back up on /home/username/backup-1.16.2011_08-44-13_username.tar.gz

    How can i restore this back up ?

  8. #8
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    10,723
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: How to restore Full Backup when it's already on server

    First, move it from /home/username/ to /home/ then you can use the Restore an Account feature in WHM to restore the backup. WHM and root-level access via SSH will be needed (in most cases) to do this.

  9. #9
    Registered User
    Join Date
    Apr 2011
    Posts
    4

    Default Re: How to restore Full Backup when it's already on server

    hi dear users
    i have some problem.
    when i execute this command (/scripts/restorepkg backup.tar.gz) i recive this massage:
    Using backup archive
    cPanel restorepkg 2
    Force Mode: no
    Reseller Privs Restore: yes

    but nothins be happen. this like restoring is stopped. what can i do now? where is the problem?

  10. #10
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    de profundis
    Posts
    5,415
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: How to restore Full Backup when it's already on server

    When you run that command, you would only use the username not the name of the file:

    Code:
    /scripts/restorepkg username
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  11. #11
    Registered User
    Join Date
    Apr 2011
    Posts
    4

    Default Re: How to restore Full Backup when it's already on server

    i do this again by user name but i recive this message again:

    cPanel restorepkg 2
    Force Mode: no
    Reseller Privs Restore: yes

  12. #12
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    de profundis
    Posts
    5,415
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: How to restore Full Backup when it's already on server

    How as the backup made as backup.tar.gz is not how cPanel names any of the backup files it creates.
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  13. #13
    Registered User
    Join Date
    Apr 2011
    Posts
    4

    Default Re: How to restore Full Backup when it's already on server

    no i renamed it in this topic. i enter correct user name in command
    ehat is this mean?
    cPanel restorepkg 2
    Force Mode: no
    Reseller Privs Restore: yes

  14. #14
    cPanel Staff cPanelTristan's Avatar
    Join Date
    Oct 2010
    Location
    de profundis
    Posts
    5,415
    cPanel/Enkompass Access Level

    Root Administrator

    Default Re: How to restore Full Backup when it's already on server

    All restores show this at the beginning. It means you didn't run a forced restore and it has reseller privileges available to restore. This is not an error message. You are receiving no actual error message after running the command?
    cPResources: Support Options | More Support Options | Forums Search | cPanel.net Site Search | Mailing Lists(Alt) | Docs
    -- Tristan, Forums Technical Analyst, cPanel Tech Support

    Submit a ticket | Check an existing ticket

  15. #15
    Registered User
    Join Date
    Apr 2011
    Posts
    4

    Default Re: How to restore Full Backup when it's already on server

    i recive only this message and after this message i did not show anything. and restoring not happen

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 01-29-2010, 10:04 AM
  2. Restore a full backup
    By ccunniffe in forum New User Questions
    Replies: 3
    Last Post: 12-18-2009, 01:21 AM
  3. Restore Full Backup
    By interfx in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-20-2006, 08:57 AM
  4. cannot restore full backup
    By Wicked in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 03-06-2006, 04:41 PM
  5. WHM >> Backup >> Restore a Full Backup/cpmove file
    By jhobbs in forum Data Protection
    Replies: 0
    Last Post: 03-24-2005, 11:23 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube