Using Tar Command For Creating Backup

  • Making a Backup Archive

The following *nix command, executed from the parent directory of your wiki's directory, will put a complete backup archive of your site in your home directory.

     tar -zcvf  ~/wiki-backup-`date +m`.tar.gz  wiki/