Size of PostgreSQL backup ./. Sybase DUMP

Поиск
Список
Период
Сортировка
От Matthias Apitz
Тема Size of PostgreSQL backup ./. Sybase DUMP
Дата
Msg-id YHmVYdr2uuMIz38Q@c720-r368166.fritz.box
обсуждение исходный текст
Ответы Re: Size of PostgreSQL backup ./. Sybase DUMP  (Laurenz Albe <laurenz.albe@cybertec.at>)
Список pgsql-general
Hello,

We migrated a customer from Sybase ASE 15.7 to PostgreSQL 11.10, both on
Linux server. With Sybase you create DUMP of only the database in
question, not the server, and the gzip'ed DUMP files is around 2,6 GByte in size.

For PostgreSQL we do backup with something like this cmd:

pg_basebackup -U ${DBSUSER} -Ft -z -D ${BACKUPDIR}-${DATE}-${NUM}

The resulting files

# ls -lh backup-20210416-3
insgesamt 999M
-rw------- 1 postgres postgres 999M 16. Apr 14:02 base.tar.gz
-rw------- 1 postgres postgres  17K 16. Apr 14:02 pg_wal.tar.gz

are less than 1 GByte.

Any ideas about the cause of the difference? Can the backup somehow be
checked without doing a recovery-restore in a new server?

Thanks

    matthias
-- 
Matthias Apitz, ✉ guru@unixarea.de, http://www.unixarea.de/ +49-176-38902045
Public GnuPG key: http://www.unixarea.de/key.pub
¡Con Cuba no te metas!  «»  Don't mess with Cuba!  «»  Leg Dich nicht mit Kuba an!
http://www.cubadebate.cu/noticias/2020/12/25/en-video-con-cuba-no-te-metas/



В списке pgsql-general по дате отправления:

Предыдущее
От: Condor
Дата:
Сообщение: Re: Question about PG_CONTROL_VERSION 1
Следующее
От: Laurenz Albe
Дата:
Сообщение: Re: Size of PostgreSQL backup ./. Sybase DUMP