dazedcat19 / FMD2

GNU General Public License v2.0
654 stars 60 forks source link

[feature request] Export/Backup Follow and Settings #1386

Open Nitrousoxide opened 10 months ago

Nitrousoxide commented 10 months ago

Is your feature request related to a problem? Please describe. Currently, the follow list lives in a database that might be subject to corruption. While it can be backed up or entered with a sql editor, an easy .txt or some other plain text export of the follow list will allow for a robust bakup and export solution and also allow someone to share their follow list with a friend without having to dig into a sql database to pull it out.

The follow list only has a few necessary parts, name, source, current chapter, save-to location, and last checked.

I suspect that some of these might not even be necessary for a backup or export. Like the "last checked" wouldn't be terribly relevant if you pulled your backup months ago for instance. And restoring it to a new instance may not have the same relative path to the download directory, so dropping that may be good too and just relying on the current install's download path.

Describe the solution you'd like A simple text export of the follow list to allow for backup and sharing.

Describe alternatives you've considered Someone can dive into the sql database to pull this out and can edit another instance's sql instance, but this is prone to corruption. Having a consistent format for a backup and restore will ensure that this can be done safely.

Slasar41 commented 10 months ago

The databases already being backup to backup folder, including the user settings.

Nitrousoxide commented 10 months ago

It does export the sqlite .db and .json files, but this isn't terribly system portable. The favorites are tied to a specific download path, for instance, so if you restore to another system with a different download path then it's useless, or if you just want to share a list of the series you follow for easy import (something that should be a few kB of data) you'd have no way of doing this.

Plus, a more generic follow export that isn't just a straight up database dump would be potentially more usable as an import source for other downloader apps.

Slasar41 commented 10 months ago

Yeah that's a good feature. But the main dev has been gone for 3 years so I doubt there will be a new feature be added soon.