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!

Transferring sites without the use of gzip

Discussion in 'General Discussion' started by rmj, Feb 14, 2006.

  1. rmj

    rmj Member

    Feb 20, 2003
    Likes Received:
    Trophy Points:
    We are faced with an issue of an overloaded server (we inherited so don't flame! hehe)

    We are wanting to move accounts from this server to another for obvious reasons. We have also been faced with similar situations before, and have concluded the following.

    For us, bandwidth is cheaper than resources. We'd prefer an option to where we can package/transfer sites without the use of gzip. This would cause less load on the aforementioned server.

    Has anyone hacked up pkgacct and restorepkg to do this?

    I have put in a bugzilla about this a while back, but i forgot the number (my own fault, ill find it again) and was wondering what cPanels stance on this was as well.

    Thanks in advance.
  2. chirpy

    chirpy Well-Known Member

    Jun 15, 2002
    Likes Received:
    Trophy Points:
    Go on, have a guess
    Could be tricky. The easy part is removing the gzip options from the tar command(s) in /scripts/pkgacct in the section:

    print "Creating Archive ....";

    The problem is that the restore is done through the closed-source WHM binary which will expect a gzipped tarball at the other end. What you could conceivably do is to modify pkgacct to create a non-gzipped tarball (i.e. a .tar file) then copy that to the new server and gzip it into a tar.gz file and then restorepkg it.

    Other than that, you're possibly in cPanel's hands through bugzilla.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. lloyd_tennison

    lloyd_tennison Well-Known Member

    Mar 12, 2004
    Likes Received:
    Trophy Points:
    How about making the backup incremental and tarballing it yourself with a script?
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

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