Exclude folder node_modules and vendor from backup

Questions about Cobian Backup 11 (Gravity)
Post Reply
helderferrari2
Posts: 2
Joined: 03 Dec 2020, 12:39

Exclude folder node_modules and vendor from backup

Post by helderferrari2 »

Hello everyone,

I wanna make a backup from my developer folders, however, I'd like to exclude some folders called 'node_modules' with all its subfolders.

I already add some masks but these rules don't work.

Current Masks:
*\node_modules*\*
*\node_modules\
*\node_modules\*

Structure:

myProject/
node_modules/
folder1
folder2
...
folder3

myProject2/
node_modules/
folder1
folder2
...
folder3
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Exclude folder node_modules and vendor from backup

Post by cobian »

*\node_modules*\* Should work. The resulting directories should be empty. Isn't that the case?
--
Luis Cobian
Cobian Backup's creator
helderferrari2
Posts: 2
Joined: 03 Dec 2020, 12:39

Re: Exclude folder node_modules and vendor from backup

Post by helderferrari2 »

*\node_modules*\* Should work. The resulting directories should be empty. Isn't that the case?

I added this rule, however, it doesn't work for me. The node_modules folder still remains with its files and subfolders.
User avatar
cobian
Site Admin
Posts: 4492
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: Exclude folder node_modules and vendor from backup

Post by cobian »

That's correct but there should not be any files on those directories. Is that the case?
--
Luis Cobian
Cobian Backup's creator
Post Reply