From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from firstgate.proxmox.com (firstgate.proxmox.com [IPv6:2a01:7e0:0:424::9]) by lore.proxmox.com (Postfix) with ESMTPS id 364FC1FF15C for ; Wed, 27 Nov 2024 15:11:32 +0100 (CET) Received: from firstgate.proxmox.com (localhost [127.0.0.1]) by firstgate.proxmox.com (Proxmox) with ESMTP id EB03718167; Wed, 27 Nov 2024 15:11:32 +0100 (CET) From: =?UTF-8?q?Fabian=20Gr=C3=BCnbichler?= To: pbs-devel@lists.proxmox.com Date: Wed, 27 Nov 2024 15:11:28 +0100 Message-Id: <20241127141128.1123925-2-f.gruenbichler@proxmox.com> X-Mailer: git-send-email 2.39.5 In-Reply-To: <20241127141128.1123925-1-f.gruenbichler@proxmox.com> References: <20241127141128.1123925-1-f.gruenbichler@proxmox.com> MIME-Version: 1.0 X-SPAM-LEVEL: Spam detection results: 0 AWL 0.048 Adjusted score from AWL reputation of From: address BAYES_00 -1.9 Bayes spam probability is 0 to 1% DMARC_MISSING 0.1 Missing DMARC policy KAM_DMARC_STATUS 0.01 Test Rule for DKIM or SPF Failure with Strict Alignment SPF_HELO_NONE 0.001 SPF: HELO does not publish an SPF Record SPF_PASS -0.001 SPF: sender matches SPF record Subject: [pbs-devel] [RFC proxmox-backup 2/2] GC: add check for nested datastore X-BeenThere: pbs-devel@lists.proxmox.com X-Mailman-Version: 2.1.29 Precedence: list List-Id: Proxmox Backup Server development discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: Proxmox Backup Server development discussion Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 Errors-To: pbs-devel-bounces@lists.proxmox.com Sender: "pbs-devel" dGhlc2UgYXJlIHBhcnRpY3VsYXJseSBwcm9ibGVtYXRpYyBzaW5jZSBHQyB3aWxsIHdhbGsgdGhl IHdob2xlIGRhdGFzdG9yZSB0cmVlCm9uIHRoZSBmaWxlIHN5c3RlbSwgYW5kIHdpbGwgdGh1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 IChjb25maWcsIF9kaWdlc3QpID0gcGJzX2NvbmZpZzo6ZGF0YXN0b3JlOjpjb25maWcoKT87Cisg ICAgICAgICAgICBsZXQgZ2Nfc3RvcmVfY29uZmlnOiBEYXRhU3RvcmVDb25maWcgPSBjb25maWcu bG9va3VwKCJkYXRhc3RvcmUiLCAmc2VsZi5uYW1lKCkpPzsKKyAgICAgICAgICAgIGxldCBhbGxf c3RvcmVzID0gY29uZmlnLmNvbnZlcnRfdG9fdHlwZWRfYXJyYXkoImRhdGFzdG9yZSIpPzsKKyAg ICAgICAgICAgIGlmIGxldCBFcnIoZXJyKSA9IGdjX3N0b3JlX2NvbmZpZy5lbnN1cmVfbm90X25l c3RlZCgmYWxsX3N0b3JlcykgeworICAgICAgICAgICAgICAgIGluZm8hKAorICAgICAgICAgICAg ICAgICAgICAiQ3VycmVudCBkYXRhc3RvcmUgcGF0aDoge3BhdGh9IiwKKyAgICAgICAgICAgICAg ICAgICAgcGF0aCA9IGdjX3N0b3JlX2NvbmZpZy5hYnNvbHV0ZV9wYXRoKCkKKyAgICAgICAgICAg ICAgICApOworICAgICAgICAgICAgICAgIGJhaWwhKCJBYm9ydGluZyBHQyBmb3Igc2FmZXR5IHJl YXNvbnM6IHtlcnJ9Iik7CisgICAgICAgICAgICB9CisKICAgICAgICAgICAgIGxldCBwaGFzZTFf c3RhcnRfdGltZSA9IHByb3htb3hfdGltZTo6ZXBvY2hfaTY0KCk7CiAgICAgICAgICAgICBsZXQg b2xkZXN0X3dyaXRlciA9IHNlbGYKICAgICAgICAgICAgICAgICAuaW5uZXIKLS0gCjIuMzkuNQoK CgpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpwYnMtZGV2 ZWwgbWFpbGluZyBsaXN0CnBicy1kZXZlbEBsaXN0cy5wcm94bW94LmNvbQpodHRwczovL2xpc3Rz LnByb3htb3guY29tL2NnaS1iaW4vbWFpbG1hbi9saXN0aW5mby9wYnMtZGV2ZWwK