× NETGEAR will be terminating ReadyCLOUD service by July 1st, 2023. For more details click here.
Orbi WiFi 7 RBE973
Reply

Re: Can restore configuration - This backup image is damaged, or the volumes do not match

dacarson
Aspirant

Can restore configuration - This backup image is damaged, or the volumes do not match

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.

Message 1 of 3

Accepted Solutions
dacarson
Aspirant

Re: Can restore configuration - This backup image is damaged, or the volumes do not match

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!

View solution in original post

Message 3 of 3

All Replies
Sandshark
Sensei

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.

Message 2 of 3
dacarson
Aspirant

Re: Can restore configuration - This backup image is damaged, or the volumes do not match

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!

Message 3 of 3
Top Contributors
Discussion stats
  • 2 replies
  • 1088 views
  • 0 kudos
  • 2 in conversation
Announcements