Lieur-Euy® Blog`s

Create a tar archive from a directory

Since I started working with cPanel server I always needed to create archives from directories.
For example backing up a user’s home directory.

How can you do this? It’s not difficult at all. For exemple to backup a user home directory you would have to run:

tar -pczf rchive.tar.gz /home/USERNAME

You can read more about tar by reading it’s manual.

man tar
3 Bidadari Kecil How much memory is in this machine?

Leave a Reply