Unable to apply Exclude directories in cloud sync task.

mike360x1

Contributor
Joined
Dec 25, 2012
Messages
107
Hi,

So I would like to backup my important data to B2 (encrypted of course) in case of disaster however, I do not want to include movies, TV shows, and VM backups.

With the way my dataset is organized, I have multiple media directories on different datasets.
So, in order to backup everything important (without creating a.sync task for each small dataset), I need to set one sync task for my whole pool and then specify which areas to exclude.

I have read the filtering rules for rclone and I believe I have done it correctly. But there must be something I'm missing here.

Below is a representation of my file tree and my list of exclusions. [This is not actually my file hierarchy but it is condensed and it is a close representation]

Code:
Tank
    Person1
        Media
            TV Shows
            Pictures
            Music
        Documents
    Person2
        Media
            TV Shows
            Pictures
            Music
        Documents
    Shared
        Media
            TV Shows
            Pictures
            Music
        Documents
    VMBackups

My Exclusion List is as follows

/mnt/Tank/Person1/Media/TV Shows
/mnt/Tank/Person2/Media/TV Shows
/mnt/Tank/VMBackups
/mnt/Tank/Shared/Media/TV Shows


Do I need to include absolute paths here?
If there is a space in the name, do I need to put the entire line in quotes?

I would greatly appreciate your time and help.

Cheers,
 
Last edited:

anon4324239685

Dabbler
Joined
May 5, 2018
Messages
21
I have the exact same question but I want to exclude the mounted dataset on a jail so my media content is not backed up, only the jail data.
 
Top