Disaster recovery
- Last UpdatedSep 25, 2025
- 4 minute read
If a device with Edge Data Store () installed fails, use the following procedures to recover data from the failed device and restore it to a new device. The disaster recovery process is similar for both and systems and includes the following steps:
Definition:
Definition:
-
Back up the data from the failed device to another location.
-
Install on a new device. For instructions, see Installation.
-
Move the backed-up data to the new device.
-
Restore the backed-up data files to the new device.
-
Reenter credentials.
recovery
Definition:
Use the following procedures to recover data from a device. You need administrative access on the device to successfully restore on a system.
Definition:
Definition:
Create a backup of data from the failed device
To create a backup of data from the failed device:
-
If your device is still able to boot, verify that service has stopped. Use the to stop the service.
-
Locate the storage and configuration files.
Note: storage and configuration files are stored in the following locations:
Definition:
- `C:\ProgramData\OSIsoft\EdgeDataStore\Configuration`
- `C:\ProgramData\OSIsoft\EdgeDataStore\Storage`
Stream data files are stored in the following locations:
- Default namespace: `C:\ProgramData\OSIsoft\EdgeDataStore\Storage\data\default\default`
- Diagnostics namespace: `C:\ProgramData\OSIsoft\EdgeDataStore\Storage\data\default\diagnostics`
The ProgramData folder is typically hidden; to view it, go to the View tab in and select the Hidden Items checkbox.
Windows Explorer
-
Create a or file containing the storage and configuration directories, and move it to a device or other safe location. File transfer can be done with , , or external device.
.zip
.tar
Delete default storage and configuration folders
When is installed on the new device, the new system has a default configuration. To delete the default storage and configuration folders on the new device:
-
Use the to stop the service.
-
Once the service has stopped, navigate to the C:\ProgramData\OSIsoft\EdgeDataStore directory, and delete the default storage and configuration folders from the new device.
Restore backed up data files
To restore the data files on the new device:
-
Copy or unzip the backup storage and configuration files into the C:\ProgramData\OSIsoft\EdgeDataStore directory.
Note: The C: drive may not be the default drive letter of your system. Refer to My Computer, This PC, or open a command prompt to verify the default drive letter.
-
Use the to restart the service.
Reenter credentials
All credentials are encrypted for security purposes, so they cannot be copied or transferred. After the the storage and configuration files are copied to the new system, and the service has started, follow these steps to enter credentials:
-
Reenter the credentials for the operating system using calls.
-
After updating, restart the service.
The new device runs as the previous device, and contains all the data up to the point when the previous device failed.
Linux recovery
Use the following procedures to recover data from a device. Root access on the device is required.
Definition:
Definition:
Create a backup of data from the failed device
To create a backup of data from the failed device:
-
If your device is still able to boot, open a terminal window and verify that service has stopped using the following command:
sudo systemctl stop osisoft.edgedatastore
-
Locate the storage and configuration files.
Note: storage and configuration files are stored in the following locations:
Definition:
- `/usr/share/OSIsoft/EdgeDataStore/Configuration`
- `/usr/share/OSIsoft/EdgeDataStore/Storage`
Stream data files are stored in the following locations:
- Default namespace: `/usr/share/OSIsoft/EdgeDataStore/Storage/data/default/default`
- Diagnostics namespace: `/usr/share/OSIsoft/EdgeDataStore/Storage/data/default/diagnostics`
-
Create a .zip or .tar file containing the storage and configuration directories, and move it to a device or other safe location. Use , , or the external device to transfer the file.
WinSCP
Note: Using the cp command may result in a change in file ownership to the current user.
Move the files to the new device
When is installed on the new device, the new system has a default configuration. To copy the backed up storage and configuration folders to the new device:
-
Open a terminal window and stop the service using the following command:
sudo systemctl stop osisoft.edgedatastore
-
Once the service has stopped, navigate to the /usr/share/OSIsoft/EdgeDataStore directory and extract the zip or tar file in that directory using , , or external device.
WinSCP
Restore backed up data files
To restore the data files on the new device:
-
Delete the default storage and configuration folders from the /usr/share/OSIsoft/EdgeDataStore directory.
-
Copy or unzip the backup storage and configuration files into the EdgeDataStore directory.
-
If the ownership of the two directories does not match, update it to edgedatastore for the user and group.
-
Start the service with the following command:
sudo systemctl start osisoft.edgedatastore
-
Verify that is running with the following command:
sudo systemctl status osisoft.edgedatastore
Note: Default directory permissions are set to 755, and each subsequent file is 644. If you do not use tar it is possible to have permission issues with the recovery files. Tar matches via string name rather than the account ID/UID.
Reenter credentials
All credentials are encrypted for security purposes, so they cannot be copied or transferred. After the the storage and configuration files are copied to the new system, and the service has started, follow these steps to enter credentials:
-
Re-enter the credentials for the operating system using calls.
-
After updating, restart the service.
The new device runs as the previous device, and contains all the data up to the point when the previous device failed.