popovnv

Untitled

Apr 17th, 2017
246
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 2.01 KB | None | 0 0
  1. # /usr/pgproee-9.6/bin/pg_probackup init -B /tmp/probackup/9.6/backup/full/ -D /var/lib/pgsql/9.6/data
  2. ERROR: Calculated CRC checksum does not match value stored in file.
  3. Either the file is corrupt, or it has a different layout than this program
  4. is expecting. The results below are untrustworthy.
  5.  
  6. -- Понятно пересоздал с чексуммами
  7.  
  8. # /usr/pgproee-9.6/bin/pg_probackup init -B /tmp/probackup/9.6/backup/full/ -D /tmp/probackup/9.6/data
  9. ERROR: backup catalog already exist and it's not empty
  10.  
  11. -- Но почему погда при ошибке что то упало в репозитарий!  
  12.  
  13. # rm -rf /tmp/probackup/9.6/backup/full/*
  14.  
  15. # /usr/pgproee-9.6/bin/pg_probackup init -B /tmp/probackup/9.6/backup/full/ -D /tmp/probackup/9.6/data
  16.  
  17. -- Что произошло? Нет ни какой обратной связи?
  18.  
  19. # ls -l /tmp/probackup/9.6/backup/full/
  20. total 4
  21. drwx------ 2 root root  6 Apr 17 16:34 backups
  22. -rw-r--r-- 1 root root 41 Apr 17 16:34 pg_probackup.conf
  23. drwx------ 2 root root  6 Apr 17 16:34 wal
  24.  
  25. # pg_probackup backup -b full --stream
  26. -bash: pg_probackup: command not found
  27.  
  28. -- Привет Вагнеру !!!
  29.  
  30. # /usr/pgproee-9.6/bin/pg_probackup backup -b full --stream
  31. ERROR: required parameter not specified: BACKUP_PATH (-B, --backup-path)
  32.  
  33. !!!! КАК ТАКАТО !!!
  34.  
  35. # /usr/pgproee-9.6/bin/pg_probackup backup -b full --stream -B /tmp/probackup/9.6/backup/full/
  36. ERROR: Required parameter not specified: PGDATA (-D, --pgdata)
  37.  
  38. !!!! ПРЕСТРЕЛИТЕ МЕНЯ !!!
  39.  
  40. # /usr/pgproee-9.6/bin/pg_probackup backup -b full --stream -B /tmp/probackup/9.6/backup/full -D /tmp/probackup/9.6/data
  41. ERROR: could not connect to database root: FATAL:  role "root" does not exist
  42.  
  43. -- понятно
  44.  
  45. # 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"
  46. ERROR: cannot open directory "/tmp/probackup/9.6/backup/full/backups/OOK3RS": Permission denied
  47.  
  48. !!! ААААА !!!
Advertisement
Add Comment
Please, Sign In to add comment