File Backups/Restores via tar
Note: this requires shell access.tar saves a collection of files as one big file and Optionaly compresses
common options
-c create a new tar file
-x extract files from a tar file
-z compress/uncompress
-v verbose - Tell me what your doing
-f filename
So, to store, and compress your entire public_html directory into a single file called site.tar.gz (.tar.gz is the extention for compressed tar files.), from your home directory you would use:
tar -cvzf site.tar.gz public_html/
to restore all the files you would, from your home directory, use:
tar -xvzf site.tar.gz
Back:
MysticServer
Category
CategorySite5
There are no comments on this page. [Add comment]