How to exclude directory on ftp source?

Questions about Cobian Backup 11 (Gravity)
Post Reply
EMDM
Posts: 3
Joined: 05 Dec 2023, 12:39

How to exclude directory on ftp source?

Post by EMDM »

Hello!
I have a backup task from FTP.
I need to exclude some directories from this FTP source. How can i do it?
I'm trying to create a filter, but I don't know what to write there, nothing works.
User avatar
cobian
Site Admin
Posts: 4611
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: How to exclude directory on ftp source?

Post by cobian »

Only simple masks can be used for FTP sources (like *.jpg, etc).
--
Luis Cobian
Cobian Backup's creator
EMDM
Posts: 3
Joined: 05 Dec 2023, 12:39

Re: How to exclude directory on ftp source?

Post by EMDM »

cobian wrote: 05 Dec 2023, 13:37 Only simple masks can be used for FTP sources (like *.jpg, etc).
and only for files?
User avatar
cobian
Site Admin
Posts: 4611
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: How to exclude directory on ftp source?

Post by cobian »

At this moment, yes
--
Luis Cobian
Cobian Backup's creator
EMDM
Posts: 3
Joined: 05 Dec 2023, 12:39

Re: How to exclude directory on ftp source?

Post by EMDM »

cobian wrote: 06 Dec 2023, 19:56At this moment, yes
Ok.
I have one more problem. Type of my task is "Incremental". But Gravity every time downloads all files from FTP. Why?
Because Gravity can only check by archive attribute? If this attribute is not checked (or empty), do full backup ?
petroben
Posts: 1
Joined: 07 Dec 2023, 13:03

Re: How to exclude directory on ftp source?

Post by petroben »

To exclude specific directories from your FTP backup task in SyncBackPro, you can use filters. Here's a general guide on how to set it up:

Open SyncBackPro:

Launch SyncBackPro and open the profile that you want to modify.
Go to Filters:

Navigate to the "Modify" menu or section of your profile, and look for a "Filters" option.
Add a New Filter:

Add a new filter and give it a meaningful name.
Specify Filter Rules:

Depending on the FTP source structure, you may need to specify filter rules. For excluding directories, you might use rules like:
-\DirectoryName\* (Exclude all files and subdirectories under "DirectoryName")
-\DirectoryName1\*|-\DirectoryName2\* (Exclude multiple directories)
Apply the Filter:

Once you've defined your filter rules, apply the filter to the appropriate source or destination settings in your profile.
Save and Test:

Save your changes and run a test to ensure that the excluded directories are not included in your FTP backup.
Please refer to the specific documentation or help resources for your version of SyncBackPro for more accurate and detailed information on setting up filters. If you encounter issues, reaching out to SyncBackPro support can provide additional assistance.
User avatar
cobian
Site Admin
Posts: 4611
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: How to exclude directory on ftp source?

Post by cobian »

With FTP and SFTP sources ONLY full backups are supported. You should have get a string in your log file that says that.
--
Luis Cobian
Cobian Backup's creator
Post Reply