![]() Bad Practice : tar -cvf backup.tar -exclude="public_html/template/cache/" public_html/ Good Practice : tar -cvf backup.tar -exclude="public_html/template/cache" public_html/ 2. So requesting you to not to waste time and follow the good procedure to get the work done soon. I have wasted much time in exploring this. Note: When excluding directories, make sure NOT to use the trailing slash(/) at the end of the directory name. Backup doesn’t mean all the files and folders need to be backed up ! Sometimes we may have to exclude directories like template cache, log files, cache, temporarily created files, gallery directory etc., So in this article, we will see how to exclude certain directories and certain patterns even ! 1. Being myself an administrator, i would recommended “tar”, the simple and the best tool. In day-to-day activities administrators needs to perform regular backups on their Linux servers.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |