docs icon indicating copy to clipboard operation
docs copied to clipboard

Document custom versioning support using directory to save previous versions

Open dkocher opened this issue 2 years ago • 0 comments

  • [x] https://docs.cyberduck.io/mountainduck/versions/
  • [x] https://docs.cyberduck.io/cyberduck/info/#versions
  • [x] https://docs.cyberduck.io/cyberduck/edit/

Depends on ^1.

  • Protocol support matrix (only enabled for protocols with no native versioning e.g. FTP, SFTP, WebDAV, OpenStack Swift)
  • .duckversions folder created in every folder with previous versions saved
  • Previous versions are saved with timestamp in filename pattern like filename.extension → filename-20230906102017.762.extension
  • Allows to restore previous versions in Info → Versions.
  • Can exclude files from versioning with versioning.include.regex=.*
  • Enabled with versioning.enable=true in file transfers. Applies to existing files when choosing Preferences → Transfers → General → Uploads → Existing Files: (Overwrite|Compare)
  • Enabled with editor.upload.file.versioning=truewhen editing files. Mapped to Preferences → Editor → Enable Versioning with iterate-ch/cyberduck#15137
  • Only keep most recent versions with default versioning.limit=5. Previous versions exceeding the limit are deleted after an upload.

dkocher avatar Sep 06 '23 06:09 dkocher