How to recovery database when it is broken.

Zyxel_Stanley Posts: 1,374  Zyxel Employee
First Anniversary 10 Comments Friend Collector First Answer
edited June 2022 in Maintenance
When file system broken, the device is unable boot up successfully.
And may display error log like:
mount: wrong fs type, bad option, bad superblock on /dev/loop0,
       missing codepage or other error
You can the follow this steps to recovery device database.(Console cable is required)

(1) Plug-in power cable and enter to debug mode.

(2) Enter at command:
a. atcd 0
b. atkz -f -l
c. atgof

(3) After device boots up, connect your network cable to USG Port1 and change IP address as the same subnet in

(4) PC access to USG FTP by and upload .db file to to USG.
a. bin
b. hash
c. put *the file path of .db*

(5) After uploaded successfully then do hardware reboot again.
Then system should able boots up successfully.