DBconv
asked on
sql database back up using a .bat file
I am trying to create a script that will delete an existing back up at a specific location (a)
and Create a back up of the database to the same location (a)
Also trying to achieve the same with restoring the database
and Create a back up of the database to the same location (a)
Also trying to achieve the same with restoring the database
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
incidentally, you can use the SQL extended sp xp_delete_file to delete backup files directly from within SQL.
You can do easily using SSIS packages.
There are some task to maintain SQL Server objects and else more.
There are some task to maintain SQL Server objects and else more.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.