Reinstall Server From Recovery Disk with RSYNC

Few weeks ago, my Amsterdam instance out of space. My all projects is in my workstation (also Github and Gitlab) and I make a sync with mirrorfy to server. I can purge or re install my server without losing (because everything has a backup) any data but I try to truncate log files to gain a bit space in server. I made a huge mistake while emptying log files 😁. Normally I have to write truncate command with */* arg while in /var/log folder to truncate files but lack of sleep cause to write a /*/* and most of the binaries and some important system files is gone 😂.

mirrorfy

Mirrorfy is a rsync control script. It is watch your project directory and uploads your projects to your server for every change.

Pagination


© 2024 All rights reserved.

Powered by Hydejack v7.5.0