Wednesday, 22 July 2015

Backup of Backup Dynamics Ax Database

Dear Friends,

Dynamics AX Database is everything so don't be lose it , last post i show you how to take schedule backup of database, now backup of backup.

1. Create a .bat file
-------------------------->Copy<----------------------------------------------------------------------
cd\
ECHO OFF
cls
Robocopy   "C:\Program Files (x86)\Microsoft SQL Server\MSSQL11.MSSQLSERVER\MSSQL\Backup\  "  "D:\SQLBackup\  "
-------------------------->Copy<----------------------------------------------------------------------

2. Crate a folder in D:\SQLBackup (Can be SAN,Network Drive)

3. Create Window Schedule task with batch file