Postgres Backup and RestoreFor backing up a particular database in tar format pg_dump -U postgres -h 127.0.0.1 -Ft dbname > dbname.tar If you don't want to type password or use it inside script PGPASSWORD=pwd pg_dump -U postgres -h 127.0.0.1 -Ft dbname > dbname.tar Before yo...1 min read·mindwings.hashnode.devMar 2, 2022
Markdown 101Philosophy Markdown is a lightweight markup language with plain text formatting syntax. Its design allows it to be converted to many output formats. Markdown is often used to format readme files, for writing messages in online discussion forums, and ...3 min read·mindwings.hashnode.devApr 6, 2021
Cross Compiling Go Application for Raspberry PiCross Compiling Go Programs for Raspberry Pi Lets write a simple hello world program package main import "fmt" func main() { fmt.Println("Hello World") } Inside the project directory run the following command. This will create a binary compatibl...1 min read·mindwings.hashnode.devNov 12, 2020