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

October 30th, 2015, 06: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, 12:49 PM
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, 02:48 AM