среда, 16 октября 2019 г.

Upgrade pg_probackup

$ sudo dpkg --get-selections | grep hold

libicu55:amd64                                  hold
libpq5:amd64                                    hold
pg-probackup-10                                 hold
postgresql-10                                   hold
postgresql-client-10                            hold
postgresql-client-common                        hold
postgresql-common                               hold

$ sudo apt-mark unhold pg-probackup-10
Отмена фиксации для pg-probackup-10.


$ sudo apt update

$ sudo -u postgres pg_probackup-10 version

pg_probackup-10 2.2.3 (PostgreSQL 10.10)

$ sudo -u postgres pg_probackup-10 show -B /backup 
$ sudo -u postgres pg_probackup-10 validate -B /backup



$ time sudo -u postgres pg_probackup-10 backup -B /backup --instance main -b FULL --stream --compress --delete-wal --expired -j4

$ sudo -u postgres pg_probackup-10 show -B /backup
$ sudo -u postgres pg_probackup-10 validate -B /backup
.

Комментариев нет:

Отправить комментарий