I think you might often missed to attach file when sending email. But Google (Gmail) has its capability to detect any word “is attached” inside mail body. So you will get a warning like this :
I’m just wanna create a note, because sometime this simple thing is forgotten. To exclude a file or folder from archiving process, we can use –exclude option behind tar command.
Example :
tar -czvf file-result.tar.gz /path/to/file/or/folder/for/archiving –exclude “/path/to/exclude”
For urgent reason like preventing website down when dumping MySQL, we need to skip lock-tables. You can use -–skip-lock-tables and –skip-add-locks option with mysqldump command.