Nextcloud/AccountRetention: Unterschied zwischen den Versionen
Zeile 44: | Zeile 44: | ||
|no | |no | ||
|7th July | |7th July | ||
|} | |||
=== Anwendung === | |||
; Retention set to 30 days | |||
{| class="wikitable" | |||
!Account created | |||
!Account logged in | |||
!<code>Benutzer_ohne_Anmeldung_behalten</code> | |||
!Aufgeräumt nach | |||
|- | |||
|7. Juni | |||
|14. Juni | |||
|yes/default | |||
|14. Juli | |||
|- | |||
|7. Juni | |||
|14. Juni | |||
|nein | |||
|14. Juli | |||
|- | |||
|7. Juni | |||
| - | |||
|Ja/Standard | |||
| - | |||
|- | |||
|7. Juni | |||
| - | |||
|nein | |||
|7. Juli | |||
|} | |} | ||
Version vom 26. November 2023, 08:44 Uhr
AccountRetention - Kontoaufbewahrung
Beschreibung
- Formerly known as User retention
- Accounts are deleted when they did not log in within the given number of days
- This will also delete all files and other data associated with the account
- Different retention possible for normal accounts and accounts of the guests app
- Exclude accounts based on group memberships (default: admin group)
- Exclude accounts that never logged in (default: enabled)
Accounts that never logged-in
- By default, accounts that have never logged in at all, will be spared from removal.
- To also take them into consideration, set the config flag accordingly
$ occ config:app:set user_retention keep_users_without_login --value='no'
In this case the number of days will start counting from the day on which the account has been seen for the first time by the app (first run of the background job after the account was created).
Anwendung
- Retention set to 30 days
Account created | Account logged in | keep_users_without_login
|
Cleaned up after |
---|---|---|---|
7th June | 14th June | yes/default | 14th July |
7th June | 14th June | no | 14th July |
7th June | - | yes/default | - |
7th June | - | no | 7th July |
Anwendung
- Retention set to 30 days
Account created | Account logged in | Benutzer_ohne_Anmeldung_behalten
|
Aufgeräumt nach |
---|---|---|---|
7. Juni | 14. Juni | yes/default | 14. Juli |
7. Juni | 14. Juni | nein | 14. Juli |
7. Juni | - | Ja/Standard | - |
7. Juni | - | nein | 7. Juli |
Erinnerungen
Es ist auch möglich, eine E-Mail-Erinnerung an Konten zu senden (wenn eine E-Mail konfiguriert ist). Um eine Erinnerung 14 Tage nach der letzten Aktivität zu senden:
occ config:app:set user_retention reminder_days --value='14'
Sie können auch mehrere Erinnerungstage als kommagetrennte Liste angeben:
occ config:app:set user_retention reminder_days --value='14,21,28'
Hinweis: Es findet keine Validierung der Erinnerungstage gegenüber den Aufbewahrungstagen statt.
Accounts that never logged-in
- By default, accounts that have never logged in at all, will be spared from removal.
- To also take them into consideration, set the config flag accordingly
$ occ config:app:set user_retention keep_users_without_login --value='no'
In this case the number of days will start counting from the day on which the account has been seen for the first time by the app (first run of the background job after the account was created).
Anhang
Siehe auch
- Nextcloud/APCu
- Nextcloud/AccountRetention
- Nextcloud/Appointments
- Nextcloud/Benutzerverwaltung
- Nextcloud/Client
- Nextcloud/Dateien freigeben
- Nextcloud/ISPConfig
- Nextcloud/Kalender
- Nextcloud/Memcached
- Nextcloud/Memory caching
- Nextcloud/RansomwareProtection
- Nextcloud/Redis
- Nextcloud/Registrierung
- Nextcloud/Repair
- Nextcloud/Reverse proxy
- Nextcloud/Sicherheitsscanner
- Nextcloud/Talk/Android
- Nextcloud/Talk/Benachrichtigungen/Server
- Nextcloud/Talk/Export
- Nextcloud/Talk/HPB
- Nextcloud/Talk/HPB/Apache
- Nextcloud/Talk/HPB/Einbinden in Nextcloud Talk
- Nextcloud/Talk/HPB/Janus
- Nextcloud/Talk/HPB/NATS
- Nextcloud/Talk/HPB/Signaling-Server
- Nextcloud/Talk/Matterbridge
- Nextcloud/Troubleshooting
- Nextcloud/Update
- Nextcloud/Update/Fehlerbehebung
- Nextcloud/occ
- Nextcloud/tmp