This question is very closely related to my previous post, but I am posting here again because this is little bit time sensitive.
Currently, I have pipeline completed where I use T-SQL statement as below to create a BAK file daily in Prem SQL:
BACKUP DATABASE YourDB
TO DISK = 'D:\Backups\YourDB.bak' WITH COMPRESSION;
Then, I use PowerShell script to move BAK file into Azure Storage.
This process is for an external client who is going to use that BAK file to restore into their DB.
My question is: using the top T-SQL statement, would BAK file contain most recent data daily?
Or do I have to modify anything on the T-SQL statement?
When I run that T-SQL statement, the file appears to be updated daily (with most recent date and time stamp), so I assume it gets all data needed, but I am not sure that is true or not.
I would appreciate for your feedback.