Backing up data from VPS to Home server with compression

188 · Emad Elsaid · March 14, 2026, 7:31 p.m.
Summary
This blog post provides a detailed guide on backing up data from a Virtual Private Server (VPS) to a home server. It explains the setup necessary when the home server is not directly reachable from the internet, using a reverse SSH tunnel. The author outlines the commands and steps involved in streaming a compressed archive of files from the VPS to the home server securely. This method utilizes maximum gzip compression and SSH agent forwarding to ensure the backup is efficient and practical.