pg_probackup icon indicating copy to clipboard operation
pg_probackup copied to clipboard

Using pg_probackup do incremetal backup is always stuck,How can I fix this problem ?

Open cartooku opened this issue 4 years ago • 5 comments

When I using pg_probackup tool to backs up a database( The database capacity is about 600GB), the full backup usually successful at one time , but the incremental backup is always stuck.,which Keep running for several days, until I manually kill the relevant process。 full backup command: pg_probackup backup -B /paic/pgbackup/advicepg/pgrman -b full --progress --instance=advicepg --compress-algorithm=zlib incremental backup command: pg_probackup backup -B /paic/pgbackup/advicepg/pgrman -b page --progress --instance=advicepg --compress-algorithm=zlib

cartooku avatar Aug 22 '21 15:08 cartooku

1629645939(1)

cartooku avatar Aug 22 '21 15:08 cartooku

So can you tell me how to troubleshoot the problem that incremental backup always fails,and I'm looking forward to your reply,Thanks for your attension!

cartooku avatar Aug 22 '21 15:08 cartooku

[postgres@CQ2-BLM9600040 ~]$ ps -ef|grep pg_probackup postgres 193667 193012 0 10:15 pts/4 00:00:00 grep --color=auto pg_probackup postgres 268042 268030 99 03:05 ? 07:08:35 pg_probackup backup -B /paic/pgbackup/advicepg/pgrman -b page --progress --instance=advicepg --compress-algorithm=zlib --compress-level=1 -j 6 --log-level-file=verbose [postgres@CQ2-BLM9600040 ~]$

cartooku avatar Aug 23 '21 02:08 cartooku

@cartooku Have you configured WAL archiving?

Is there any error in logs?

on database server:

archive_command = '"install_dir/pg_probackup" archive-push -B "backup_dir" --instance instance_name --wal-file-name=%f [remote_options]'

deric avatar Aug 31 '21 15:08 deric

Hello! Can you provide the available output of the process before it is getting stuck?

gsmolk avatar Sep 03 '21 17:09 gsmolk