seafile-admin-docs/manual/administration/export_report.md
2024-12-25 15:03:49 +08:00

33 lines
671 B
Markdown

# Export Report
Since version 7.0.8 pro, Seafile provides commands to export reports via command line.
!!! tip
Enter into the docker image, then go to `/opt/seafile/seafile-server-latest`
## Export User Traffic Report
```
cd seafile-server-latest
./seahub.sh python-env python3 seahub/manage.py export_user_traffic_report --date 201906
```
## Export User Storage Report
```
cd seafile-server-latest
./seahub.sh python-env python3 seahub/manage.py export_user_storage_report
```
## Export File Access Log
```
cd seafile-server-latest
./seahub.sh python-env python3 seahub/manage.py export_file_access_log --start-date 2019-06-01 --end-date 2019-07-01
```