Page 1 of 1

How to exclude directory on ftp source?

Posted: 05 Dec 2023, 12:55
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.

Re: How to exclude directory on ftp source?

Posted: 05 Dec 2023, 13:37
by cobian
Only simple masks can be used for FTP sources (like *.jpg, etc).

Re: How to exclude directory on ftp source?

Posted: 06 Dec 2023, 06:28
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?

Re: How to exclude directory on ftp source?

Posted: 06 Dec 2023, 19:56
by cobian
At this moment, yes

Re: How to exclude directory on ftp source?

Posted: 07 Dec 2023, 06:34
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 ?

Re: How to exclude directory on ftp source?

Posted: 07 Dec 2023, 13:04
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.

Re: How to exclude directory on ftp source?

Posted: 07 Dec 2023, 15:01
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.