Skip to content

Instantly share code, notes, and snippets.

View ShvaykaD's full-sized avatar
🎯
Focusing

Shvaika Dmytro ShvaykaD

🎯
Focusing
  • ThingsBoard
  • Kyiv, Ukraine
View GitHub Profile
@ShvaykaD
ShvaykaD / alarm-status-filter-example.json
Last active June 7, 2024 13:46 — forked from ashvayka/asset-profile-switch-example.json
Rule Chain examples for Rule Node documentation
{
"ruleChain": {
"additionalInfo": {
"description": ""
},
"name": "Alarm status filter example",
"type": "CORE",
"firstRuleNodeId": null,
"root": false,
"debugMode": false,
@ShvaykaD
ShvaykaD / upgrade-postgresql-service-centos-7.md
Created May 4, 2020 16:29
Upgrading PostgreSQL service from 9.x or 10.x to 11 version on CentOS 7
@ShvaykaD
ShvaykaD / upgrade-postgresql-service-ubuntu.md
Last active July 3, 2023 22:17 — forked from delameko/upgrade-postgres-9.5-to-9.6.md
Upgrading PostgreSQL service from 9.x or 10.x to 11 version on Ubuntu server

TL;DR

Create a backup:

sudo -Hiu postgres pg_dumpall > mybackup.sql

Install Postgres 11, and then: