Disable cache during backup?

FAQ, getting help, user experience about PrimoCache
Post Reply
madpistol
Posts: 1
Joined: Fri Nov 29, 2019 9:34 pm

Disable cache during backup?

Post by madpistol » Fri Nov 29, 2019 9:42 pm

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?


User avatar
Jaga
Posts: 425
Joined: Sat Jan 25, 2014 1:11 am

Re: Disable cache during backup?

Post by Jaga » Wed Dec 04, 2019 1:34 am

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

Post Reply