First of all, sorry for my English, I'm Italian, and I had a lot of struggle learning English, and this is my first post so again sorry for the style and form, I already don't know how to do it properly ahahah. SOOO Hi, I have my own server and I am hosting a lot of stuff like my portfolio, this blog, a music player and a lot of other things. Even if I started my server like a year ago, I'm starting to document it since I heard that it is a good practice to embrace creativity and it can be useful for your curriculum sooo, I'm here documenting it starting from now!

The Setup

Web proxyed by Cloudflare so Cloudflare tunnel to ssh access it was needed

Two main components live in my server:

  • 1. Apache Web Server in order to host my Portfolio Website
  • 2. OpenVPN, yes I am also using this server as a personal VPN -which proved to be useful in my adventures outside Italy-
  • Planning to instantiate an Email Server when the server proves to be stable and reliable
"The real challenge wasn't just making it work, but making it also reliable and resilient."

Problem found: The server crashes when trying to transmit very big files in a remote location

So yeah, I am trying to send a file like 2.8 GB from my server to my personal PC. (It is a backup of the whole server since I realized that I haven't done it and it is not a good practice) so I created a copy of / excluding dynamic system folders that are populated at boot, using: sudo tar -cpzf ./backup.tar.gz --exclude="$PWD/backup.tar.gz" --exclude=/proc --exclude=/tmp --exclude=/mnt --exclude=/dev --exclude=/sys --exclude=/run --exclude=/media --exclude=/lost+found / , so I can restore it with sudo tar -xvpzf /path/to/backup.tar.gz -C / then I compressed it and then tried to send it via scp but it crashed, then tried with rsync but it crashed again.

The causes? I don't know

Investigating it, it could be: a RAM problem since logs are clean.........

Sub-Problem: I tried to rsync but it crashes --partial even with this flag, and now the server is not able to remain up, maybe because of the tmp file created by it