nextcloud / nextcloud/nextcloudpi
ncp-restore:"tar: Unexpected EOF in archive" restore backup not possible NextcloudPi
Nobody has claimed this yet.
- Dominant language
- Shell
- Stars
- 2.9k
- Forks
- 318
- PR merge metrics
- No merged PRs in 30d
Description
Hi there,
i set up an new ncpi and want to restore my former data and files.
Unfortunately it is not possible. I set up the new ncp, ran apt-update and apt-upgrade (following this instruction: https://help.nextcloud.com/t/how-to-restore-nextcloudpi-backup-using-web-panel/126312)
And this is what happens:
[ nc-restore ] (Mon Oct 24 06:57:38 BST 2022)
check free space...
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
extracting backup file /media/backup/nextcloud-bkp_20221022_1666404010.tar...
I also tried to restore using ncp-config.
Can you help me?
Thanks
Edit 1:
This appears after a while:
[ nc-restore ] (Mon Oct 24 06:57:38 BST 2022)
check free space...
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
extracting backup file /media/backup/nextcloud-bkp_20221022_1666404010.tar...
tar: Unexpected EOF in archive
tar: rmtlseek not stopped at a record boundary
tar: Error is not recoverable: exiting now
Cleanup...
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 ncp-restore and ncp-config entry points and reproduce the failure using /media/backup/nextcloud-bkp_20221022_1666404010.tar. Check the tar extraction and cleanup path around the reported Unexpected EOF; done means a valid backup restores successfully without the extraction errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- raspberry-pi, shell
- Domain
- cli, devops
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100