Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 4 of 4
  1. #1
    Member
    Join Date
    May 2005
    Posts
    9

    Default How to force a backup of an existing user account?

    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
    Last edited by psydoc; 01-25-2010 at 02:55 PM. Reason: add information

  2. #2
    Member
    Join Date
    May 2005
    Posts
    9

    Default

    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. #3
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,894
    cPanel/Enkompass Access Level

    Root Administrator

    Lightbulb

    It appears you'd like to restore via the command line. There is an easier way if you're interested:
    Restore Backups

  4. #4
    Member
    Join Date
    May 2005
    Posts
    9

    Default

    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.

    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.

Similar Threads & Tags
Similar threads

  1. Add cPanel User to existing account?
    By mealto in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-12-2009, 12:28 PM
  2. Using a SSH Command to Connect Existing DBase User to Existing DBase?
    By tm2004 in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 10-05-2006, 06:42 AM
  3. Daily backup, when run backup is upto date shown - force
    By demomen in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 06-28-2005, 06:48 AM
  4. Any way to create another user who has access to an existing user's CPanel?
    By brianteeter in forum cPanel and WHM Discussions
    Replies: 8
    Last Post: 09-17-2004, 12:09 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube