tachiyomi
tachiyomi copied to clipboard
Sync Between Devices using Gdrive/Dropbox Backup
I'd love to have a feature that makes it possible to carry the same library with read/unread status and categories among different devices. This would theoretically involve saving the Json backup to a connected Dropbox or Google Drive account for every change, as well as restore from the Json backup for every sync (when pressing the sync button or during the configured periodic syncs). Presumably the Json will be saved to the root of the Dropbox/Gdrive so there won't be any consistency issues.
Conflicts where both the backup and local states were changed before a sync/restore can be solved by prompting the user to choose the local or cloud state
Duplicate: #715 #502 #383 Although all of them were closed for requesting MAL Sync and were told that if sync ever happens, it'd be something like GDrive, maybe one issue should stay open for users to find and subscribe to.
I second the feature request! Doesn't need anything Fancy, since we already have automatic local backups. Just upload the latest with a common filename, and save the timestamp. The periodically check for changes in the uploaded files timestamp and in case it differs, download and restore.
Tha restoration could also be down only during the app launch, or when it searches for manga updates.
If anything goes wrong we have the local backups (set it to keep the latest X files for assurance).
I hope this is a given, but just to make sure, support for non-3rd party cloud solutions (owncloud/nextcloud/etc) should be on this list, as well.
@mishugashu well I dont think that this is still needed, cause 1146 will be much better.
Have someone tried/begun to implement this? This feature would truly be awesome to have!
Is there any progress for this feature implantation? I would love to see this feature. Few days ago my device bricked and I lost all data including Tachiyomi Backups, I had to spend hours to organize everything again. If it had cloud backup this could be a different story.
There are third party apps on Play Store such as Autosync for Google Drive, you can use that to sync your backup folder in the meantime.
I think users are really needing this feature. Not MAL, just GDrive or something automatable would be awesome.
Would it be possible to implement something similar to what cubari.moe does with remotestorage? There are hosted solutions for users like 5apps already, and users would be free to point them to self-hosted solutions if they so wish to. The development pace of the spec may be difficult to adhere to though, for the Versioning requirement.
Though I agree auto backup with Autosync app is a great workaround in the mean time.
Would it be possible to implement something similar to what cubari.moe does with remotestorage? There are hosted solutions for users like 5apps already, and users would be free to point them to self-hosted solutions if they so wish to. The development pace of the spec may be difficult to adhere to though, for the Versioning requirement.
Though I agree auto backup with Autosync app is a great workaround in the mean time.
Sounds awesome. I'd be happy to test it if it's implemented.
One Interesting workaround to this could be to use the API for google play games cloud saving. Yeah this isn't a game, but this functionality would be a good fit for the goal of automatic cloud backups/restoring and multi-device syncing. https://developers.google.com/games/services/android/savedgames
As this is a FOSS project, that isn't a option since the API for that is proprietary. We'd have to use a REST API instead
I would love to see this feature as it will be proved very helpful for the users. Until then we have services related to cloud backup. That will be proved equally effective. please give it a try at least once.
I wish pcloud and onedrive also included as well.
Has anybody managed to come up with a temporary solution for tachiyomi cross device sync in the meantime? Exporting/importing the library is pretty rough for minor updates.
Has anybody managed to come up with a temporary solution for tachiyomi cross device sync in the meantime? Exporting/importing the library is pretty rough for minor updates.
I just make tachiyomi auto backup every 6 hours, and use Autosync for Google Drive
that watch file changes and upload it to GDrive
I just make tachiyomi auto backup every 6 hours, and use
Autosync for Google Drive
that watch file changes and upload it to GDrive
This worked perfectly, thank you!
@fmiqbal I know tachiyomi have local backup by tap more on the left side -> settings -> backup & restore. But, I cannot see autosync for Google Drive. Where?
@fmiqbal I know tachiyomi have local backup by tap more on the left side -> settings -> backup & restore. But, I cannot see autosync for Google Drive. Where?
It's an app on the play store. I'm curious if there's a way to change the read chapter location and have that auto sync between device using said app. It'd be great as an alternative to the built-in sync options.
I think we only need to allow saving and reading configs to a user folder, syncing the data is the user's work, e.g. use Syncthing. Much easier to implement and no external API required.
I'd prefer remotestorage(also used by cubari.moe) Mubashshir
On Mon, Dec 13 2021 at 08:48:27 PM -0800, Hoàng @.***> wrote:
I think we only need to allow saving and reading configs to a user folder, syncing the data is the user's work, e.g. use Syncthing Much easier to implement and no online API required
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/tachiyomiorg/tachiyomi/issues/912#issuecomment-993155295, or unsubscribe https://github.com/notifications/unsubscribe-auth/AF5WM3XVKXLSM3GJ7P7R4S3UQ3EBXANCNFSM4DUSGLOA. Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
may I suggest another approach, afaik, tachiyomi can update tracker data on library update, and tachiyomi can mark as read chapter as we read them, how if on library update, the chapter that have been read on tracker, also marked as read.
well, given this only works after initial backup/restore, and if it has tracker associated with it, and also cant sync new manga that added to library
Any chances of this ever getting implemented?
I would be interested in implementing a simple version of this if there's a potential for it to be merged.
Current idea would be to have a configuration screen where a user can select the types of data to sync across devices, then a screen to configure an external store to send data to.
I'd just be implementing support for S3-compatible blob storage to start, but at the very least that would give a framework for additional services to integrate with going forward.
If there's interest for this then let me know and I'll start an implementation.
Feel free to take a stab at it.
Feel free to take a stab at it.
Sounds good, I've made a fork. I'll try and get a proof of concept out within a week or two.
I think we only need to allow saving and reading configs to a user folder, syncing the data is the user's work, e.g. use Syncthing. Much easier to implement and no external API required.
Cloud backup's a nice addition, and last time I tried to backup to GDrive from my phone it wasn't that easy. Most (3rd party) apps had at least a free and paid version, and they're yet another background service to run, while Tachiyomi would only do it after a backup.
Besides, Google Drive's the default service, especially with Tachiyomi being android-exclusive. Many apps need Google/Play Games access and also backup on it, so pretty much every phone should benefit from this feature. Unlike adding sync for Dropbox/MEGA or whatever.
On Sun, May 22 2022 at 03:15:31 PM -0700, Aran Leite @.***> wrote:
Besides, Google Drive's the default service, especially when Tachiyomi's android-exclusive
But, it'll have to depend on google-service-framework which might be undesirable, considering that tachiyomi is not available on google play store.
Moreover, google drive is centralized, remember what happened to facebook when they BGP servers were misconfigured? something like that can happen to google too... I'd prefer remotestoragehttps://remotestorage.io for that, it's used by guya.moe and cubari, you can self-host it too.
Mubashshir
I think we only need to allow saving and reading configs to a user folder, syncing the data is the user's work, e.g. use Syncthing. Much easier to implement and no external API required.
Cloud backup's a nice addition, and last time I tried to backup to GDrive from my phone it wasn't that easy. Most (3rd party) apps had at least a free and paid version, and they're yet another background service to run, while Tachiyomi would only do it after a backup.
Besides, Google Drive's the default service, especially with Tachiyomi being android-exclusive. Many apps need Google/Play Games access and also backup on it, so pretty much every phone should benefit from this feature. Unlike adding sync for Dropbox/MEGA or whatever.
monopoly is bad.
The ideal solution imho would be one that does not require additional software to sync the config files, and does not require self-hosting since most people do not/can not self-host things. I feel that google drive would be the best start as the great majority of android user has alreasy an account, so it will require the least effort to set up for the greatest number of people. That said, once the code to save the userfile and load changes from it without restarting tachiyomi is in place, it might also be easier to add alternatives to gdrive for people (like me too) who do self-host or have beef with google and want to use something else instead.