Cancel File Manager Archive Creation
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.
-
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: /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.0 -
Ahhh nice! That is good there are quotas. This should be ok then if it is a misfire archive creation. Thanks 0
Please sign in to leave a comment.
Comments
2 comments