![]() Open a Terminal or Command Prompt, and run the following command. bacpac fileįirst, we need to create a backup of the database that is in your old Docker container. Obviously, there's a two-day difference, but it's close enough. You can also get a rough estimate using sql-cli and a SQL query: SELECT create_date AS InstallDate, DATEADD( DD, 180, create_date ) AS ExpiryDate, ( 180 - DATEDIFF( DD, create_date, GETDATE() ) ) AS DaysLeft FROM sys.server_principals WHERE name = N'BUILTIN\Administrators' SQL Server reports how many days are left when it starts. The best way to know how many days are left in the trial is to look at the logs in the container. The good news is, SQL for Linux comes with a sqlpackage utility you can use to create a backup of your database. ![]() At some point, you will have to create a new Docker container. The bad news is, the Docker version of SQL Server for Linux is a limited trial edition that will eventually expire.
0 Comments
Leave a Reply. |