shell 7zip backup of folder

cd \inetpub\wwwroot\backup
echo Site Backup Started
7za a -tzip C:\inetpub\wwwroot\backup\site\site_%date%.zip C:\inetpub\wwwroot\site\*
echo Site Backup Finished
Use this to create a zip archive of a folder for backup purposes. This requires the command line version of 7zip within the C:\inetpub\wwwroot\backup directory.

Updated: Sunday 22nd April 2012, 03:48pm

There are 0 comments

Leave a comment of your own

Comments are currently closed.