Questions about the file storage
!Friendica Admins I am currently using a storage folder to store the media files. My questions are:
- Is it better to move to the database for storage?
- If I do that, will previous media be migrated to the database?
- Where is the path for file storage stored in Friendica (config file?)? I am thinking how can I backup the files too when they are stored in a custom path.
Thanks!
Friendica Admins reshared this.
utzer [Friendica]
in reply to Tio • • •1. not sure which is better.
2. No, but there is a migration function in command line console.
3. It is a setting in /admin/storage, the path is always defined, so it already must be valid setting if filesystem is used.
Friendica Admins reshared this.
Roland Häder
Unknown parent • • •./bin/console storage move
, what I have found so far. But I have never tested it.Tio
in reply to Tio • •Thank you all for the answers! So I was wondering if the path is stored in a file that can be read by a script. This way the script can grab the "filepath" when doing the backups. I am using Yunohost and that's how we do for the rest of the services that are using a specific path to store the data/files. I was wondering if this setting in admin/storage is written to an actual file in the friendica's folder?
The WebDav options seems really great. I see this is the addon github.com/friendica/friendica… but I wonder how well it works. Anyone else uses it?
Friendica Admins reshared this.
Tio
Unknown parent • •Friendica Admins reshared this.