Formulir Kontak

Nama

Email *

Pesan *

Cari Blog Ini

Trashbin_retention_obligation

How to Permanently Delete Files from Nextcloud Trash

Understanding the Trash Bin Retention Period

When the trash bin app is enabled, Nextcloud stores deleted files and folders in the trash bin. These files are not permanently deleted until the retention period expires or the administrator manually purges the trash bin. By default, the retention period is set to 30 days.

Customizing the Trash Bin Retention Period

The Nextcloud administrator can customize the trash bin retention period by modifying the config.php file. The following line in the config.php file controls the retention period: 'trashbin_retention_obligation' => '2', In this example, the retention period is set to 2 days. This means that files and folders in the trash bin will be permanently deleted after 2 days.

Troubleshooting Trash Bin Deletion Issues

If you have configured the config.php file to delete files in the trash bin after a certain period but it is not working, consider the following: * Ensure that the trash bin app is enabled. * Check the logs for any errors or warnings related to trash bin deletion. * Verify that the value for 'trashbin_retention_obligation' in the config.php file is correct. * Update Nextcloud to the latest version, as there may have been a bug fix related to trash bin deletion.

Additional Considerations

* The trash bin retention period applies to all files and folders in the trash bin, regardless of who deleted them. * Users can manually purge the trash bin at any time by clicking the "Empty trash" button. * The purpose of the trash bin is to prevent users from accidentally or maliciously deleting files from the cloud. It is not intended as a long-term storage solution.


Komentar