From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <Bryan@bryanfields.net>
Received: from firstgate.proxmox.com (firstgate.proxmox.com [212.224.123.68])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits))
 (No client certificate requested)
 by lists.proxmox.com (Postfix) with ESMTPS id 9B909BA8A
 for <pve-user@lists.proxmox.com>; Tue, 12 Sep 2023 20:15:40 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id 76C0A15CBA
 for <pve-user@lists.proxmox.com>; Tue, 12 Sep 2023 20:15:10 +0200 (CEST)
Received: from morty.keekles.org (Morty.keekles.org [199.47.174.151])
 (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
 key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256)
 (No client certificate requested)
 by firstgate.proxmox.com (Proxmox) with ESMTPS
 for <pve-user@lists.proxmox.com>; Tue, 12 Sep 2023 20:15:07 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
 by morty.keekles.org (Postfix) with ESMTP id 2A9A819E1BFC
 for <pve-user@lists.proxmox.com>; Tue, 12 Sep 2023 18:05:25 +0000 (UTC)
Received: from morty.keekles.org ([127.0.0.1])
 by localhost (morty.keekles.org [127.0.0.1]) (amavisd-new, port 10032)
 with ESMTP id CMAb0HWJddzF for <pve-user@lists.proxmox.com>;
 Tue, 12 Sep 2023 18:05:20 +0000 (UTC)
Received: from localhost (localhost [127.0.0.1])
 by morty.keekles.org (Postfix) with ESMTP id 9378319E1C02
 for <pve-user@lists.proxmox.com>; Tue, 12 Sep 2023 18:05:20 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.10.3 morty.keekles.org 9378319E1C02
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bryanfields.net;
 s=909DCF92-EFE7-11EB-9235-648EB8AF1B81; t=1694541920;
 bh=VvRivc/03DaUCPisq0bwJzlZHElC705pHpNENhcNq5s=;
 h=Message-ID:Date:MIME-Version:To:From;
 b=b9CvgVorP4TP/d7i/Hu5X4RqVvnzAr0X1Ix3AuVbRyh+brBLHX45OTAlQImV8WMC3
 NfA8eFjy1IU6GFglSQqBRufjXyQf9oeR8GnyJZOH1QstzT+T/wqo6Qk1u65pD31phP
 iLiU8eRYp9dAh0wsTWV3EA5EYawb+BUG5m7RzkFMwIBsJCiDZdV0p0Cb58HIfxuGtM
 DFyyRvmj4EykyFG5C/7Rv0PKPCFnfAHMzNIg8Syg761x2qirx6tn5x41J3Be8zvYEO
 TbrDWJnRZvI3SsqdQEv0itVh152vyKLxdpVi8tkrZiV0PN/JEiokLn35cPv+RelW5Z
 LdX3YY7g1Hp9A==
X-Virus-Scanned: amavisd-new at morty.keekles.org
Received: from morty.keekles.org ([127.0.0.1])
 by localhost (morty.keekles.org [127.0.0.1]) (amavisd-new, port 10026)
 with ESMTP id A3l1dLEkwYDt for <pve-user@lists.proxmox.com>;
 Tue, 12 Sep 2023 18:05:20 +0000 (UTC)
Received: from [192.168.128.105]
 (static-47-206-239-202.tamp.fl.frontiernet.net [47.206.239.202])
 by morty.keekles.org (Postfix) with ESMTPSA id 679A719E1BFC
 for <pve-user@lists.proxmox.com>; Tue, 12 Sep 2023 18:05:20 +0000 (UTC)
Message-ID: <ef7046dd-9949-f04b-fb5d-c836165f493d@bryanfields.net>
Date: Tue, 12 Sep 2023 14:05:20 -0400
MIME-Version: 1.0
User-Agent: Mutt/1.12.0 (2019-05-25)
To: pve-user@lists.proxmox.com
Content-Language: en-US
From: Bryan Fields <Bryan@bryanfields.net>
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
X-SPAM-LEVEL: Spam detection results:  0
 AWL -0.055 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 DKIM_SIGNED               0.1 Message has a DKIM or DK signature,
 not necessarily valid
 DKIM_VALID -0.1 Message has at least one valid DKIM or DK signature
 DKIM_VALID_AU -0.1 Message has a valid DKIM or DK signature from author's
 domain
 DKIM_VALID_EF -0.1 Message has a valid DKIM or DK signature from envelope-from
 domain DMARC_MISSING             0.1 Missing DMARC policy
 SPF_HELO_NONE           0.001 SPF: HELO does not publish an SPF Record
 T_SPF_PERMERROR          0.01 SPF: test of record failed (permerror)
 URIBL_BLOCKED 0.001 ADMINISTRATOR NOTICE: The query to URIBL was blocked. See
 http://wiki.apache.org/spamassassin/DnsBlocklists#dnsbl-block for more
 information. [bryanfields.net]
Subject: [PVE-User] pve-zsync or backups to zfs over ssh?
X-BeenThere: pve-user@lists.proxmox.com
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Proxmox VE user list <pve-user.lists.proxmox.com>
List-Unsubscribe: <https://lists.proxmox.com/cgi-bin/mailman/options/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=unsubscribe>
List-Archive: <http://lists.proxmox.com/pipermail/pve-user/>
List-Post: <mailto:pve-user@lists.proxmox.com>
List-Help: <mailto:pve-user-request@lists.proxmox.com?subject=help>
List-Subscribe: <https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user>, 
 <mailto:pve-user-request@lists.proxmox.com?subject=subscribe>
X-List-Received-Date: Tue, 12 Sep 2023 18:15:40 -0000

I have a proxmox cluster with each server using it's own zfs storage pool and 
would like to implement backups to a zfs pool accessed via ssh.

I've been working with pve-zsync, but it has some flaws as it's not cluster 
aware.  What I mean is it's only able to sync local VMs on the server it's 
configured on.  If the VM is migrated it is unaware and will fail.  I'd expect 
the cron job to be migrated as well.  the snapshots that exist are also 
destroyed during a migration of the VM between hosts as well, so if it's 
migrated back, the job will fail as well.

I'd like to do a backup server, but all I have now is SSH with zfs as the 
backup location.

Is there a better way to do this that is cluster aware?
-- 
Bryan Fields

727-409-1194 - Voice
http://bryanfields.net