How to backup new subfolders every day

Questions about Cobian Reflector
Post Reply
pippo105
Posts: 2
Joined: 30 Nov 2023, 21:51

How to backup new subfolders every day

Post by pippo105 »

Hi everyone: I'm a new user of the forum but an OLD user of cobians software.

I have a question (sorry if there is already an aswer, but i didn't find it): I have a folder "A" and every day a new subfolder (1, 2, 3, 4, 5,.....) is created. I'd like to backup daily the folder "A" on my NAS, and every day only the new subfolder has to be copied (and the 32th oldest deleted).

The only thing I can achieve whit Reflector is to copy the ENTIRE "A" folder every day whit all subfolders whithin.

Can anyone tell me how to set the program? Thank you all. :OK
Attachments
Screenshot 2023-11-30 220740.jpg
Screenshot 2023-11-30 220740.jpg (217.47 KiB) Viewed 4743 times
Screenshot 2023-11-30 221042.jpg
Screenshot 2023-11-30 221042.jpg (229.79 KiB) Viewed 4743 times
User avatar
cobian
Site Admin
Posts: 4734
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: How to backup new subfolders every day

Post by cobian »

Play with the options options in the Dynamic tab.
--
Luis Cobian
Cobian Backup's creator
ira
Posts: 103
Joined: 02 Nov 2021, 19:16

Re: How to backup new subfolders every day

Post by ira »

I did something like this for one of my clients, but I did it using 31 identical backup jobs each one firing on a different day of the month with a different target directory. I realize it's kind of brute force, but it's simple for her to find any days backup up to 30 days ago and it works perfectly. Maybe you could use DOM in the target directory to do the same thing as long as you're OK with just having folders named 1-31 and only getting 28 in February,
ira
Posts: 103
Joined: 02 Nov 2021, 19:16

Re: How to backup new subfolders every day

Post by ira »

I see that %DOM is not there, but %FORMATDATETIME with the Alternate date time set to "dd" looks like it would work. I will have to try that.
pippo105
Posts: 2
Joined: 30 Nov 2023, 21:51

Re: How to backup new subfolders every day

Post by pippo105 »

Thanks everyone, I will try your suggestions and report the results. ;)
ira
Posts: 103
Joined: 02 Nov 2021, 19:16

Re: How to backup new subfolders every day

Post by ira »

Tried and working. Why I never though of that before is curious, but thanks so much for leading me to a better solution. It does make me want to ask why there is only one alternate date format or why I can't do something like:

%CUSTOMFORMATDATETIME("dd")
User avatar
cobian
Site Admin
Posts: 4734
Joined: 31 Oct 2020, 01:25
Location: Sweden
Contact:

Re: How to backup new subfolders every day

Post by cobian »

see the help file under Settings/Advanced to see all kinds of formatting parameters that can be used.
--
Luis Cobian
Cobian Backup's creator
ira
Posts: 103
Joined: 02 Nov 2021, 19:16

Re: How to backup new subfolders every day

Post by ira »

I assume you mean Options=>Advanced in the program and Parameters in the help index. But right now I can't seem to do both a daily backup using dd and a monthly backup using MM unless I use up the "Timestamp" format in filenames for one of them and there seems to be no way to do that for 3 formats no matter what.
Post Reply