# Error completing \`gwcmd\` CLI gateway backup restoration

**URL:** <https://forum.inductiveautomation.com/t/error-completing-gwcmd-cli-gateway-backup-restoration/33716>\
**Category:** Ignition\
**Tags:** ignition80\
**Created:** [April 6, 2020, 5:38pm UTC](https://forum.inductiveautomation.com/t/error-completing-gwcmd-cli-gateway-backup-restoration/33716 "2020-04-06T17:38:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sean.oneil](https://avatars.discourse-cdn.com/v4/letter/s/ed655f/32.png) [@sean.oneil](https://forum.inductiveautomation.com/u/sean.oneil)\
**Post date:** [April 6, 2020, 5:38pm UTC](https://forum.inductiveautomation.com/t/error-completing-gwcmd-cli-gateway-backup-restoration/33716/1 "2020-04-06T17:38:14Z")

</div>

Hi,

I'm running Ignition 8.0.10 on Ubuntu 18.04 LTS servers and VMs and am having trouble restoring a `.gwbk` file through the `/usr/local/bin/ignition/gwcmd` CLI utility on both.

I can restore a backup well through the gateway web portal but when I execute the command `sudo /usr/local/bin/ignition/gwcmd --restore mf_ignition_gateway_backup_2020_04_06__07_00_01_UTC.gwbk --promptyes --disabled` I get the following message and the gateway stays in its old state.

> Restoration success message was not received from the Gateway. Will attempt to place a \_\_restore.gwbk file in the data folder.  
> mf\_ignition\_gateway\_backup\_2020\_04\_06\_\_07\_00\_01\_UTC.gwbk

I am unable to find the `__restore.gwbk` file it mentions and don't notice any abnormalities in the more recent entries in the `wrapper.log` file shown below. You can see the various attempts I made to restore a backup.

> INFO | jvm 1 | 2020/04/06 16:39:58 | I [g.ModuleManager] [16:39:58]: Starting up module 'com.inductiveautomation.opcua.drivers.modbus' v6.0.10 (b2020031912)... module-name=Modbus Driver  
> INFO | jvm 1 | 2020/04/06 16:39:59 | I [g.InternalDatabaseManager] [16:39:59]: Upgrading schema for module "com.inductiveautomation.opcua.drivers.modbus" module-name=Modbus Driver  
> INFO | jvm 1 | 2020/04/06 16:39:59 | I [g.InternalDatabaseManager] [16:39:59]: Upgrading schema for module "com.inductiveautomation.opcua.drivers.modbus" module-name=Modbus Driver  
> INFO | jvm 1 | 2020/04/06 16:39:59 | I [g.ModuleManager] [16:39:59]: Restarting module "com.inductiveautomation.opcua.drivers.modbus"  
> INFO | jvm 1 | 2020/04/06 16:39:59 | I [g.ModuleManager] [16:39:59]: Shutting down module 'com.inductiveautomation.opcua.drivers.modbus' v6.0.10 (b2020031912)... module-name=Modbus Driver  
> INFO | jvm 1 | 2020/04/06 16:39:59 | I [g.ModuleManager] [16:39:59]: Shutdown of module "com.inductiveautomation.opcua.drivers.modbus" completed in 5 ms module-name=Modbus Driver  
> INFO | jvm 1 | 2020/04/06 16:39:59 | I [g.ModuleManager] [16:39:59]: Starting up module 'com.inductiveautomation.opcua.drivers.ablegacy' v5.0.10 (b2020031912)... module-name=Allen-Bradley Driver  
> INFO | jvm 1 | 2020/04/06 16:39:59 | I [g.ModuleManager] [16:39:59]: Starting up module 'com.inductiveautomation.opcua.drivers.modbus' (v6.0.10 (b2020031912))...  
> INFO | jvm 1 | 2020/04/06 16:39:59 | I [g.ModuleManager] [16:39:59]: Starting up module 'com.inductiveautomation.opcua.drivers.modbus' v6.0.10 (b2020031912)... module-name=Modbus Driver  
> INFO | jvm 1 | 2020/04/06 16:40:00 | I [g.ModuleManager] [16:40:00]: Starting up module 'com.inductiveautomation.reporting' v5.0.10 (b2020031912)... module-name=Reporting  
> INFO | jvm 1 | 2020/04/06 16:40:00 | I [IgnitionGateway] [16:40:00]: Ignition[state=STARTING] ContextState = RUNNING  
> INFO | jvm 1 | 2020/04/06 16:40:00 | I [IgnitionGateway] [16:40:00]: Gateway started in 38 seconds.  
> INFO | jvm 1 | 2020/04/06 16:40:32 | W [g.LicenseManager] [16:40:32]: Could not read license from HASP key. Driver not found  
> INFO | jvm 1 | 2020/04/06 16:44:22 | I [P.InternalDatabase] [16:44:22]: Creating auto-backup of internal database "config.idb"...  
> INFO | jvm 1 | 2020/04/06 16:44:22 | I [P.InternalDatabase] [16:44:22]: Created auto-backup of internal database "config.idb" in 66 ms  
> INFO | jvm 1 | 2020/04/06 16:55:11 | I [GcuInterface] [16:55:11]: Received RestoreGatewayBackupRequest  
> INFO | jvm 1 | 2020/04/06 16:55:13 | I [GcuInterface] [16:55:13]: Returning RestoreGatewayBackupResponse (2319ms)  
> INFO | jvm 1 | 2020/04/06 17:00:28 | W [ClockDriftDetector] [17:00:28]: Clock drift, degraded performance, or pause-the-world detected.  
> INFO | jvm 1 | 2020/04/06 17:00:28 | Max allowed deviation=1000ms, actual deviation=1415ms  
> INFO | jvm 1 | 2020/04/06 17:08:10 | I [GcuInterface] [17:08:10]: Received RestoreGatewayBackupRequest  
> INFO | jvm 1 | 2020/04/06 17:08:10 | I [GcuInterface] [17:08:10]: Returning RestoreGatewayBackupResponse (6ms)  
> INFO | jvm 1 | 2020/04/06 17:08:26 | I [GcuInterface] [17:08:26]: Received RestoreGatewayBackupRequest  
> INFO | jvm 1 | 2020/04/06 17:08:26 | I [GcuInterface] [17:08:26]: Returning RestoreGatewayBackupResponse (0ms)  
> INFO | jvm 1 | 2020/04/06 17:10:08 | I [GcuInterface] [17:10:08]: Received RestoreGatewayBackupRequest  
> INFO | jvm 1 | 2020/04/06 17:10:08 | I [GcuInterface] [17:10:08]: Returning RestoreGatewayBackupResponse (1ms)  
> INFO | jvm 1 | 2020/04/06 17:10:22 | I [GcuInterface] [17:10:22]: Received RestoreGatewayBackupRequest  
> INFO | jvm 1 | 2020/04/06 17:10:22 | I [GcuInterface] [17:10:22]: Returning RestoreGatewayBackupResponse (0ms)  
> INFO | jvm 1 | 2020/04/06 17:17:12 | I [GcuInterface] [17:17:12]: Received RestoreGatewayBackupRequest  
> INFO | jvm 1 | 2020/04/06 17:17:12 | I [GcuInterface] [17:17:12]: Returning RestoreGatewayBackupResponse (1ms)  
> INFO | jvm 1 | 2020/04/06 17:17:23 | I [GcuInterface] [17:17:23]: Received RestoreGatewayBackupRequest  
> INFO | jvm 1 | 2020/04/06 17:17:23 | I [GcuInterface] [17:17:23]: Returning RestoreGatewayBackupResponse (0ms)

Any thoughts? Not sure if there is something obvious I'm missing here or if there are other logfiles I can check for errors.
