pg_probackup
pg_probackup copied to clipboard
Dividing WAL segments by directories
Hi! I suggest dividing WALs from the archive into different directories, because when writing a large number of segments to the network directory (30-40 thousand per day, NFS for example) for several weeks, there are problems with the availability of the directory.
You can divide by dates hours or segment names (for example, as in barman) Thanks!
Hello! Looks like a must have feature and, since we must be able to determine the segment location for WAL parsing, the barman way of grouping them per log segment (one directory for 256 segments) is a good way to do it. Thank you for the feedback!
I'am usin NFS storage also. It's good to have something like /backup/instance/wal/YY-MM-DD/ subdirs
Hi! We prepare this enhancement in the 2.5.7 release https://github.com/postgrespro/pg_probackup/pull/500