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.
exclude folders from a task & do not overwrite
Re: exclude folders from a task & do not overwrite
Foe nr 2, you could just use an incremental backup.
--
Luis Cobian
Cobian Backup's creator
Luis Cobian
Cobian Backup's creator
Re: exclude folders from a task & do not overwrite
ok, thanks, I'll check it and report back.
Re: exclude folders from a task & do not overwrite
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.
Re: exclude folders from a task & do not overwrite
Just tell your task to create separated backups. Easy as that.
--
Luis Cobian
Cobian Backup's creator
Luis Cobian
Cobian Backup's creator
Re: exclude folders from a task & do not overwrite
Hi all. After experimenting a little, this regular expression helped exclude folders from copying " ^.+\\org_.*\\.*$ ".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.
Last edited by WildTigra on 28 Feb 2024, 12:28, edited 1 time in total.