File tree Expand file tree Collapse file tree 3 files changed +13
-9
lines changed
Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Original file line number Diff line number Diff line change @@ -92,6 +92,7 @@ Setting any value to `0` or `-1` causes the cleanup task to be skipped for the c
9292| ` keep_session_log_days ` | Retention period for session log entries (in days) | 30 |
9393| ` keep_auto_rules_task_log_days ` | Retention period for automation rule logs (in days) | 30 |
9494| ` keep_user_activity_statistics_days ` | Retention period for user activity statistics (in days) | 0 |
95+ | ` keep_dtable_app_pages_operation_log_days ` | Retention period for app pages operation log entries (in days) | 14 |
9596
9697### ` [EMAIL SENDER] `
9798
Original file line number Diff line number Diff line change @@ -78,9 +78,9 @@ The mariadb container persists the database information in the directory `/opt/m
7878
7979source /opt/seatable-compose/.env
8080mkdir -p /opt/seatable-backup && cd /opt/seatable-backup
81- docker exec -it mariadb mariadb-dump -u root -p${SEATABLE_MYSQL_ROOT_PASSWORD } --opt ccnet_db > ./ccnet_db.sql
82- docker exec -it mariadb mariadb-dump -u root -p${SEATABLE_MYSQL_ROOT_PASSWORD } --opt seafile_db > ./seafile_db.sql
83- docker exec -it mariadb mariadb-dump -u root -p${SEATABLE_MYSQL_ROOT_PASSWORD } --opt dtable_db > ./dtable_db.sql
81+ docker exec -it mariadb mariadb-dump -u root -p${MARIADB_PASSWORD } --opt ccnet_db > ./ccnet_db.sql
82+ docker exec -it mariadb mariadb-dump -u root -p${MARIADB_PASSWORD } --opt seafile_db > ./seafile_db.sql
83+ docker exec -it mariadb mariadb-dump -u root -p${MARIADB_PASSWORD } --opt dtable_db > ./dtable_db.sql
8484```
8585
8686!!! warning "Cronjob require other parameters"
@@ -143,9 +143,9 @@ mkdir -p /opt/seatable-backup/
143143# mariadb dumps
144144source /opt/seatable-compose/.env
145145cd /opt/seatable-backup
146- docker exec mariadb mariadb-dump -u root -p${SEATABLE_MYSQL_ROOT_PASSWORD } --opt ccnet_db > ./ccnet_db.sql
147- docker exec mariadb mariadb-dump -u root -p${SEATABLE_MYSQL_ROOT_PASSWORD } --opt seafile_db > ./seafile_db.sql
148- docker exec mariadb mariadb-dump -u root -p${SEATABLE_MYSQL_ROOT_PASSWORD } --opt dtable_db > ./dtable_db.sql
146+ docker exec mariadb mariadb-dump -u root -p${MARIADB_PASSWORD } --opt ccnet_db > ./ccnet_db.sql
147+ docker exec mariadb mariadb-dump -u root -p${MARIADB_PASSWORD } --opt seafile_db > ./seafile_db.sql
148+ docker exec mariadb mariadb-dump -u root -p${MARIADB_PASSWORD } --opt dtable_db > ./dtable_db.sql
149149
150150# force dump of big data to storage-data folder
151151docker exec -it seatable-server /opt/seatable/scripts/seatable.sh backup-all
Original file line number Diff line number Diff line change @@ -61,13 +61,16 @@ The following tables will be cleaned:
6161
6262| Database table | Table description | Retention period |
6363| ------------------------------ | --------------------------------------------------------------------------------------------- | ---------------- |
64+ | dtable_snapshots | Snapshots of bases that are not store in dtable-storage-server | 365 days |
6465| activities | Aggregated log (based on operation_log) recording row creations, modifications, and deletions | 30 days |
66+ | operation_log | Low level log recording all operations (of dtable-server) | 14 days |
6567| delete_operation_log | High level log (based on operation_log) recording all row deletions | 30 days |
66- | dtable_notifications | User notifications inside the bases | 30 days |
67- | dtable_snapshots | Snapshots of bases that are not store in dtable-storage-server | 365 days |
68+ | dtable_db_op_log | Low level log recording all operations (of dtable-db) | 14 days |
6869| notifications_usernotification | User notifications on the home page | 30 days |
69- | operation_log | Low level log recording all operations | 14 days |
70+ | dtable_notifications | User notifications inside the bases | 30 days |
7071| session_log | Low level log recording all user sessions | 30 days |
72+ | auto_rules_task_log | Logs of automation rules | 14 days |
73+ | dtable_app_pages_operation_log | Low level log recording all app operations | 14 days |
7174
7275### Cronjob
7376
You can’t perform that action at this time.
0 commit comments