File storage
A file disk describes where InvoiceShelf stores uploaded or generated files. The database records the file references; copying only the database does not preserve the files themselves.
Configure a disk
Open Administration → Settings → File Disks with storage-management permission. Add a disk using the supported driver and its required connection details. Check the driver’s endpoint, bucket or path and access credentials before saving.
Choose what uses the disk
The Disk Assignments section separates Media, PDF and Backup storage. Select a suitable disk for each purpose and save. Keep backup storage separate from publicly accessible media.
System disks
Local Private keeps files in application-managed private storage; Local Public serves files intended to be reachable publicly. Do not place database backups on public storage. Remote disks require credentials with only the access needed for that location.
Changing a default selects where subsequent operations write. It is not a bulk migration of files already stored elsewhere. Keep the original disk available while validating existing receipts, logos and PDFs.
Verify storage
Upload a test receipt, open a customer document and create a backup. Check that each file can be retrieved after the application restarts. Persist local storage volumes on Docker installations; data in a disposable container layer disappears when the container is replaced.