This script takes path and dbname, prints the command (default 0, 1 executes the command). It loops through to get number of files of the actual database. Then it builds the restore script based on number of files. It has some limitations. It can only be one backup of a database in the directory. Since it doesn’t check for the date on the files. But it can be several files of the backup.
Backup Strategy in Azure SQL?
Everybody says that the backup process in Azure SQL is very easy. Is that true? In this new article, we will show how to do it.
2016-08-08
1,609 reads