1
I am attempting to automate the backup of a folder on a Windows 2003 R2 server (currently a manual process).
There are three components to this task:
1) Generate a zip file of the following folder in the same directory, without using 3rd party software:
d:\source\folder_to_back_up
Which gives us:
d:\source\folder_to_back_up.zip
2) Move the newly-created zip file to:
d:\destination
3) Rename the zip file according to the following naming convention:
Backup_YYYYMMDD.zip
For example, using today's date, the name would be:
Backup_20150516.zip
I have, so far, found out how to automate step 2:
robocopy /mov d:\source d:\destination folder_to_back_up.zip
...but need some help automating the creation of the zip file and also the renaming step.
Any ideas would be much appreciated!
What's with the 7za? I changed it from 7za to 7z and then it worked fine. – Bodokh – 2018-08-14T08:42:35.133