User Tools

Site Tools


gen:disk-100

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
gen:disk-100 [2025/06/24 00:46] kirtisinghgen:disk-100 [2025/06/24 01:16] (current) kirtisingh
Line 60: Line 60:
 The above command shows a list of files having extension log and zip The above command shows a list of files having extension log and zip
  
-Well, we can combine all the above switches to locate files very specifically. Like for example I need to look for files greater than 50 MB, under /home/user and having extension log or zip, the relevant command would be+Well, we can combine all the above switches to locate files very specifically. Like for example if I need to look for files greater than 50 MB, under /home/user1 and having extension log or zip, the relevant command would be
 <code> <code>
 wp-cl-spacemgr-list-files -u user1 -s 50 -extns "log,zip" list-files wp-cl-spacemgr-list-files -u user1 -s 50 -extns "log,zip" list-files
 </code> </code>
  
 +**Command : wp-cl-spacemgr-remove-file** - It lets you remove a specific file from the system.
 +<code>
 +wp-cl-spacemgr-remove-file -f /home/user1/test-cl0099-cl0001.pwh-r1.com_public_html/error_log remove-file
 +</code>
 +
 +**Command : wp-cl-spacemgr-list-ibkps** - This command shows the disk used for incremental backups for the respective VHost/Website
 +<code>
 +wp-cl-spacemgr-list-ibkps list
 +</code>
 +
 +**Command : wp-cl-spacemgr-remove-ibkp** - This command allows you to purge/remove all the incremental backups for a particular VHost/Website. Also the future incremental backups will be disabled for that VHost/Website unless enabled from within N99panel interface.
 +<code>
 +wp-cl-spacemgr-remove-ibkp -v test-cl0099-cl0001.pwh-r1.com purge
 +</code>
 +
 +**Command : wp-cl-spacemgr-clear-journal** - This command allows you to purge/remove system log files/journal whereby ensuring that only 50 MB is left untouched. **The log files can grow again after purge/removal depending upon system usage/configuration**
 +<code>
 +wp-cl-spacemgr-clear-journal clear
 +</code>
 +
 +After running any of the above removal command(s), please re-check the system disk usage by using the command **wp-cl-spacemgr-usage-breakup usage-breakup**
 +
 +//Please use proper due diligence and care when running above commands. N99panel team or its staff is not responsible for these commands usage and their effect(s) //
  
  
gen/disk-100.1750725994.txt.gz · Last modified: 2025/06/24 00:46 by kirtisingh

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki