0 votes
150 views
in Cloud by
edited by
We have a Seafile server with more than 5TB of data, may I know if is there any way to remove space in the server, like removing history or cache, temp files related to Seafile?

1 Answer

0 votes
by

You can use GC commands to clean up useless data blocks to reduce space usage.
For GC command usage, please refer here: https://manual.seafile.com/maintain/seafile_gc/.
To modify days of history to keep for libraries, you can refer to here: https://manual.seafile.com/config/seafile-conf/#default-history-length-limit, if you set 30 days and execute the GC command, the data blocks older than 30 days will be deleted.

In addition, if your database is also deployed on the current node, you can use the following method to clean the historical data of the database and reduce space: https://manual.seafile.com/maintain/clean_database/#clean-database.

Also, are you currently using the file search function? If so, is your elasticsearch deployed on the current node? If so, elasticsearch's index data will also take up a lot of space.

...