HiveMinds / HiveMinds/tw-install

Automatically adjust backup frequency depending on backup process duration.

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Backups bug Quality Robustness
Dominant language
Shell
Stars
20
Forks
7
PR merge metrics
No merged PRs in 30d

Description

Concerning file: /resources/autoBackup.sh

Currently the backup procedure checks whether the backup destination folder has been modified in the last minute, to check whether the backup procedure should make a new folder for the backup command, or whether it should put the backup files in the already existing folder.


If the backup takes longer than a minute, this mechanism will check the wrong folder to determine whether it should create a new folder or put it in the already existing project, that would spread a single backup over multiple folders. this is undesired.


Hence the backup procedure needs to be adapted.

Either it must automatically backup every task change (with the exception of customSort changes), or it should backup every x minutes and make a separate backup folder for its backups that also includes the time without spreading the backups to multiple folders.


Contributor guide

No contributing guide indexed for this repository

Research direction

Start with /resources/autoBackup.sh and trace how it checks the backup destination's modification time and chooses a folder. Define how backup frequency and customSort changes should behave, then verify that a backup lasting longer than a minute remains in one folder and that the selected scheduling behavior is consistent.

Written by the indexing model from the issue text.

Assessment

Tech stack
shell
Domain
cli
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.