Backups
Data in Yandex IoT Core is stored securely and replicated within the Yandex.Cloud infrastructure. You can view:
- Lists of registries.
- Information about registries.
- Lists of registry certificates.
- Lists of registry devices.
- Information about devices.
- Lists of device certificates.
- Lists of device aliases.
Warning
Registry and device passwords are not backed up. We recommend saving them on your own.
Getting a list of registries
- In the management console, select the folder where you want to get a list of registries.
- Select the Yandex IoT Core.
- The Registries page shows the list of registries.
If you don't have the Yandex.Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
Get a list of registries in the folder:
yc iot registry list
Result:
+----------------------+-------------+
| ID | NAME |
+----------------------+-------------+
| b91ki3851hab9m0l68je | my-registry |
+----------------------+-------------+
You can get a list of registries using the list API method.
Getting information about a registry
- In the management console, select the folder where the registry is located.
- Select the Yandex IoT Core.
- Select the registry.
- The Overview page shows the registry details.
If you don't have the Yandex.Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
Get detailed information about the registry:
yc iot registry get <registry name>
Result:
id: b91ki3851hab9m0l68je
folder_id: aoek49ghmknnpj1ll45e
created_at: "2019-05-28T11:29:42.420Z"
name: my-registry
You can get detailed information about a registry using the get API method.
Getting a list of registry certificates
- In the management console, select the folder where the registry is located.
- Select the Yandex IoT Core.
- Select the registry.
- On the Overview page, go to the Certificates section.
If you don't have the Yandex.Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
Get a list of registry certificates:
yc iot registry certificate list --registry-name my-registry
Result:
+------------------------------------------+---------------------+
| FINGERPRINT | CREATED AT |
+------------------------------------------+---------------------+
| 0f511ea32139178edf73afb953a9cc398f33adf1 | 2019-05-29 16:46:23 |
| 589ce1605019eeff7bb0992f290be0cd708ecc6c | 2019-05-29 16:40:48 |
+------------------------------------------+---------------------+
You can get a list of registry certificates using the listCertificates API method.
Getting a list of registry devices
- In the management console, select the folder where the registry is located.
- Select the Yandex IoT Core.
- Select the registry.
- Go to the Devices tab.
If you don't have the Yandex.Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
Get a list of devices in the registry:
yc iot device list --registry-name my-registry
Result:
+----------------------+-----------+
| ID | NAME |
+----------------------+-----------+
| b9135goeh1uc1s2i07nm | my-device |
+----------------------+-----------+
You can get a list of registry devices using the list API method.
Getting information about a device
- In the management console, select the folder where the device is located.
- Select the Yandex IoT Core.
- Select the registry where the device is located.
- Go to the Devices tab.
- Select the device.
- The Overview page shows the device details.
If you don't have the Yandex.Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
Get detailed information about a device:
yc iot device get my-device
Result:
id: b9135goeh1uc1s2i07nm
registry_id: b91ki3851hab9m0l68je
created_at: "2019-05-28T16:08:30.938Z"
name: my-device
You can get detailed information about a device using the get API method.
Getting a list of device certificates
- In the management console, select the folder where the device is located.
- Select the Yandex IoT Core.
- Select the registry where the device is located.
- Go to the Devices tab.
- Select the device.
- On the Overview page, go to the Certificates section.
If you don't have the Yandex.Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
View the list of device certificates:
yc iot device certificate list --device-name my-device
Result:
+------------------------------------------+---------------------+
| FINGERPRINT | CREATED AT |
+------------------------------------------+---------------------+
| df3cc4f337eba01a264803d15b119e2d33943315 | 2019-05-29 17:14:36 |
| 65e5b050069da5ca5996a4a8a92514098b0a5dd1 | 2019-05-29 17:14:18 |
+------------------------------------------+---------------------+
You can get a list of device certificates using the listCertificates API method.
Getting a list of device aliases
- In the management console, select the folder where the device is located.
- Select the Yandex IoT Core.
- Select the registry where the device is located.
- Go to the Devices tab.
- Select the device.
- On the Overview page, go to the Aliases section.
If you don't have the Yandex.Cloud command line interface yet, install and initialize it.
The folder specified in the CLI profile is used by default. You can specify a different folder using the --folder-name
or --folder-id
parameter.
You can only get a list of aliases for all devices in the registry.
Get a list of aliases for all devices in the registry:
yc iot registry list-device-topic-aliases my-registry
Result:
+----------+----------------------------------------+----------------------+
| ALIAS | TOPIC PREFIX | DEVICE ID |
+----------+----------------------------------------+----------------------+
| commands | $devices/arenak5ciqss6pbas6js/commands | arenak5ciqss6pbas6js |
+----------+----------------------------------------+----------------------+
You can get a list of device aliases using the get API method.