Page 1 of 1

Disable cache during backup?

Posted: Fri Nov 29, 2019 9:42 pm
by madpistol
Hello! I'm new to this forum, but I've been playing around with Primocache for over a year now. Really like the product!

Current setup is as follows:

Ryzen 7 3700x
500 GB Samsung 850 EVO SSD (C: Drive, not mapped to Primocache)
32GB DDR4 3000mhz (shared system RAM and cache)
L1: 12.4 GB
L2: 120GB SSD (PNY CS900)
Cached Array: 3 x 4TB Western Digital Hard Drives. (D: Drive)

The "wrinkle" in my system is that I have a 10TB Western Digital External Drive which takes a differential backup each day. This means that it records the changes made to my C: and D: drives once per day. Unfortunately, this also means that sometimes a massive read happens on my D: Drive, which causes a large portion of the cached data in L2 to be overwritten.

My question is, is there a way to disable Primocache while the backup is happening, and then renable once it has completed?

Re: Disable cache during backup?

Posted: Sat Nov 30, 2019 9:38 pm
by idefix44

Re: Disable cache during backup?

Posted: Wed Dec 04, 2019 1:34 am
by Jaga
Kickoff your backup with a batch (or powershell) script that pauses Primocache for the duration, then resumes it when done:

Code: Select all

rxpcc pause -a -s
timeout 10
cd "C:\Program Files\Macrium\Reflect"
Reflect.exe -e -w "C:\Users\username\Documents\Reflect\My Backup.xml" -full
timeout 10
rxpcc resume -a -s
timeout 5
rxpcc perf -a -r -s

Re: Disable cache during backup?

Posted: Tue Dec 31, 2019 10:44 am
by Strela10M
Okay, thanks for the explanations, it works perfectly for me! Did the OP have good results with it as well?

Re: Disable cache during backup?

Posted: Sat Jun 06, 2020 8:15 am
by user4653453
any explanation how to make this work?