I run a simple script to perform an rclone copy to Google Drive of a RAMDisk each day, giving it the naming format of YYYYMMDD_name. This works great, but is a bit wasteful because I don't actually change something on the disk every single day.
I would like to automatically check the source RAMDisk, and only perform the backup (of the entire disk) if any file, anywhere on the disk, has been modified more recently than the root directories (the RAMDisk is recreated from a local drive each day at boot, so the root directories always have a modified date/time of when the system last booted. Anything modified after that date/time, is clearly newer therefore everything should be backed up).
I'm not all that skilled in windows scripting so I haven't been able to figure out how to accomplish this. I specifically don't want to use sync as I want a daily backup so I can always roll back to any day (where something changed) should I need to.
I appreciate any pointers or tips.