{"published":"2009-12-13 12:15:49","image_url":null,"width":"100%","author_url":"https://blog.hatena.ne.jp/sirocco/","blog_url":"https://sirocco.hatenadiary.org/","type":"rich","categories":["SQL server"],"provider_name":"Hatena Blog","author_name":"sirocco","version":"1.0","blog_title":"sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2","height":"190","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fsirocco.hatenadiary.org%2Fentry%2F20091213%2F1260674149\" title=\"SQL server 2005 Express \u3067 BACKUP\u3000\u3068\u3000RESTORE - sirocco \u306e\u66f8\u3044\u3066\u3082\u3059\u3050\u306b\u5fd8\u308c\u308b\u30e1\u30e2\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","description":"\u3068\u308a\u3042\u3048\u305a\u30b5\u30fc\u30d0\u306e\u5168\u30c7\u30fc\u30bf\u3092\u30d0\u30c3\u30af\u30a2\u30c3\u30d7\u3057\u3001\u30c7\u30b9\u30af\u30c8\u30c3\u30d7\u306e SQL server 2005 Express \u306b\u30ea\u30b9\u30c8\u30a2\u3057\u3066\u307f\u305f\u3002 PS C:\\db> cat C:\\db\\FullBackup.sql BACKUP DATABASE dbname TO DISK = 'c:\\db\\dbname.bak' WITH INIT PS C:\\db> sqlcmd -i C:\\db\\FullBackup.sql \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9 'dbname' \u306e 66816 \u30da\u30fc\u30b8\u3001\u30d5\u30a1\u30a4\u30eb 1 \u306e\u30d5\u30a1\u30a4\u30eb 'dbname' \u3092\u51e6\u7406\u3057\u307e\u3057\u305f\u3002 \u30c7\u30fc\u30bf\u30d9\u30fc\u30b9 'dbname' \u306e 2 \u30da\u30fc\u30b8\u3001\u30d5\u30a1\u30a4\u30eb 1 \u306e\u30d5\u30a1\u30a4\u30eb '\u2026","url":"https://sirocco.hatenadiary.org/entry/20091213/1260674149","title":"SQL server 2005 Express \u3067 BACKUP\u3000\u3068\u3000RESTORE","provider_url":"https://hatena.blog"}