[SOLVED] Trying to run first zpool backup from PVE to PBS

tetsujin

Member
Mar 13, 2021
10
0
6
I am trying to start my first zpool backup to my fresh PBS install. My command on PVE looks like this:
proxmox-backup-client backup target_pool.pxar:/target_pool_path/ --repository root@pam@pbs.ip.1.1:8007:data_store_on_pbs

It seemed to skip my zpool mount point. From the documentation it says I need to use --include-dev is this all I need to do? I would have thought that since I am specifically targeting the zpool then I wouldn't have had to tell it to mount it.

Also, I plan on making this a cron job eventually but for the first one since its going to be a full backup I want to monitor the progress so I am going to run screen so i can close and come back to it but could i use pv to be able to see the progress and make sure its still running? My pool is about 50TB so its going to take awhile. If yes what would the syntax be?

Thank you.
 
It seemed to skip my zpool mount point. From the documentation it says I need to use --include-dev is this all I need to do? I would have thought that since I am specifically targeting the zpool then I wouldn't have had to tell it to mount it.
Have you tried it with the --include-dev parameter? AFAIK the proxmox-backup-client does not make a difference between regular file systems and ZFS. If it detects a path to be a mountpoint for another file system, then that it is.

Also, I plan on making this a cron job eventually but for the first one since its going to be a full backup I want to monitor the progress so I am going to run screen so i can close and come back to it but could i use pv to be able to see the progress and make sure its still running? My pool is about 50TB so its going to take awhile. If yes what would the syntax be?
Since the client will open the connection to the server, you cannot pipe anything through pv. :/
 
Late response to your response. But thank you very much! Yes the include parameter was all I was missing. Took forever to backup but that's just because I was on a 1G connection. It worked great thank you!
 
Good to hear. I went ahead and marked the thread as solved. You can do so yourself in the future as well by editing the first post and selecting the prefix in the drop down menu next to the title :)
 

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!