Page 1 of 2
Pre/Post - backup events
Posted: 24 Sep 2021, 13:42
by montesas
Hi again:
I use "net use" to capture a network drive before backup and that I specify in Pre / Post - backup events - command line. Then when doing the backup, a cmd window opens without that instruction, empty, and that does not close. I don't know how to fix that.
Thank you!
Re: Pre/Post - backup events
Posted: 24 Sep 2021, 14:06
by cobian
I'll check this out soon. Thanks!
Re: Pre/Post - backup events
Posted: 27 Sep 2021, 11:40
by cobian
Just use
/C "NET USE ....etc"
/C must be included and the rest must be surrounded by quotes
Re: Pre/Post - backup events
Posted: 11 Oct 2021, 13:47
by montesas
It works perfectly, thank you very much!!
Re: Pre/Post - backup events
Posted: 02 Nov 2021, 19:22
by ira
Just found Reflector yesterday and had to figure this out too. I wonder if the import should add the /C when importing events from Cobian backup?
Ira
Re: Pre/Post - backup events
Posted: 02 Nov 2021, 20:03
by cobian
Perhaps...
Re: Pre/Post - backup events
Posted: 02 Nov 2021, 20:13
by ira
Or a warning they need to be fixed?
Ira
Re: Pre/Post - backup events
Posted: 02 Nov 2021, 20:35
by ira
I also noticed when using events where the first event connects to a remote device using "net use," backups up the remote device and then disconnects at the end of the backup that the file size is checked before running the pre-backup events, thereby preventing Reflector from seeing the files it's about to backup.
Ira
Re: Pre/Post - backup events
Posted: 02 Nov 2021, 20:57
by cobian
Yes, this is a problem...
The only solution here at the moment is to mount the drive and add the source from the drive so the source is not manual...
Re: Pre/Post - backup events
Posted: 02 Nov 2021, 21:27
by cobian
For the next version you can add a ?D? to your manual path to force the manual directory to be a not yet existing directory. Or a ?F? to force a not yet existing file.
Example: ?D?B:\Mounted