Original filenames storage on serveur


I’ve just installed Seafile on my debian server, it seems to work well. However, I’ve noticed the file arborescence on my desktop is not preserved on the server, because seafile seems to use its own logic, with block names instead of the original file names:

file 9508526c-38fe-49fa-957f-ee89ca134627/44/5bbf8a2ef9b24657815c53c9671ddf5ed206a8 
9508526c-38fe-49fa-957f-ee89ca134627/44/5bbf8a2ef9b24657815c53c9671ddf5ed206a8: ASCII text

/home/yunohost.app/seafile-data/storage/blocks # file 9508526c-38fe-49fa-957f-ee89ca134627/23/60c567f304f1ffc372786aef87a4c6954e62a0 
9508526c-38fe-49fa-957f-ee89ca134627/23/60c567f304f1ffc372786aef87a4c6954e62a0: MPEG ADTS, layer III, v1, 320 kbps, 44.1 kHz, JntStereo

I suppose there is a good reason for this, but it makes it difficult to retrive old backups for some user: I plan to make daily backup onto an other server, so if they request to get their document_2022-03-12.ods file, I won’t be able to get their file easily (with the locate command for instance)

I’ve looked at the options in the admin panel, but I can’t find a way to change this behavior. Have I missed something, or is it not possible to get the original file names on the server?

You can use the fuse utility to make backups, see FUSE extension - Seafile Admin Manual (note : only for unencrypted libs). But, as Seafile has an history feature included, most of the time users can retrieve old versions of their files using it (just set the history retention you’d like)

1 Like