Cannot backup to other node

sancho_sk

New Member
Dec 9, 2022
8
1
3
Hi, all.
Fighting here with a bit of a crazy setup, searching internet for solutions to no avail so far, so asking like this.
I have 2-node setup with 3rd Raspberry Pi to get enough votes.
On 1st node, I have some VMs.
On the 2nd node, I have a 2TB SSD and I'd like to use it for backup of the 1st node VM.
I created a dir filesystem (based on ext4 volume) on the 2nd volume and allowed everything (images, backups, ...). I marked it as shared and marked both nodes and checked the enable checkbox.
Now I created a backup job to run every Sunday at 1am, selected the VM from the 1st node and the storage from the 2nd node, set the retention and limit the bandwidth.
When I run the job, I get error message:
Code:
TASK ERROR: could not activate storage 'backups': unable to activate storage 'backups' - directory is expected to be a mount point but is not mounted: '/mnt/pve/backups'
I tried to find out what this might mean. The mount point does not exist on the 1st node, the 2nd node has the mountpoint and the disk is mounted there with ext4 filesystem.
Any ideas what I did wrong, perhaps?
 
Hello!

That backup target will only be available on the second node as the first node does not see anything when it checks its own "/mnt/pve/backups".

If you want an easy and efficient way to have the backup structure you are looking for, I would set up a proxmox backup server on your second node. (Either as a VM or alongside your PVE install on the second node) Then, add the proxmox backup server as storage for your cluster. It will be available on both nodes as it is a shared location that both nodes can reach.

1719264817676.png
 
I created a dir filesystem (based on ext4 volume) on the 2nd volume and allowed everything (images, backups, ...). I marked it as shared and marked both nodes and checked the enable checkbox.
Checking the "shared" checkbox won't share that directory. You have to share it on your own by setting up a NFS server via CLI or similar. That checkbox is only to tell PVE that it is working with a shared filesystem.

If you want an easy and efficient way to have the backup structure you are looking for, I would set up a proxmox backup server on your second node.
Jep, makes much more sense. If all the second node should do is backup your first node, it would make much more sense to install a bare metal PBS instead of a PVE on the second node. It's also possible to install PBS in a VM or bare metal next to PVE: https://pbs.proxmox.com/docs/installation.html#install-proxmox-backup-server-on-proxmox-ve
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!