Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1ensX7-00015E-Mq for pgsql-general@arkaria.postgresql.org; Mon, 19 Feb 2018 20:59:33 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ensX6-0005V1-G4 for pgsql-general@arkaria.postgresql.org; Mon, 19 Feb 2018 20:59:32 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1ensX6-0005Uk-1p for pgsql-general@lists.postgresql.org; Mon, 19 Feb 2018 20:59:32 +0000 Received: from mail-qt0-x243.google.com ([2607:f8b0:400d:c0d::243]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1ensX2-0000w9-Pe for pgsql-general@lists.postgresql.org; Mon, 19 Feb 2018 20:59:30 +0000 Received: by mail-qt0-x243.google.com with SMTP id g60so5717234qtd.11 for ; Mon, 19 Feb 2018 12:59:28 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=dG8LmUSIRriuVFAaO9+sxZc2RQ278ahQPz3HWS+Vu5U=; b=RoDB+BuG4Xpfk/i0WC6ZebJ06DMY+uqTJ+8WCTBoHAy6hzxayop+Lkf2QQqZIZcPpv 6YXxkIl0y6wuhM06b2KSIANFK0mSXufA1IlPQ2/8MgsnZw1sYnZ/MMFSNmWoQM6KVUwt np+0ai6F9PaJoIWmOH7iTIY81J27yrseg2m/mYlyadLCMjPZjuI0tNt7rvdEIvM9G4w1 7ygwOF65aR/fBnz2+vkec0vU8UUKsp8kYG1Q9hh4+f+UxiW4TzMVy8EDVFJSDkeSjtk9 pO0ny5CrCDLHv7d2jErQ9AkP9SFQvCFB7SPCDhkE54EQw6yEccG1JmNAIr1jNrjkBgSV jEEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=dG8LmUSIRriuVFAaO9+sxZc2RQ278ahQPz3HWS+Vu5U=; b=lm5/34zvH5CAJaDBa8Oy2IBvwCdplkg6ueMQLxvvHGUl8uGhkBgLJshezZOODzvyKp 5nrN51Si19prqVAdtV1XQXhAmQcQh9dwunqZEmpif9e+2ohulX9TLWXH8GBmGdubjT8X FxL3UJ4CHDXugNyEF2EYE8Nq3nFhLkAwmrhZi2DPjUMP/bd9D5HC2KdeHKHWMshmBweD 6wT3mrX2UbHLcltVHcFJTihUPRhN12kXwWY0x2ngRt/yKKDLovmgbQzsc/x3Sz2TaBse wley8TFqp4pZL0gj1ZkDxQ9P2nfPZTo/vWmDUkeMicOQy+s8th5fJK2sqMwR0LVFXEPo TNGw== X-Gm-Message-State: APf1xPBWGcVZP4hp8qp63ETM13uf+Bp2ILFosHtKjz9TmUyjLoAdt7EH ekD8OpnrtM5gCsF6CvBEJtDWeeaJ0j2t2WhBeUm83KHdZxbNUG/DJgsA4dP7Fma/Aa/2S/ugcMG J0uDC/ezj2cx8kp0VkeZyqJJGcBYhVLogTSdKkP++ekqgu+UB9n4Lql8V55RK2Xc+WVv6ysSZDd TmERHS08dxnhk8HA1MvU5r7iw5 X-Google-Smtp-Source: AH8x226IOr5YY6PR59hPWX4un1vThi+cHHkvnjs4uxlRAf/ZZt/oUF0F0pqXLmgVSFA2cUg7yp57EQ== X-Received: by 10.237.38.135 with SMTP id q7mr25252780qtd.86.1519073967652; Mon, 19 Feb 2018 12:59:27 -0800 (PST) Received: from alderaan.marques ([181.31.255.12]) by smtp.googlemail.com with ESMTPSA id p19sm6314737qtk.74.2018.02.19.12.59.25 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Feb 2018 12:59:26 -0800 (PST) Subject: Re: pgBackRest backup from standby To: David Steele , Don Seiler Cc: pgsql-general@lists.postgresql.org References: <3f5aa386-32df-4ea9-51a6-ae0c918fd04f@pgmasters.net> <4ae14a90-1f2d-09f6-5e56-1609acad51b0@pgmasters.net> <09b97a16-d7c4-e014-4e69-aa8b890cb6cc@pgmasters.net> <7f539f04-579c-1118-e5f1-85049869987c@pgmasters.net> From: Martin Marques Message-ID: <371d175d-8fa9-580b-1b84-e7807aac69dc@2ndquadrant.com> Date: Mon, 19 Feb 2018 17:59:24 -0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.2 MIME-Version: 1.0 In-Reply-To: <7f539f04-579c-1118-e5f1-85049869987c@pgmasters.net> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 8bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk El 19/02/18 a las 17:53, David Steele escribió: > On 2/19/18 3:41 PM, Don Seiler wrote: > >> I'm curious, why even copy the pg_log logs? They aren't needed for >> database restore or recovery. > > Also, relocating the log directory is easy using the log_directory > setting, so that's what I recommend if it's an issue. Some users do > want to backup their logs. I was about to reply to Don about this, but David's reply was very clear. If you don't want the logs inside pgdata (a very wise idea, specially if you place them on a different partition), just change the configuration GUC. Regards, -- Martín Marqués http://www.2ndQuadrant.com/ PostgreSQL Development, 24x7 Support, Training & Services