Found 2 relevant articles
-
Remote PostgreSQL Database Backup via SSH Tunneling in Port-Restricted Environments
This paper comprehensively examines how to securely and efficiently perform remote PostgreSQL database backups using SSH tunneling technology in complex network environments where port 5432 is blocked and remote server storage is limited. The article first analyzes the limitations of traditional backup methods, then systematically introduces the core solution combining SSH command pipelines with pg_dump, including specific command syntax, parameter configuration, and error handling mechanisms. By comparing various backup strategies, it provides complete operational guidelines and best practice recommendations to help database administrators achieve reliable data backup in restricted network environments such as DMZs.
-
Permanently Opening Firewall Ports on CentOS 7: A Comprehensive Guide to firewall-cmd
This article provides a detailed guide on using firewall-cmd commands to permanently open firewall ports in CentOS 7 systems. By analyzing firewalld's basic concepts, zone mechanisms, and command parameters, it demonstrates through practical examples how to open TCP ports 2888 and 3888 while ensuring configurations persist after system reboots. The article also covers advanced topics including firewall status checks, zone management, and service definitions, offering system administrators a comprehensive firewall configuration reference.