TL;DR
Create a backup:
sudo -Hiu postgres pg_dumpall > mybackup.sqlInstall Postgres 11, and then:
| #!/bin/env bash | |
| set -e | |
| readonly VM="banana" | |
| readonly CPU="8" | |
| readonly MEM="8GB" | |
| readonly DSK="120GB" | |
| lxc init images:ubuntu/focal ${VM} -p default -p vm --vm |
TL;DR
Create a backup:
sudo -Hiu postgres pg_dumpall > mybackup.sqlInstall Postgres 11, and then: