Hello,
I have a Database called AxDB.
The physical file names for it is "AxDB_XX.mdf" and "AxDB_XX_Log.ldf".
And the Logical names "AxDBBuild_data" and "AxDBBuild_Log".
Is it possible to write a backup script which will create a .bak file with different names?
For example, after, when I want to restore the .bak file, I want that it has different physical and logical names by default...
AxDB.mdf instead of AxDB_XX.mdf and AxDB_Log.ldf instead of AxDB_XX_Log.ldf.
And
AxDB instead of AxDBBuild_data and AxDB_Log instead of AxDBBuild_Log.
If you could provide the script will be much appreciatted.
Thanks