DBA Tools PowerShell: Backing up database

63 views Asked by At

I am using this code to backup databases. There is 7 of them. The backup name will follow as the database name then the timestamp. I do not want the timestamp. I am not sure how to get rid of it. I tried adding -ReplaceInName and nothing happened.

Backup-DbaDatabase -SqlInstance $SQLServer1 -Database $Database1 -Path $NewPath1 -Type Full -IgnoreFileChecks -ReplaceInName
0

There are 0 answers