Overview of JuiceFS Trash functionality
JuiceFS provides a trash feature where deleted files are preserved for a specific period before permanent deletion. These files continue to incur billing costs as data remains in object storage.
Key Details:
- Default Retention: Free edition is 1 day; Professional edition is 7 days. Retention can be modified in the JuiceFS Console settings.
- Scope: Trash protects files and data modifications (including overwrite writes).
- Limitations:
- Directories are deleted immediately (though files within them are trashed and original directory structures are recreated upon restoration).
- Empty directories cannot be recovered.
- Symbolic links (symlinks) cannot be moved to the trash and must be rebuilt.
- Files created via
juicefs importare not eligible for the trash.
- Requirement for Cleanup: At least one JuiceFS client (FUSE, Hadoop Java SDK, or S3 Gateway) must remain mounted and running for the background tasks to expire and release trashed data from object storage.