Hi
I am here to leave some commands useful when you want to make backups of files on your server, or you want to compress the Serverfiles to send to the dedicated server or something else:
Compress:
Example:
To Decompress:
Example:
Other commands to Compress and Decompress:
Compress:
Example:
To Decompress:
Example:
Well, that is all (:
Kind regards,
VMP.
I am here to leave some commands useful when you want to make backups of files on your server, or you want to compress the Serverfiles to send to the dedicated server or something else:
Compress:
Code:
tar -zcvf filename.gz directory
Code:
tar -zcvf metin2.gz /home/metin2
Code:
tar -zxvf filename.gz -C /directory
Code:
tar -zxvf metin2.gz -C /home
Other commands to Compress and Decompress:
Compress:
Code:
tar cvf filename.tar.gz /directory
Code:
tar cvf metin2.tar.gz /home/metin2
Code:
cd /directory
Code:
tar xvf filename.tar.gz
Code:
cd /home
Code:
tar xvf metin2.tar.gz
Kind regards,
VMP.