nextcloud / nextcloud/nextcloudpi
[Bug]: Monthly auto backup often runs two days in a row
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 2.9k
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Description
System information
NextCloudPi v1.46.7
It seems that the automatic backup system under nc-backup-auto has a bug where it will run two days in a row. This month, it ran yesterday (January 30th, 1900 GMT-8) and now is running again today, the 31st. I am not positive but this may only happen on months that end in the 31st.
The backup periodicity (in days) is the default of 30 and I have tried changing this to 45 days before without any success.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the nc-backup-auto entry point and trace how the 30-day periodicity is calculated around month boundaries. Reproduce the January 30/31 case or an equivalent 31-day month, then verify that automatic backups do not run on consecutive days while the configured periodicity remains respected.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- shell
- Domain
- devops
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100