Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhwgW-0007M9-Rc for pgsql-general@arkaria.postgresql.org; Tue, 24 Jul 2018 12:45:01 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fhwgU-0003X4-Go for pgsql-general@arkaria.postgresql.org; Tue, 24 Jul 2018 12:44:58 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhwgU-0003Wx-79 for pgsql-general@lists.postgresql.org; Tue, 24 Jul 2018 12:44:58 +0000 Received: from fiedler.schlittermann.de ([212.80.235.136] helo=ikarus.unix-solution.de) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fhwgQ-0002tE-0S for pgsql-general@postgresql.org; Tue, 24 Jul 2018 12:44:57 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=unix-solution.de; s=mx; h=Content-Transfer-Encoding:Content-Type: MIME-Version:Date:Message-ID:Subject:From:To:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=bPhbt17HnQfpTITeaZBX6piT/4W+o/iEkYP1mT5zzW4=; b=wD/SO2SLwblaXavbYpzGRAhvWh FQTonwMTS8gg84Khl20WssafrMzlg54dm1LSY4dJOLDhprhT/D3CqAU2JIWIpqtR5t/+2tEGvqAzw Mfh73oDa3Rmjl82X9ms5pZDhGPUEgWlDHySEFmNrqG3B+kuIDa57NkcVX/h5jMRMIg3Y=; Received: from ip-81-201-149-65.static.reverse.dsi.net ([81.201.149.65] helo=[192.168.30.200]) by ikarus.unix-solution.de with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1fhwgN-0000BP-2Y for pgsql-general@postgresql.org; Tue, 24 Jul 2018 14:44:51 +0200 To: pgsql-general From: basti Subject: DB Backup from WAL Slave Message-ID: Date: Tue, 24 Jul 2018 14:44:45 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.8.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Content-Language: de-DE List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Hello, we have a db master and a slave. master conf: wal_level = replica max_wal_senders = 5 wal_keep_segments = 100 archive_mode    = on archive_command = 'rsync -a %p -e "ssh -i /var/lib/postgresql/.ssh/id_rsa" postgres@slave:/var/lib/postgresql/9.6/wals/master/%f