add option for excludes to our backupscript

Originally created by @groente on #16234 (Redmine)

the current backup script backs up the entire lv, we need a way to add exclude patterns.

Parent Task: #15071 (closed)

Edited by groente