Sign In:     


Forum: General Discussion

Topic: Cache Backup process?

This topic is old and might contain outdated or incorrect information.

I looked in the support files for how to backup my VDJ and associated cache (from CU), all I could find is how to find the cache, not how to back it up. Must I do it one song at a time? Or can I copy the cache contents in bulk to an external drive? Thanks.
 

Posted Fri 12 Jun 15 @ 7:18 pm
You can backup the whole directory at once.
Depending on your operating system, there are commands that will mirror your folder. The command will only copy or delete files that need to be updated.
 

I'm using Windows8 (for better or worse!) I just wanted to do a backup just in case the computer decides to dump things from memory, which it seems to have done in the past.
 

 

Here is an example of the code I use from a command line or in a batch file. This is on a Windows 7 PC which has the same document path as Windows 8. Windows XP will be in the Documents and Settings folder.

robocopy /mir "C:\Users\YourUserName\Documents\VirtualDJ" "F:\ToshibaMyDocVDJ" /w:0 /r:1 /tee /log+:"F:\robolog.log"


The first part of the command
robocopy /mir
is starting the mirroring process. Anything added, changed, or deleted to the source
"C:\Users\YourUserName\Documents\VirtualDJ"
will be done to the destination
"F:\ToshibaMyDocVDJ"


The second part
/w:0 /r:1
is telling the command not to wait for something to be ready and to retry once if there is a problem

The end
/tee /log+:"F:\robolog.log"[
is appending the output status of the command to a log file. It will also be displayed in the command window.

I hope this makes sense.
 

Thanks man, that's a lot of work to post all that! You'd think by now, we'd be *beyond coding such a thing though?
 

You could spend money on proper backup software or use a combination of cloud solutions.
Or you could just copy the folder in its entirety.
This is something that's already provided by Microsoft, doesn't use any resources when it's not being run, and is customizable.
With a few commands laid out in a batch file, I backup my system to an external and my NAS server. I start the batch file before heading off to bed when I want it to run.
 



(Old topics and forums are automatically closed)