You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/defender-for-iot/organizations/back-up-restore-sensor.md
+33-10Lines changed: 33 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,21 +55,27 @@ We recommend saving your OT sensor backup files on your internal network. To do
55
55
56
56
1. Create a shared folder on the external SMB server, and make sure that you have the folder's path and the credentials required to access the SMB server.
57
57
58
-
1. Sign into your OT sensor via SFTP and create a directory for your backup files. Run:
58
+
1. Sign into your OT sensor via SSH using the [*admin*](roles-on-premises.md#access-per-privileged-user) user.
59
59
60
+
If you're using a sensor version earlier than 23.2.0, use the [*cyberx_host*](roles-on-premises.md#legacy-users) user instead. Skip the next step for running `system shell` and jump directly to creating a directory for your backup files.
61
+
62
+
1. Access the host by running the `system shell` command. Enter the admin user's password when prompted and press **ENTER**.
63
+
64
+
1. Create a directory for your backup files. Run:
60
65
```bash
61
66
sudo mkdir /<backup_folder_name>
62
67
63
68
sudo chmod 777 /<backup_folder_name>/
64
69
```
65
70
66
71
1. Edit the `fstab` file with details about your backup folder. Run:
Set the `backup_directory_path` to the folder on your OT sensor where you want to save your backup files.
105
+
Follow the instructions on screen and validate that the settings are correct on each step.
106
+
107
+
To move to the next step without making changes, press **ENTER**.
108
+
109
+
You'll be prompted to `Enter path to the mounted backups folder`. For example:
110
+
111
+

112
+
113
+
114
+
The factory default value is `/opt/sensor/persist/backups`.
115
+
116
+
Set the value to the folder you created in the first few steps, using the following syntax: `/<backup_folder_name>`. For example:
117
+
118
+

119
+
120
+
121
+
Confirm the change by pressing **ENTER** and continue with the rest of the steps until the end.
100
122
101
123
## Restore an OT sensor
102
124
@@ -105,16 +127,17 @@ The following procedures describe how to restore your sensor using a backup file
105
127
### Restore an OT sensor from the sensor GUI
106
128
107
129
1. Sign into the OT sensor via SFTP and download the backup file you want to use to a location accessible from the OT sensor GUI.
108
-
109
130
Backup files are saved on your OT sensor machine, at `/var/cyberx/backups`, and are named using the following syntax: `<sensor name>-backup-version-<version>-<date>.tar`.
110
131
111
132
For example: `Sensor_1-backup-version-2.6.0.102-2019-06-24_09:24:55.tar`
112
133
113
134
> [!IMPORTANT]
114
-
>- Make sure that the backup file you selectuses the same OT sensor software version that's currently installed on your OT sensor.
135
+
> Make sure that the backup file you select uses the same OT sensor software version that's currently installed on your OT sensor.
115
136
>
116
-
> - Your backup file must be one that had been generated automatically or manually via the CLI. If you're using a backup file generated manually by the GUI, you'll need to contact support to use it to restore your sensor.
117
-
137
+
> Your backup file must be one that had been generated automatically or manually via the CLI. If you're using a backup file generated manually by the GUI, contact support to use it to restore your sensor.
138
+
139
+
140
+
118
141
1. Sign into the OT sensor GUI and select **System settings** > **Sensor management** > **Health and troubleshooting** > **Backup & restore** > **Restore**.
119
142
120
143
1. Select **Browse** to select your downloaded backup file. The sensor will start to restore from the selected backup file.
@@ -133,4 +156,4 @@ For more information, see the [OT sensor CLI reference](cli-ot-sensor.md#start-a
133
156
134
157
## Next steps
135
158
136
-
For more information, see [Maintain OT network sensors from the GUI](how-to-manage-individual-sensors.md).
159
+
For more information, see [Maintain OT network sensors from the GUI](how-to-manage-individual-sensors.md).
0 commit comments