Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # /usr/pgproee-9.6/bin/pg_probackup init -B /tmp/probackup/9.6/backup/full/ -D /var/lib/pgsql/9.6/data
- ERROR: Calculated CRC checksum does not match value stored in file.
- Either the file is corrupt, or it has a different layout than this program
- is expecting. The results below are untrustworthy.
- -- Понятно пересоздал с чексуммами
- # /usr/pgproee-9.6/bin/pg_probackup init -B /tmp/probackup/9.6/backup/full/ -D /tmp/probackup/9.6/data
- ERROR: backup catalog already exist and it's not empty
- -- Но почему погда при ошибке что то упало в репозитарий!
- # rm -rf /tmp/probackup/9.6/backup/full/*
- # /usr/pgproee-9.6/bin/pg_probackup init -B /tmp/probackup/9.6/backup/full/ -D /tmp/probackup/9.6/data
- -- Что произошло? Нет ни какой обратной связи?
- # ls -l /tmp/probackup/9.6/backup/full/
- total 4
- drwx------ 2 root root 6 Apr 17 16:34 backups
- -rw-r--r-- 1 root root 41 Apr 17 16:34 pg_probackup.conf
- drwx------ 2 root root 6 Apr 17 16:34 wal
- # pg_probackup backup -b full --stream
- -bash: pg_probackup: command not found
- -- Привет Вагнеру !!!
- # /usr/pgproee-9.6/bin/pg_probackup backup -b full --stream
- ERROR: required parameter not specified: BACKUP_PATH (-B, --backup-path)
- !!!! КАК ТАКАТО !!!
- # /usr/pgproee-9.6/bin/pg_probackup backup -b full --stream -B /tmp/probackup/9.6/backup/full/
- ERROR: Required parameter not specified: PGDATA (-D, --pgdata)
- !!!! ПРЕСТРЕЛИТЕ МЕНЯ !!!
- # /usr/pgproee-9.6/bin/pg_probackup backup -b full --stream -B /tmp/probackup/9.6/backup/full -D /tmp/probackup/9.6/data
- ERROR: could not connect to database root: FATAL: role "root" does not exist
- -- понятно
- # su - postgres -c "/usr/pgproee-9.6/bin/pg_probackup backup -b full --stream -B /tmp/probackup/9.6/backup/full -D /tmp/probackup/9.6/data"
- ERROR: cannot open directory "/tmp/probackup/9.6/backup/full/backups/OOK3RS": Permission denied
- !!! ААААА !!!
Advertisement
Add Comment
Please, Sign In to add comment