From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <nada@verdnatura.es>
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) server-digest SHA256)
 (No client certificate requested)
 by lists.proxmox.com (Postfix) with ESMTPS id C9C157104F
 for <pve-user@lists.proxmox.com>; Wed,  8 Sep 2021 11:32:51 +0200 (CEST)
Received: from firstgate.proxmox.com (localhost [127.0.0.1])
 by firstgate.proxmox.com (Proxmox) with ESMTP id B293B23B45
 for <pve-user@lists.proxmox.com>; Wed,  8 Sep 2021 11:32:21 +0200 (CEST)
Received: from ip1-isp1-algemesi.verdnatura.es
 (ip1-isp1-algemesi.verdnatura.es [195.77.191.178])
 (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 firstgate.proxmox.com (Proxmox) with ESMTPS id C388A23B34
 for <pve-user@lists.proxmox.com>; Wed,  8 Sep 2021 11:32:19 +0200 (CEST)
Received: from localhost (localhost [127.0.0.1])
 by ip1-isp1-algemesi.verdnatura.es (Postfix) with ESMTP id E77E3A0096
 for <pve-user@lists.proxmox.com>; Wed,  8 Sep 2021 11:25:58 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at verdnatura.es
Received: from ip1-isp1-algemesi.verdnatura.es ([127.0.0.1])
 by localhost (silla1.verdnatura.es [127.0.0.1]) (amavisd-new, port 10024)
 with ESMTP id 7nihSUBIg9YA; Wed,  8 Sep 2021 11:25:58 +0200 (CEST)
Received: from webmail.verdnatura.es (swarm-worker1.static.verdnatura.es
 [10.0.2.68])
 (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
 (No client certificate requested)
 by ip1-isp1-algemesi.verdnatura.es (Postfix) with ESMTPSA id 8A148A0090;
 Wed,  8 Sep 2021 11:25:58 +0200 (CEST)
MIME-Version: 1.0
Content-Type: text/plain; charset=US-ASCII;
 format=flowed
Content-Transfer-Encoding: 7bit
Date: Wed, 08 Sep 2021 11:25:58 +0200
From: nada <nada@verdnatura.es>
To: Proxmox VE user list <pve-user@lists.proxmox.com>
In-Reply-To: <CABMULt+s5D-BODXQYoRF9sE2_cS1ZB7hG+c-M-D9=+iLf=6XMg@mail.gmail.com>
References: <CABMULt+s5D-BODXQYoRF9sE2_cS1ZB7hG+c-M-D9=+iLf=6XMg@mail.gmail.com>
User-Agent: Roundcube Webmail/1.4.2
Message-ID: <99b82feffbce274c20bfefb18e41efd8@verdnatura.es>
X-Sender: nada@verdnatura.es
X-SPAM-LEVEL: Spam detection results:  0
 AWL -0.104 Adjusted score from AWL reputation of From: address
 BAYES_00                 -1.9 Bayes spam probability is 0 to 1%
 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: Re: [PVE-User] VM storage and replication
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: Wed, 08 Sep 2021 09:32:51 -0000

hi Alex
in case you have a limited budget now
you may do backups local backups but it is not recommended by some cheap 
NAS ASAP

temporal solution:
1. create some filesystem LVM/ext4 @node1 and mount at /mnt/backup
2. install NFS server @node1 and export /mnt/backup to node2
3. install NFS client @node2 and create mountpoint /mnt/backup
4. edit fstab @node2 example
    node1:/mnt/backup      /mnt/backup       nfs    
defaults,noatime,bg	0	2
5. mount /mnt/backup
6. add directory to your proxmox storage via webGUI
    or add to /etc/pve/storage.cfg example

dir: backup
	path /mnt/backup
	content vztmpl,backup,iso

after this you will have backups accessible at both nodes
hope it will help you
Nada


On 2021-09-08 10:05, Alex K wrote:
> Hi all,
> 
> I have setup a dual server setup, with latest proxmox v7.x. Each host 
> with
> its own local storage. No shared storage (CEPH, GlusterFS).
> 
> I understand I can have VMs hosted on top LVM with qcow2 disk images or 
> on
> top thin LVM as raw thin LVM volumes. On both cases I still keep the 
> option
> to be able to perform VM backups. Which one is the preferred way 
> according
> to your experience? I will try to do some quick tests on the IO 
> performance
> between the two.
> 
> Also, I was thinking to replicate the VMs from one host to the other. I
> understand that for the Proxmox integrated replication feature I need 
> ZFS
> backed storage. As I am not much into ZFS, although I really enjoy 
> FreeNAS
> and its great features and will definitely look into it later, I was
> thinking to prepare a custom script that would snapshot the LVM volumes
> where the VM images reside and sync the VM disks from one host to the
> other, using rsync, just for a local copy of them. Of course I will 
> take
> care to have an external media also to periodically export the VMs for
> backup purposes, though I would like to have a local copy of the VM 
> disk
> images at the other host, readily available in case I face issues with 
> the
> external media or one of the hosts. What do you think about this 
> approach?
> Am I missing some other feature or better approach?
> 
> Regrading the sync/replication of the VMs between the hosts (without 
> ZFS),
> I was thinking also to have a dedicated local LVM volume for these 
> periodic
> backup jobs configured within Proxmox and then the custom script to 
> just
> rsync these backup images between the two hosts. This seems a simple 
> one
> though it increases the storage requirements, while with the previous
> approach with the custom script, the script would snapshot, sync to the
> other side and remove the snapshot without keeping a redundant local 
> copy
> of the disk image in the same host.
> 
> Sorry for the long read.
> Appreciate any feedback.
> 
> Alex
> _______________________________________________
> pve-user mailing list
> pve-user@lists.proxmox.com
> https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-user