Excellent!! Robocopy command to backup user data
Robocopy command, which is a windows native command-line command, enables us backup our data to another folder on a network folder like NAS.
Make a bat file and edit it as follows:
sync.bat
-----------------------------------------------------------------
robocopy [source folder] [destination folder] /mir
-----------------------------------------------------------------
ex.
robocopy "c:\Documents and Settings\username" d:\destination_folder /mir /np /log:log.txt
about options
/np
no display the copying process
/log:filename
output log file
Make a bat file and edit it as follows:
sync.bat
-----------------------------------------------------------------
robocopy [source folder] [destination folder] /mir
-----------------------------------------------------------------
ex.
robocopy "c:\Documents and Settings\username" d:\destination_folder /mir /np /log:log.txt
about options
/np
no display the copying process
/log:filename
output log file
Comments
Post a Comment