[SOLVED] Display Off-site PBS Host IPs

Tmanok

Renowned Member
Hey all,

Simple question: Is there a way to see a local PBS instance [Public] IP from a remote?
local (off-site) <-- Pulls from <-- remote (on-site)

In short, I know the on-site (remote) PBS IP, but not the off-site (local) PBS IP.
Checking /var/log/auth.log, /var/log/wtmp.log, /var/log/messages, PBS tasks, etc, reveal nothing. Of course, I know the backups are happening because the PBS NAS on my SAN is indicating weekly sync (Sundays) activity and my PVE backups are occuring daily:

PBS Backups.pngWithout context, the WAN restriction makes the weekly sync look like someone had too much to drink on Halloween.
Thanks everyone,


Tmanok
 
have you checked the access logs? (/var/log/proxmox-backup/api/access.log)
 
  • Like
Reactions: Tmanok
Hi Dominik,

Ah that's where those are! I had not. I've now applied:
Code:
cat /var/log/proxmox-backup/api/access.log.1 | grep -oE "\b([0-9]{1,3}\.){3}[0-9]{1,3}\b" | grep -v 192.168 | sort -u
And it worked brilliantly.
Thank you!

Tmanok
 

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!