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!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Cancel File Manager Archive Creation

Discussion in 'General Discussion' started by Dhaupin, Aug 4, 2017.

Tags:
  1. Dhaupin

    Dhaupin Active Member

    Joined:
    Jan 3, 2014
    Messages:
    41
    Likes Received:
    4
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    When using the Cpanel file manager you are given an option to compress files into an archive. This is pretty handy when you wanna do a quick export or something as user, without using SSH + su.

    One thing i ran into today: there doesn't seem to be a way to cancel the compression from within the file manager. Is there some kinda workaround for this, or is the only way via SSH or WHM process manager? I have always SSH CTRL-C to get out of an archive creation... which proc gets killed first, gzip or the tar thread?

    The reason im asking is i did a quick backup of an ecom app today prior to upgrading and didn't realize i grabbed the entire image repo + cach + thumbnails as well. I thought they were empty template folders, but they were full which adds up to many GB. Upon getting back to the desk, the tar.gz was quite large. Luckily their server had enough drive space, but it brings up the question above. I couldn't have stopped it in theory if i had no SSH or WHM access, and if the archive got large enough, could have crashed things.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,427
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    It's not possible to cancel the compress action in File Manager once it's already started unless you access the server via SSH and kill the process. That said, it is restricted to the quota assigned to the individual cPanel account. Thus, attempts to compress files that would exceed the account's quota fail with an error message like this:

    Code:
    /usr/bin/gtar: /home/user123/public_html/test1.tar: Cannot write: Disk quota exceeded
    I encourage you to open a feature request if you'd like to see some changes or improvements to how this feature works:

    Submit A Feature Request

    Thank you.
     
  3. Dhaupin

    Dhaupin Active Member

    Joined:
    Jan 3, 2014
    Messages:
    41
    Likes Received:
    4
    Trophy Points:
    8
    cPanel Access Level:
    Root Administrator
    Ahhh nice! That is good there are quotas. This should be ok then if it is a misfire archive creation. Thanks
     
    cPanelMichael likes this.
Loading...

Share This Page