Backuppc to backup /home on VM.

Deni74

Well-Known Member
Apr 29, 2013
67
1
48
Hello!
Proxmox with installed Backuppc and VM with Zentyal. I want to backup Zentyal samba's shares to Proxmox host using backuppc and rsync. Under the user BACKUPPC c Zentyal backup works, but zentyal's shares (/home) avalaible only for root user. In the settings xfer backuppc make change backuppc user to root, and backup pc end job with error.
SSH access without a password from Proxmox to Zentyal set up and work fine (for backuppc and root).
For example - make backup /var/log/zentyal folder:


1. with root user
full backup started for directory /var/log/zentyal
Running: /usr/bin/ssh -x -l root 192.168.2.50 /usr/bin/rsync --server --sender --numeric-ids --perms --owner --group -D --links --hard-links --times --block-size=2048 --recursive --ignore-times . /var/log/zentyal/
Xfer PIDs are now 71799
Got remote protocol 1836213584
Fatal error (bad version): Permission denied, please try again.

Read EOF:
Tried again: got 0 bytes
fileListReceive() failed
Done: 0 files, 0 bytes
Got fatal error during xfer (fileListReceive failed)
Backup aborted (fileListReceive failed)
Not saving this as a partial backup since it has fewer files than the prior one (got 0 and 0 files versus 0)


2. with backuppc user
xafer: $sshPath -x -l backuppc $host $rsyncPath $argList+
2013-09-20 20:23:07 full backup started for directory /var/log/zentyal
2013-09-20 20:23:19 full backup 0 complete, 9 files, 359072008 bytes, 0 xferErrs (0 bad files, 0 bad shares, 0 other)

- all ok.

root user can't use rsync
 
Last edited:
I've no idea, could be a version mistmatch error? Maybe zentyal and debian 7 rsync are incompatible? (see "Fatal error (bad version): Permission denied, please try again." in your log), or maybe a flag is needed to work in compatible mode.
Also have a look at rsync worning as root inside zentyal.
 
I've no idea, could be a version mistmatch error? Maybe zentyal and debian 7 rsync are incompatible? (see "Fatal error (bad version): Permission denied, please try again." in your log), or maybe a flag is needed to work in compatible mode.
Also have a look at rsync worning as root inside zentyal.

Thank u.
3.0.9 in debian and zential. And one moment - when I use backuppc user to rsync - all fine.
 

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!