For first post, please answer the questions below!
Describe your issue in detail
Not an issue, but a question:
I am worried that if my database is lost that I will not be able to recover my data. Right now I have my pydio cells running and connecting to my nas where its storing all of the data. The nas does not store the database, only the data. If the device that cells is running on decides to quit for whatever reason what should I do to restore the files?
I know that the files will be on the nas still, but the names and paths will be different:
Read more about flat format here Datasource Format | Pydio, the “snapshot” is exactly here to make sure you have all the info if the DB dies. It can be re-imported to a new installation.
Plus we are now providing a dedicated cells-fuse tool to read these snapshots, we still need to write some docs for that, but you can try it out here https://download.pydio.com/pub/cells/release/4.2.3/linux-amd64/cells-fuse : it uses FUSE to mount your snapshot.db+files folder as a structured files/folder tree.
You would have to use it directly on the NAS.
Are there any advantages of backing up the database vs making snapshots?
With the snaphot, you can restore the files and their tree structure, but you miss all meta data that might be have been added via Cells.
But on the other hand, with just the snapshots and the “flattened files” you can fully recover your files without re-installing Cells (e.g. with cells fuse)
Should I be doing both?
you can, but if you do not plan to leave Cells, a correct backup should be enough.
You can always launch a snapshot when necessary.