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

Problems backing up settings

Chris_tian
Aspirant

Problems backing up settings

Hello,

I own a ReadyNAS 104 for some time now. Every time I want to backup my settings I get the same problem.

First some general notes to my setup: I use three disks with one volume on each disk. The volumes are named DATEN, V01 and V02. They are mounted by the system on /DATEN, /V01 and /V02.

Now my problem: I try to create a configuration backup using the webinterface via Settings -> Configuration Backup option and selecting everything but the "Everything"-option. Then if I click on "Download Configuration Archive" there is a process started that zips all configurations. Unfortunately the line for cretaing the zip file is not created corectly. The zip-process-call starts as follows:
zip -r /tmp/config_backup.zip /tmp/config_restore_info /DATEN /V01 /V02/._share/Video2/afp.conf ...

Therefore it tries to compress all data on my first two volumes which is quite a lot. I was able to fix this by changing the /frontview/bin/create_config_backup file. The relevant part of the file is the following:
for arg in "$@"        
do
if [ "$arg" = "shares" -o "$arg" = "everything" ]; then
# data_file=`cat /tmp/datalist`
# share_list=`sed ':a;N;s/\n/ /g;ta' /tmp/sharelist`
# data_file_list=( "$data_file/._share/*/*.conf")
data_file_list=( "/*/._share")
file_list=(${file_list[*]} ${data_file_list[*]})
fi

The three commented lines are the original ones. They should have created something like
/DATEN/._share/Divers/afp.conf /V01/._share/Video1/afp.conf /V02/._share/Video2/afp.conf

But it seems there is a bug. My quick workaround is the one line below the commented ones. It just adds the complete ._share. It's no clean solution but it works.

The bug has been there for some versions of the firmware and did never change. Every time I update my device, the bug comes back. Therefore I thougt I should report it at last. Currently I'm using the version 6.1.6.

Can someone confirm this behaiviour? If yes: Are there some Netgear folk around who could forward it to the developers?

Kind regards,

Christian
Message 1 of 9
StephenB
Guru

Re: Problems backing up settings

Chris tian wrote:
...I try to create a configuration backup using the webinterface via Settings -> Configuration Backup option and selecting everything but the "Everything"-option. Then if I click on "Download Configuration Archive" there is a process started that zips all configurations...
I have confirmed that this backup fails with 6.1.6 on my RN102.

When I save the archive a new tab launches (https://rn102/dbbroker) for which chrome shows a "loading" status. After some minutes I get a gateway timeout (504 error). Some time after that the NAS locked up, and I needed to pull the plug to resolve it. Upon reboot, the OS partition usage was ok.

I didn't attempt to confirm your analysis (but have no reason to doubt it).

You should probably open an email support ticket. I'll PM a couple of people also, just to make them aware of it.
Message 2 of 9
Chris_tian
Aspirant

Re: Problems backing up settings

Thanks for the confirmation and sorry for not responding to it earlier. I thought this board has an email-notification on new messages like a lot of other forum systems and therefore didn't check the webpage. Seems like that has been a mistake.

I'll send a mail to netgear and report back if I get any response.

Edit: I've found the button to get messages. So I was jutst wrong in thinking it would be set automatically for my own toppics.
Message 3 of 9
Chris_tian
Aspirant

Re: Problems backing up settings

Just a short status report:

I had a mail exchange with one of the service people and was able to convince him, that my problem really exists. No he want to put me through to the next support level.
Message 4 of 9
Chris_tian
Aspirant

Re: Problems backing up settings

The Support was able to reproduce my problem. I've got told that the problem will be fixed in release 6.2.0 (without any exact release date).
Message 5 of 9
StephenB
Guru

Re: Problems backing up settings

I was told that this problem is specific to OS6 systems that are running flexraid with more than one volume.
Message 6 of 9
Chris_tian
Aspirant

Re: Problems backing up settings

That's quite possible. Thanks for the additional information. But it shouldn't be to hard to fix for someone with a little bash scripting experience. My workaround was not really a good solution (it was just the fastest) but I think within a few hours it should be possible to find something that works as originaly intended. (Either a short loop or a find or some bash magic.)

Anyway, I think that the Netgear support team now thinks about the problem and possibly has already found an easy and elegant solution.
Message 7 of 9
StephenB
Guru

Re: Problems backing up settings

My info came from Netgear development, so it is on their radar, not just support's.
Message 8 of 9
Chris_tian
Aspirant

Re: Problems backing up settings

That's great news. Thanks.
Message 9 of 9
Top Contributors
Discussion stats
  • 8 replies
  • 4695 views
  • 0 kudos
  • 2 in conversation
Announcements