backup
backup copied to clipboard
Could not open Zip Archive during backup restoring
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)
Have you made sure the PHP extension "zip" isn't missing?
Thanks for the tip @Kisaragi-ng , but the PHP extension "zip" is not missing.
I do have some issues with the backed-up installation - some warnings in the nextcloud admin overview and when trying to run "occ" I get " Memcache \OC\Memcache\APCu not available for local cache (Is the matching PHP module installed and enabled?) " - however these issues are not present in the new installation (same PHP version), where I am trying to restore the previous data. Do you think this could be causing the problem?
I will try to investigate further and report back. In the meantime any other ideas are very welcomed :)