I use the following command to copy my database to another location as a backup.
copy d:\mssql2000\sqldata\backup\2002-Current.bak \\dbserver2\d$\mssql2000\sqldata\backup\2002-current.bak
I would like to implement a daily back routine instead of always overwriting 2002-current.bak. Does anybody know how I could name it the current day and then I can have a weeks backup. For example 2002-Current-Monday.bak and so on....
Thanks,
Josh
copy d:\mssql2000\sqldata\backup\2002-Current.bak \\dbserver2\d$\mssql2000\sqldata\backup\2002-current.bak
I would like to implement a daily back routine instead of always overwriting 2002-current.bak. Does anybody know how I could name it the current day and then I can have a weeks backup. For example 2002-Current-Monday.bak and so on....
Thanks,
Josh