- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
Re: Can restore configuration - This backup image is damaged, or the volumes do not match
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I found that I needed to do a backup/factory reset/restore as my drives went read only with a RAID issue as described here:
https://community.netgear.com/t5/Using-your-ReadyNAS-in-Business/Can-t-destroy-erase-raid-volume/m-p...
I backed up my system configuration by using the System->Settings->Configuration Backup with Everything checked. I backed up all my data using a local USB drive. I did the factory reset and am now in the process of restoring everything from the USB drive.
However, I can not restore my system configuration. When I downloaded it, the Safari web browser "helpfully" unzipped the file. I made no changes and zipped it back up again for the restore. However, when I try to restore it, I get an error "This backup image is damaged, or the volumes do not match."
I have verified that the volumes match. I backed up the configuration a second time, and did a diff between the two and /tmp/sharelist is identical.
Is there a special way to re-zip the configuration zip file? Unfortunately, I don't have the original zipped one.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply. This helped me solve the problem. I examined the file on the ReadyNAS (ssh) and I discovered the problem.
The files were in a folder called "_READYNAS_CONFIG_hostname_date_time" which I compressed and tried to restore with. When looking at a successful config archive file, I found that the folder should not be part of the file path.
That is, in my failing zip file the files were:
_READYNAS_CONFIG_hostname_date_time/data/...
_READYNAS_CONFIG_hostname_date_time/etc/...
_READYNAS_CONFIG_hostname_date_time/media/...
_READYNAS_CONFIG_hostname_date_time/tmp/...
But the correct storage is:
data/...
etc/...
media/...
tmp/...
Once I rebuilt the zip file without the root directory, it worked!
All Replies
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Re: Can restore configuration - This backup image is damaged, or the volumes do not match
The Linux file command reports them as being a zip that requires version 2.0 to extract. 7-zip reports they are from a Linux host using the deflate V2.0 method. How much of that the NAS checks before deciding if it's a valid configuration file, I can't say. Your best bet is probably to use SSH and zip it on the NAS itself. I know I did once make changes inside a configuration file, but I forget now how I did that, assuming it would still work many versions of the OS later.
BTW, if you had any apps installed, be sure to re-install them before restoring the configuration.
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your reply. This helped me solve the problem. I examined the file on the ReadyNAS (ssh) and I discovered the problem.
The files were in a folder called "_READYNAS_CONFIG_hostname_date_time" which I compressed and tried to restore with. When looking at a successful config archive file, I found that the folder should not be part of the file path.
That is, in my failing zip file the files were:
_READYNAS_CONFIG_hostname_date_time/data/...
_READYNAS_CONFIG_hostname_date_time/etc/...
_READYNAS_CONFIG_hostname_date_time/media/...
_READYNAS_CONFIG_hostname_date_time/tmp/...
But the correct storage is:
data/...
etc/...
media/...
tmp/...
Once I rebuilt the zip file without the root directory, it worked!