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.

[pkgacct] Change cpmove working package and gzipped file location?

Discussion in 'General Discussion' started by Valetia, Sep 25, 2010.

  1. Valetia

    Valetia Well-Known Member

    Joined:
    Jun 20, 2002
    Messages:
    207
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    When running /scripts/pkgacct, the package is normally created in /home/cpmove-username and then gzipped at /home/cpmove-username.tar.gz. The former is then deleted once the gzip is complete.

    Is there a way to (without editing /scripts/pkgacct itself!) have pkgacct create both the package and the gzipped file in a different location, say /backup/cpmove-username and /backup/cpmove-username.tar.gz?
     
  2. Valetia

    Valetia Well-Known Member

    Joined:
    Jun 20, 2002
    Messages:
    207
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    Nevermind, found it. Just use: /scripts/pkgacct username /destfolder
     
Loading...

Share This Page