pg_rman icon indicating copy to clipboard operation
pg_rman copied to clipboard

Add --exclude-snapshots option, which makes exclude pg_logical/snapshots

Open harukat opened this issue 11 months ago • 1 comments

If there are many large file size temporary files or logical replication snapshot files in the database cluster directory, it will take longer to get a full backup. These files are not likely to be used after the restore. Therefore, I have added an option to exclude these files when obtaining full backups.

Since pg_basebackup always excludes pgsql_tmp, it is possible to always exclude pgsql_tmp and make only snapshots optional. Please let us know what you think.

harukat avatar Dec 18 '24 10:12 harukat

It was pointed out to me that pgsql_tmp is already excluded in the current code, so I'll fixed it.

harukat avatar Dec 20 '24 02:12 harukat