Just made this and thought I'd post it in case anyone found any use for it.
Backs up a drive to a rar archive, and appends the current date and time to the filename. Requires the rar archiver cli util to be in PATH or with the batch file.
creates a file like : backup[080109-1443].rarCode:@echo off REM Script to backup the share to a date/time stamped archive REM By R.R cls set year=%date:~6,4% set yr=%date:~8,2% set month=%date:~3,2% set day=%date:~0,2% set hour=%time:~0,2% set hour=%hour: =0% set min=%time:~3,2% set sec=%time:~6,2% echo Backing up ... rar a -r backup[%day%%month%%yr%-%hour%%min%].rar r:\*.*
Dunno if someones already made something like this but thought I'd just fire it up here anyway.
Im glad i posted this here.. Saves me rewriting from scratch
There are currently 1 users browsing this thread. (0 members and 1 guests)