Found a new Centos 7 Client for PBS

powersupport

Active Member
Jan 18, 2020
273
2
38
30
I found a new Centos 7 client for PBS, Please have a look

PBS Centos 7 Client

Also let us know in here if this works for you (For both Centos 7 & 8)
 
Hi,

We have followed KB provided,
https://github.com/sg4r/proxmox-backup-client/blob/main/rpmbuild.md, but we are stuck in step "Modification", may I check where we need to update the below changes? please let us know the path

Also, can we use the build RPM in other VMs

Code:
modification
add Requires after Requires: /bin/sh

Provides:      proxmox-backup = 1.0.6
Provides:      proxmox-backup(x86_64) = 1.0.6
Requires:      /bin/sh
Requires:      libfuse3.so.3()(64bit)
Requires:      libzstd.so.1()(64bit)
change Release from 1 to 1.2

Version:       1.0.6
Release:       1.2
License:       AGPL-3
save the modification

"~/.tmp/rpmrebuild.62512/work/spec.2" 60L, 1144C written
Do you want to continue ? (y/N) y
result: /root/rpmbuild/RPMS/x86_64/proxmox-backup-1.0.6-1.2.x86_64.rpm
 
Last edited:
hi, you must change the spec file from
Provides: proxmox-backup(x86_64) = 1.0.6
Requires: /bin/sh
#suggest

to
Provides: proxmox-backup(x86_64) = 1.0.6
Requires: /bin/sh
Requires: libfuse3.so.3()(64bit)
Requires: libzstd.so.1()(64bit)
#suggest

by add 2 new lines
Requires: libfuse3.so.3()(64bit)
Requires: libzstd.so.1()(64bit)


it's OK for you?
 
Hi,

May I know the path of the spec file in which the mentioned edit has to be undergone.

Also, can we use the build RPM in other VMs than the one which we created the RPM?

Thank You
 
Last edited:
hi, you must edit the spec temporary file with the rpmrebuild command

rpmrebuild -enp target/generate-rpm/proxmox-backup-1.0.6-1.x86_64.rpm

add 2 lines

Requires: libfuse3.so.3()(64bit)
Requires: libzstd.so.1()(64bit)

after Requires: /bin/sh and before #suggest in the spec temporary file

Provides: proxmox-backup = 1.0.6
Provides: proxmox-backup(x86_64) = 1.0.6
Requires: /bin/sh
Requires: libfuse3.so.3()(64bit)
Requires: libzstd.so.1()(64bit)
#suggest

change Release from 1 to 1.2

Version: 1.0.6
Release: 1.2
License: AGPL-3

save the temporary file and answer y to build the new package

"~/.tmp/rpmrebuild.62512/work/spec.2" 60L, 1144C written
Do you want to continue ? (y/N) y
result: /root/rpmbuild/RPMS/x86_64/proxmox-backup-1.0.6-1.2.x86_64.rpm
 
Hi,

Please correct us if we are doing the rpm-build wrong as we are unable to edit the rpm file using rpmrebuild.

As mentioned in https://github.com/sg4r/proxmox-backup-client/blob/main/rpmbuild.md

We edited the file Cargo.toml from /root/proxmox-backup-client/proxmox-backup

and generated rpm under the same directory

But when executing the command
rpmrebuild -enp target/generate-rpm/proxmox-backup-1.0.6-1.x86_64.rpm

We are not getting any output

[root@localhost proxmox-backup]# rpmrebuild -enp target/generate-rpm/proxmox-backup-1.0.6-1.x86_64.rpm
[root@localhost proxmox-backup]#

when trying to list out the dependencies already inside it shows /bin/sh

[root@localhost proxmox-backup]# rpm -qRp target/generate-rpm/proxmox-backup-1.0.6-1.x86_64.rpm
/bin/sh
 
Last edited:
I have found the solution and installed backup-client in centos

======
[root@localhost init.d]# proxmox-backup-client version
client version: 1.0.6
[root@localhost init.d]#
======

Thank you all for your help in this case. Cheers!!
 
I have found the solution and installed backup-client in centos

======
[root@localhost init.d]# proxmox-backup-client version
client version: 1.0.6
[root@localhost init.d]#
======

Thank you all for your help in this case. Cheers!!
Hi powersupport,

may I ask you what you did to solve the issue?
I'm stuck at the exact same step.

Running the command "rpmrebuild -enp target/generate-rpm/proxmox-backup-1.0.6-1.x86_64.rpm" does not open the temporary spec file.

Many thanks in advance for your help and best regards
Sebastian
 
Hi powersupport,

may I ask you what you did to solve the issue?
I'm stuck at the exact same step.

Running the command "rpmrebuild -enp target/generate-rpm/proxmox-backup-1.0.6-1.x86_64.rpm" does not open the temporary spec file.

Many thanks in advance for your help and best regards
Sebastian
They do provide some pre-build .rpm files on their repo;
https://github.com/sg4r/proxmox-backup-client/releases

Scroll down all the way, under "Assets".

-Tim
 
Good evening, sorry if I intrude, a question, pbs can I also use it as a backup system for other linux systems such as centos and rockylinux linux ? I need to install a client on these systems, is there one?
 

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!