Skip to content
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

[Feature Request] Optimise backup strategy #10

Open
zvecr opened this issue Mar 12, 2021 · 1 comment
Open

[Feature Request] Optimise backup strategy #10

zvecr opened this issue Mar 12, 2021 · 1 comment
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@zvecr
Copy link
Member

zvecr commented Mar 12, 2021

Description

Right now its just tar of the entire home directory, though it would be good to...

  • use partial updates
    • rsync
  • ignore as much as possible
    • only qmk_firmware?
  • as fast as possible on uninstall
    • rsync if done at least once
    • tar otherwise?
  • configurable target directory?
@zvecr zvecr added the enhancement New feature or request label Mar 12, 2021
@zvecr zvecr self-assigned this Mar 12, 2021
@zvecr zvecr added this to the V1 milestone Mar 12, 2021
@zvecr
Copy link
Member Author

zvecr commented Mar 30, 2021

Current Status

  • Implemented basic backup and restore menu within qmk-admin
  • Validated rsync is too slow for use on raw files
    • > 4 mins rsync vs 20s for zx + rsync
    • main slowdown seems to be in the amount of size and timestamp calls for a clone of qmk_firmware
  • Backup only copied if different
  • "Hidden" option for setting backup destination

Next steps?

  • Restore backup on upgrade
  • Validate use of /tmp as tmpfs
  • Conf file for which folders to backup?
  • get QMK_HOME when not set

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant