Luam toate logurile ale domeniilor intr-o arhiva.

Daca avem nevoie sa extragem toate log-urile pentru toate domeniile pentru a le studia ne ajuta urmatoare comanda:

tar czf /home/<dir unde se pune zip-ul>/logs.tar.gz /var/www/vhosts/*/statistics/logs/*

Leave a Reply

Your email address will not be published. Required fields are marked *