I use a script made up from different sources..
rd /s /q f:\todays
rem This makes a backup of the previous days data,
robocopy u:\ F:\todays\u-Drive /mir /w:0 /r:0 /e /s /np /fft /maxage:1 /maxlad:1 /xf *.pst
rem zips up the backup folder
7z a -tzip todays "todays\*" -r
rem renames the zip file to a date stamp
DATE /T > %CURRDATE%
TIME /T > %CURRTIME%
Set PARSEARG="eol=; tokens=1,2,3,4* delims=/, "
For /F %PARSEARG% %%i in (%CURRDATE%) Do SET YYYYMMDD=%%l%%k%%j
Set PARSEARG="eol=; tokens=1,2,3* delims=:, "
For /F %PARSEARG% %%i in (%CURRTIME%) Do Set HHMM=%%i%%j%%k
RENAME todays.zip backup_%YYYYMMDD%%HHMM%.zip
move /y F:\*.zip F:\backup\Zips
I use 7zip and robocopy. Place both exe file in the same dir as the script.
How it works:
It deletes the previous days 'todays' folder as we want a clean slate, then robocopy scans the data folder (U:) and its set to only copy those files created or modified in the last 24hrs. It copies it to another drive/folder (F:\todays). This give you the incremental files.
7zip then compresses that folder
the next script works out the year, month, day, hours, minutes, seconds which then renames the zip file made under 7zip.
Finally the script moves the renamed zip to another folder called 'zips.
I have been using this script form many years to give me daily zip files which can quickly be opened from explorer .