Page 1 of 1

TeraByte_TBI_Backups ?

Posted: Mon Feb 19, 2018 2:47 pm
by Beau
Hi is there a way i can set TeraByte_TBI_Backups to my e: and have it protected

Re: TeraByte_TBI_Backups ?

Posted: Wed Feb 21, 2018 3:34 am
by TeraByte Support
just create it. it's protected if protectit is active.

"Beau" wrote in message news:14737@public.image...

Hi is there a way i can set TeraByte_TBI_Backups to my e: and have it
protected


Re: TeraByte_TBI_Backups ?

Posted: Sat Feb 24, 2018 5:30 pm
by Beau
is there a way to see if it is protected ?
thankks

Re: TeraByte_TBI_Backups ?

Posted: Mon Feb 26, 2018 6:11 am
by TeraByte Support(PP)
You can try a normal file operation in the folder. For example, creating a file, copying in a file, deleting a file, etc.

Re: TeraByte_TBI_Backups ?

Posted: Mon Feb 26, 2018 10:32 pm
by Beau
so doee that mean to delete a file i have to use /purge if so where does it go in this line /wait /b /uy /um /d:w0 /f:"E:\TeraByte_TBI_Backups\$~DD$$~MM$$~YYYY$/SSD" /v

Re: TeraByte_TBI_Backups ?

Posted: Tue Feb 27, 2018 5:39 pm
by TeraByte Support(PP)
Example to remove images 7 days or older:
/wait /b /uy /um /d:w0 /f:"E:\TeraByte_TBI_Backups\$~DD$$~MM$$~YYYY$/SSD" /v /purge:7

You can also use TBOSDT (tbosdtw.exe or tbosdtw64.exe, needs to be run as Administrator) to delete the files. TBOSDT is usually installed with IFW. Or you could disable ProtectIt, delete the files, then re-enable ProtectIt.

Re: TeraByte_TBI_Backups ?

Posted: Tue Feb 27, 2018 8:09 pm
by Beau
Hi If I Uses http://www.terabyteunlimited.com/downloads/ifwbatv3.zip do i need protection off or is there a way to do it with it on

Re: TeraByte_TBI_Backups ?

Posted: Wed Feb 28, 2018 7:04 am
by TeraByte Support(PP)
Protection would need to be off. With protection on the script wouldn't be able to make the changes it needs to. You could create a .cmd script to turn off protection, run Profile.cmd, then turn protection back on. Or you could edit Profile.cmd to handle it. For example, at the end of Profile.cmd:

-----------
:: ########################################################################################################
:: Do not make routine changes below this line.

sc stop protectit
set CalledFromProfile=1
if not defined IFWScriptPath (call %0\..\IFWv3.cmd) else (call "%IFWScriptPath%")
if not defined IFWScriptFound (echo The main IFW script was not found. Please configure the IFWScriptPath setting in %0.) & (MsgBox "The main IFW script was not found. Please configure the IFWScriptPath setting in the profile script." "Image for Windows Scripts" 4 1)
sc start protectit

:: <---- END OF PROFILE ---->
-----------

Keep in mind that Profile.cmd must be run as an administrator for the commands to work.