How using tar to do file backup for code only without user data
Using tar command is fast and effective. You have to exclude dynamic data tar –exclude=’./var’ –exclude=’./pub/media/catalog’ –exclude=’./pub/media/productattach’ –exclude=’./download’ –exclude=’./generated’ -cvzf my.tar.gz ./* When apply the above command you have to…