Check my post here https://forum.proxmox.com/threads/how-to-backup-users-and-permissions.52525/#post-243158
Backing up /var/lib/pve-cluster/config.db basically backups all configuration, including firewall rules, users and perms.
For network configuration, backup /etc/network/interfaces...