exclude folders from a task & do not overwrite

Questions about Cobian Reflector
Post Reply
WildTigra
Posts: 8
Joined: 11 Sep 2023, 09:24

exclude folders from a task & do not overwrite

Post by WildTigra »

Good afternoon, I have 2 questions about the program.
1 - how to exclude folders from a task, leaving only files. I tried using a regular expression (.*\\\org_\\.* - all folders begin with org), I found it here on the forum but it doesn’t work. I'm not very good at regular expressions myself.
2 - is it possible not to copy files if they already exist. do not overwrite them if the name matches. If so, please explain how.

Thanks for your help, I'm looking forward to your advice.
User avatar
cobian
Site Admin
Posts: 4611
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: exclude folders from a task & do not overwrite

Post by cobian »

Foe nr 2, you could just use an incremental backup.
--
Luis Cobian
Cobian Backup's creator
WildTigra
Posts: 8
Joined: 11 Sep 2023, 09:24

Re: exclude folders from a task & do not overwrite

Post by WildTigra »

ok, thanks, I'll check it and report back.
WildTigra
Posts: 8
Joined: 11 Sep 2023, 09:24

Re: exclude folders from a task & do not overwrite

Post by WildTigra »

cobian wrote: 26 Feb 2024, 15:07 Foe nr 2, you could just use an incremental backup.
Incremental backup is not suitable. Let me explain the task in more detail.
There is a file. It must be copied every day to another place, such as FTP. But when this file is changed on the original source, it is NOT necessary to copy it to FTP and replace the one lying there.
This is like additional protection against a virus that overwrites all files. So that Сobian does not change the files for me on FTP, with files from the original source that the virus changed

When using Incremental backup, Cobian still replaces the file that already exists with the modified one.
User avatar
cobian
Site Admin
Posts: 4611
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: exclude folders from a task & do not overwrite

Post by cobian »

Just tell your task to create separated backups. Easy as that.
--
Luis Cobian
Cobian Backup's creator
WildTigra
Posts: 8
Joined: 11 Sep 2023, 09:24

Re: exclude folders from a task & do not overwrite

Post by WildTigra »

WildTigra wrote: 26 Feb 2024, 14:47 Good afternoon, I have 2 questions about the program.
1 - how to exclude folders from a task, leaving only files. I tried using a regular expression (.*\\\org_\\.* - all folders begin with org), I found it here on the forum but it doesn’t work. I'm not very good at regular expressions myself.
Hi all. After experimenting a little, this regular expression helped exclude folders from copying " ^.+\\org_.*\\.*$ ".
Last edited by WildTigra on 28 Feb 2024, 12:28, edited 1 time in total.
Post Reply