I am wondering if the SQL jobs like automating the database backup runs even the machine/server is offline?
-
Could you share why you're wondering that? Are you troubleshooting some problem with your backup jobs?– RonaldoCommented May 4, 2021 at 11:30
-
1What exactly does "offline" mean? Disconnected from the internet? Disconnected from your LAN? Powered off?– SMorCommented May 4, 2021 at 14:34
Add a comment
|
2 Answers
No but you can create a script or a cron job that can take a copy of the files:
Database_Name.mdf
Database_Name.ldf
Such files are stored under C:\Program Files\Microsoft SQL Server\MSSQL15.MSSQLSERVER\MSSQL\DATA
and are the actual database.
So if you take a copy of those two files and zip them together we can say that you took a backup of the database.
Try to bring those two files on another machine and attach them to test if ti works ;)