View Full Version : Running BackupPC on a NAT'd OpenVZ Box

October 30th, 2015, 05:52 AM
Does anyone know if it's possible to run BackupPC on a NAT'd IPv4 OpenVZ containerized box? I've setup BackupPC on it and can send ssh keys to my remote servers and test ssh connections, but then can't actually run backups. I'm trying to use rsync-does BackupPC run on a specific rsync transfer port? My NAT'd SSH port is 20100-is there a way to set that up in BackupPC, or perhaps at the client level? I'm pretty sure all the things I've found about custom SSH ports relates to custom ports on *remote* clients only...

Thanks in advance!

November 1st, 2015, 11:49 AM
Scratch that-turns out it runs fine over whatever 'standard' port NAT'd OpenVZ hosts use. I did some more searching on pings failing and discovered my read/write/execute settings weren't set right on ping, had to run this:

sudo chmod u+s `which ping`

And then once I did that, rsync was failing, so I had to add backuppc to the sudoers file:


All seems to be working fine, now, but I figured I'd post here for anyone else who was having the same issue!

November 15th, 2015, 01:48 AM