Search Postgresql Archives

Re: how can I use "pg_basebackup" and not include pg_log of master ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Mar 20, 2017 at 9:28 PM, lin <jluwln@xxxxxxx> wrote:
>    all. I use "pg_basebackup" to make slave, but the master has too large
> logs of pg_log, How Can I use "pg_basebackup" but not include logs of
> "pg_log" ?

Unfortunately not, there have been several discussions about being
able to define a blacklist of paths when taking a backup but nothing
has showed up in the code tree. For log files, there is a trick
though: you can define log_directory with an absolute path pointing
out of PGDATA so those logs won't be included in base backups.
-- 
Michael


-- 
Sent via pgsql-general mailing list (pgsql-general@xxxxxxxxxxxxxx)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux