Cascading IFWRotate Backups
-
RCFitzhugh52673
- Posts: 2
- Joined: Tue Jan 14, 2025 2:59 pm
Cascading IFWRotate Backups
I have several machines running IFWRotate backing up to a server. I have excellent backup success when they are run sequentially. I currently have this setup through task scheduler. What I am looking for is the position in the IFWRotate script that can call the next IFWRotate task in series once the first IFWRotate completes with or without an error. Anyone have that and any command sequence needed? Thanks
-
TeraByte Support(PP)
- Posts: 1756
- Joined: Fri Aug 12, 2011 12:51 am
Re: Cascading IFWRotate Backups
Assuming you're running them on the same system, you would create a new .cmd script that calls your IFWRotate scripts in the order you want them to run. For example, create RunAllBackups.cmd that runs two IFWRotate scripts:
Then schedule RunAllBackups.cmd to run at the desired time.
Code: Select all
call "e:\myscripts\backupwin10.cmd"
call "e:\myscripts\backupdata.cmd"-
RCFitzhugh52673
- Posts: 2
- Joined: Tue Jan 14, 2025 2:59 pm
Re: Cascading IFWRotate Backups
Simply cascading the commands only executes the first script. There needs to be someplace for the first script to complete and call the second.
-
TeraByte Support
- Posts: 3944
- Joined: Thu May 05, 2011 10:37 pm
Re: Cascading IFWRotate Backups
You have to ensure you use "call" with batch files for it to return to the prior batch file.