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.

/scripts/cpbackup

Discussion in 'Data Protection' started by circlec, Aug 26, 2004.

  1. circlec

    circlec Active Member

    Joined:
    Jun 15, 2004
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Cape Town, South Africa
    Hi,

    When performing a manual, /scripts/cpbackup - in which order does this script backup the accounts? I notice that it started with a username that starts with a 'a' and then jumped down to 's' but there are many other usernames between the alaphet that it didn't get to (yet) - Can i be assured that it will still back them up and how does it determine which username to backup?

    Regards,
    David
     
  2. aingaranweb

    aingaranweb Well-Known Member

    Joined:
    Mar 23, 2003
    Messages:
    65
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Toronto, Ontario
    I'm getting the following error.

    Anyone have any ideas as to how to resolve it?

    Thanks

    [root@server1 scripts]# ./cpbackup
    pkgacct version 2.4
    Copying Reseller Config...Done
    Copying SSL Certificates, CSRS, and Keys...Done
    Copying Mail files....Done
    Copying frontpage files....Done
    Copying proftpd file....Done
    Grabbing mysql dbs...Done
    Grabbing mysql privs...Done
    Copying mailman lists....Done
    Copying mailman archives....Done
    Copying homedir....Done
    Copying cpuser file.......Done
    Copying crontab file.......Done
    Copying quota info.......Done
    Storing Subdomains....
    Done
    Storing Parked Domains....
    Done
    Storing Addon Domains....
    Done
    Copying password.......Done
    Copying shell.......Done
    pkgacctfile is: /home/cpbackuptmp/cpbackup/daily/net8net.tar.gz
    Creating Archive ....Done
    md5sum is: ac743f00877684a9a70187e9eb91a546
    Can't call method "login" on an undefined value at ./cpbackup line 400, <PWCACHEENT> line 38.
     
  3. circlec

    circlec Active Member

    Joined:
    Jun 15, 2004
    Messages:
    35
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Cape Town, South Africa
    You might want to first try doing a /scripts/upcp then doing the /scripts/cpbackup again - this seemed to have fixed my cpbackup when I had the same problem.
     
  4. Tagor

    Tagor Well-Known Member

    Joined:
    Mar 6, 2004
    Messages:
    193
    Likes Received:
    0
    Trophy Points:
    16
    Try: /scripts/update
     
Loading...

Share This Page