Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to force a backup of an existing user account?

Discussion in 'General Discussion' started by psydoc, Jan 25, 2010.

  1. psydoc

    psydoc Member

    Joined:
    May 30, 2005
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    Hi,

    I hope this is the correct place for this question.

    I am attempting to restore a client's website. I have copied his last full backup into root/home/ for example /home/backup.1.24.2010_xx-xx-xx_username.tar.gz

    When I attempt to run the following command from root, I get the error "no restorable archives found"

    No archives were found for usr --force!!

    Code:
    # /scripts/restorepkg  /home/backup-1.24.2010_xx-xx-xx_username.tar.gz --force
    
    I must be missing something; but, for the life of me, I can't figure out what.

    Any help would be greatly appreciated.:)

    I should also add that I already did a /scripts/restorepkg username that gave the same error as above without the "found for usr --force
     
    #1 psydoc, Jan 25, 2010
    Last edited: Jan 25, 2010
  2. psydoc

    psydoc Member

    Joined:
    May 30, 2005
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    I am making some progress, I think. :(

    I changed the location of --force in my command
    Code:
    # /scripts/restorepkg --force  /home/backup-1.24.2010_xx-xx-xx_username.tar.gz 
    The problem now is that it automatically recognizes an earlier backup in the /home directory. It still fails as that seems to be corrupted.

    Any help would be greatly appreciated.
     
  3. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    16,517
    Likes Received:
    425
    Trophy Points:
    583
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    It appears you'd like to restore via the command line. There is an easier way if you're interested:
    Restore Backups
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  4. psydoc

    psydoc Member

    Joined:
    May 30, 2005
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    151
    I am always interested in easier. :)

    The only problem was that this was a local user full backup.

    The cPanel backup wizard did not work. It just kept requesting a connection, for hours. :eek:

    What I finally did was terminate the user account, upload the backup via sfpt to /home and then issue the command
    Code:
    # /scripts/restorepkg --force backupfilename.tar.gz
    That did the trick.

    I looked at the link you posted early on in this process, but it did not help me.

    Thanks for the post, though. :)
     
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice