lzkelley / bkup_rpimage

Script to backup a Raspberry Pi disk image
GNU General Public License v3.0
162 stars 54 forks source link

exclude directory #22

Open maserowik opened 4 years ago

maserowik commented 4 years ago

Is there a way to exclude certain directories on the backup?

Thanks Mike

nswfugitive commented 4 years ago

I thought I'd try to use this script to backup to a NAS (OpenMediaVault (OMV)) and it seems to work - trouble is it also tries to backup the .img that it is writing to (can't exclude /media files). Looks like I need to get back into programming to change the script to exclude directories - unless the author has plans.

WirthmU commented 4 years ago

Same here - the backup includes the mounted NAS directory