Return to Snippet

Revision: 54838
at January 14, 2012 04:02 by klovera


Initial Code
tar cvf domain.com_YYYY_MM_DD_TTTT.tar * --exclude "backups"

Initial URL

                                

Initial Description
How to run a tar archive backup excluding a directory. For example, running a website root directory backup excluding the 'backups' directory.

Initial Title
tar excluding directory

Initial Tags
Bash, linux

Initial Language
Bash