-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Generalize --b2-versions for other backends #1532
Comments
FWIW, I would personally like to see the interface be a bit more orthogonal than the My current use case: I'd like to record local snapshots of my Dropbox at specific points in time in the past. So: |
What would you see as an interface? Something like The advantage of the
You can do this manually at the moment using --backup-dir which works with most providers |
To be clear, I want to record and save snapshots of past versions which Dropbox has already recorded (I'm trying to effectively export my long Dropbox version history to somewhere I control), not just avoid deleting old versions on new Dropbox updates, so For my use case, and I think perhaps in many cases in general, I think the ideal interface would be something like Seeing all versions is also useful, but I'd expect that to be a function of the Footnote:One caveat I notice in implementing this is that I'm not sure it's currently possible in the v2 Dropbox API to reconstruct version history of deleted files. The information all exists on their backend, but it seems the metadata interface in the v2 API is not currently sufficient to reconstruct anything about deleted files: https://www.dropboxforum.com/t5/API-support/Deleted-files-metadata/m-p/213170#M10825 It was previously possible in the v1 API to see all versions of deleted files, so hopefully it will return. |
Yes this would effectively be time machine. Would be amazing if you could do something like With this there would be no need to use a backup repository unless you were wanting advanced features like data deduplication. You could simply use a cloud provider who supports unlimited revisions, like B2, and restore an entire directory from whenever as needed. |
Another scenario where this would be useful: A cron job syncs my backups to b2 daily. Say one day the disk starts going bad and I sync some garbage to my b2 bucket. I'd like to be able to specify to rclone sync "download the latest as of yesterday" when restoring to the replacement drive. |
Dropbox, Google Drive, and others support file versions in their APIs. They are less rich than b2's versions (I believe Dropbox's versions are read-only, for example), but accessing them would still be very useful.
The text was updated successfully, but these errors were encountered: