{"id":23296436,"url":"https://github.com/burgossrodrigo/terraform_sql_server_ec2","last_synced_at":"2026-01-31T20:40:07.208Z","repository":{"id":267936370,"uuid":"902812381","full_name":"burgossrodrigo/terraform_sql_server_ec2","owner":"burgossrodrigo","description":null,"archived":false,"fork":false,"pushed_at":"2024-12-17T09:29:29.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-24T12:44:11.631Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HCL","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/burgossrodrigo.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2024-12-13T10:14:56.000Z","updated_at":"2024-12-17T09:29:33.000Z","dependencies_parsed_at":"2025-06-25T08:36:30.945Z","dependency_job_id":"d412eb5a-fe66-4e40-a7cc-80bd814b3d2f","html_url":"https://github.com/burgossrodrigo/terraform_sql_server_ec2","commit_stats":null,"previous_names":["burgossrodrigo/terraform_sql_server_ec2"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/burgossrodrigo/terraform_sql_server_ec2","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burgossrodrigo%2Fterraform_sql_server_ec2","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burgossrodrigo%2Fterraform_sql_server_ec2/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burgossrodrigo%2Fterraform_sql_server_ec2/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burgossrodrigo%2Fterraform_sql_server_ec2/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/burgossrodrigo","download_url":"https://codeload.github.com/burgossrodrigo/terraform_sql_server_ec2/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burgossrodrigo%2Fterraform_sql_server_ec2/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28953819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-31T18:30:42.805Z","status":"ssl_error","status_checked_at":"2026-01-31T18:30:19.593Z","response_time":128,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-20T07:11:43.015Z","updated_at":"2026-01-31T20:40:07.168Z","avatar_url":"https://github.com/burgossrodrigo.png","language":"HCL","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker run -e \"ACCEPT_EULA=Y\" -e \"MSSQL_SA_PASSWORD=yourStrong(!)Password\" -e \"MSSQL_PID=Evaluation\" -p 1433:1433  --name sqlpreview --hostname sqlpreview -d mcr.microsoft.com/mssql/server:2022-preview-ubuntu-22.04\n\n# ssh -f -N -i chave_acesso_ssh.pem -L 1436:172.31.1.178:1433 ec2-user@ec2-00-000-000-000.compute-1.amazonaws.com\n\n# docker cp AdventureWorks2022.bak b62e7187588a:/var/opt/mssql/data\n# docker exec -ti b62 \"bash\"\n# ls /var/opt/mssql/data\n\n# docker cp AdventureWorks2019.bak 40a393d33bbe:/var/opt/mssql/data\n\n# ssh -f -N -i porteiro_key.pem -L 1436:172.31.1.178:1433 ec2-user@ec2-3-239-182-149.compute-1.amazonaws.com\n\n# Restore\n```sql\nexec msdb.dbo.rds_restore_database \n@restore_db_name='AdventureWorks', \n@s3_arn_to_restore_from='arn:aws:s3:::sqlserver-backup-rodrigo/AdventureWorks2019.bak';\n```\n\n# Backup\n\n```sql\nexec msdb.dbo.rds_backup_database @source_db_name='AdventureWorks', \n@s3_arn_to_backup_to='arn:aws:s3:::sqlserver-backup-rodrigo/sqlserver-backup-rodrigo-custom.bak', \n@number_of_files=1;\n```\n\n# docker system prune -a --volumes","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburgossrodrigo%2Fterraform_sql_server_ec2","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fburgossrodrigo%2Fterraform_sql_server_ec2","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburgossrodrigo%2Fterraform_sql_server_ec2/lists"}