F5F Stay Refreshed Software Operating Systems A more complex backup system is needed.

A more complex backup system is needed.

A more complex backup system is needed.

V
videogamer1
Junior Member
2
04-07-2023, 09:58 PM
#1
I have a target I aim to achieve and thought it would be useful to ask for advice. My objective is: connect my College USB, locate the file on the disk, and initiate a basic backup to a folder you define. The backup destination from the previous step should then be copied to a network share on my internal network or NAS. I’ve already resolved the first part myself using a simple batch script that checks for "back-me-up.txt" and backs it up to a specified location. Regarding what I need next, I’m unsure how to make this script automatically run with every USB device connected—perhaps setting it as a scheduled task? The challenge is handling the second step, especially backing up a directory to an external share. Windows supports native solutions, but I’m not sure if third-party tools are necessary. Any guidance would be greatly appreciated.
V
videogamer1
04-07-2023, 09:58 PM #1

I have a target I aim to achieve and thought it would be useful to ask for advice. My objective is: connect my College USB, locate the file on the disk, and initiate a basic backup to a folder you define. The backup destination from the previous step should then be copied to a network share on my internal network or NAS. I’ve already resolved the first part myself using a simple batch script that checks for "back-me-up.txt" and backs it up to a specified location. Regarding what I need next, I’m unsure how to make this script automatically run with every USB device connected—perhaps setting it as a scheduled task? The challenge is handling the second step, especially backing up a directory to an external share. Windows supports native solutions, but I’m not sure if third-party tools are necessary. Any guidance would be greatly appreciated.

C
CyberPim
Member
221
04-08-2023, 02:08 AM
#2
I solved it on my own. I executed a scheduled task using an updated version of the code to back up to a different folder.
C
CyberPim
04-08-2023, 02:08 AM #2

I solved it on my own. I executed a scheduled task using an updated version of the code to back up to a different folder.