NethServer Version: 7.9.2009
Module: your_module
Hi,
i am just evaluating proxmox backup server and I am really impressed. It works as a really god together whit proxmox VE.
But now i am trying to schedule client-file backups. I have installe the proxmox backup client on a Nethserver test VM ( After recipe from HTTPS://GitHub - sg4r/proxmox-backup-client: CentOS 7 Client for Proxmox Backup Server). And that works all super.
I have add this to the .bashrc file, so I don’t need to login.
.bashrc
User specific aliases and functions
alias rm=‘rm -i’
alias cp=‘cp -i’
alias mv=‘mv -i’
export PBS_PASSWORD=PASSWORD
export PBS_REPOSITORY=root@pam@SERVER_IP:Data_STORE
Source global definitions
if [ -f /etc/bashrc ]; then
. /etc/bashrc
fi
source “$HOME/.cargo/env”
I can backup from CLI, with this command line proxmox-backup-client backup all.pxar:/ --repository root@pam@SERVER_IP:Data. But if I try to run it via a cron job it fails, with this error message:
Error: error building client for repository root@pam@SERVER_IP:8007:Data - no password input mechanism available
But if I run if from the command line first, and there after run a cron job. The cron job works ??
Are there any others who have made this a success. and who can help me in the right direction
Thanks in advance for that feedback.
Michael