Hacktoberfest 2026:维护者为十月标记出来的 issue,仍然开放、适合新手。 浏览 Hacktoberfest issue

Could not open Zip Archive during backup restoring

未关闭
#502 2 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

还没有人认领这个 Issue。

评估

难度
4/5
预计耗时
3-5 天
新手友好度
25/100
Issue 类型
缺陷
描述清晰度
需要澄清
活跃度
停滞
技术栈
php
领域
backend

调研方向

从 occ backup:point:restore 命令以及终端输出中显示的数据包提取步骤开始;如果列出的备份点仍然可用,则使用它。追查为什么 data-ee317c64-365a-4684-a137-ef08855dfafa.zip 无法打开,然后验证完整备份是否成功恢复其数据块。

由索引模型根据 Issue 内容生成。

描述

Hi,

when trying to restore a full backup from scratch from my workstation, the chunks of the found data packs cannot be extracted, giving the error message: "Could not open Zip Archive (21)" . I'm using Nextcloud Hub 3 (25.0.4) with the Backup app version 1.2.0 .

Has anybody had a similar issue? Any ideas how to tackle it? Thank you very much!

Here is part of the terminal output:

./occ backup:point:restore 20230312070011-full-NwFg1nXomSbt1CG
Restoring Point: 20230312070011-full-NwFg1nXomSbt1CG
Date: 2023-03-12 07:00:11
Checking Health status: ok


WARNING! You are about to initiate the complete restoration of your instance!
All data generated since the creation of the selected backup will be lost...

Your instance will come back to a previous state from 3 hours, 0 minutes and 27 seconds ago.

Do you really want to continue this operation ? (y/N) y

> Enabling maintenance mode
> Restoring 20230312070011-full-NwFg1nXomSbt1CG

 > Found data pack: data
   > will be extracted in /home/user/nextclouddata/
    - enter a new absolute path, or type yes to confirm this location or no to ignore this part of the backup: yes
   > extracting data to /home/user/nextclouddata/
   > Chunk: data-ee317c64-365a-4684-a137-ef08855dfafa.zip (11551 files) Could not open Zip Archive (21)
主要语言
PHP
星标
271
派生
37
PR 合并指标
30 天内没有已合并 PR

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

nextcloud/backup 的其他 Issue

查看 nextcloud/backup 的全部 Issue

相似的 Issue

更多 PHP Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。