For copying the backup of a folder contents to another local folder and saved it as compressed type of file.Here we need to take data backup from “c:\wamp\www” to another local folder in Drive F: (F:\Backup), here it saved as ictops.7z (F:\Backup\ictops.7z)
- Created new test document and copy the below mentioned script into it
- Finally Save the file as a .bat extension
- Download and Install 7 Zip application software
@echo off
echo **** IT Tech Beats Backup Solution******
"c:\Program Files\7-Zip\7z.exe" a -t7z -r "F:\Backup\ictops.7z" "C:\wamp\www\*.*"
echo !!!!!!!!BACKUP COMPLETED THANKS!!!!!!!!
No comments:
Post a Comment