We take every day the backup of a folder from production to uat with rsync.
That folder, among others, contains the physical files of a mysql database.
Is it possible to exclude some tables during the backup process?
Edit: If yes, which files should I exclude in the mysql directory?
Thank you!
use --exclude='pattern' where pattern can be file or directory eg '/dir/file*' there is another option too, ie --exclude-from
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.