Various Differentials Marked as "Orphans"
Nobody has claimed this yet.
- Dominant language
- PHP
- Stars
- 272
- Forks
- 37
- PR merge metrics
- No merged PRs in 30d
Description
I've had next-cloud backup running for about a month without doing anything to it. I now have a fair number of differential backups that are marked "orphans". As far as I can tell, the full that is the root of each differential is present and intact. Also, every backup is marked as unverified as reported in #114.
Here's what I'm seeing:


Doing a 'backup:point:scan' doesn't resolve any issues. I am using "external" storage to a second physical volume on the server. However interestingly if I do a 'backup:external:list' I get an error:

The "External:10" location is the local filesystem /data/nextcloud-backups. The all_data is configured to /data/nextcloud-backups/app_data and restore points is /data/nextcloud-backups/restore-points.
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 by reviewing the backup:point:scan and backup:external:list commands against the configured paths /data/nextcloud-backups/app_data and /data/nextcloud-backups/restore-points. Compare the orphan and unverified states with the behavior described in issue #114. Done means the reported differential backups are correctly associated with their full backups and the external location lists without the shown error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- backend, cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100