{"id":2295,"date":"2012-06-25T09:30:00","date_gmt":"2012-06-25T09:30:00","guid":{"rendered":"http:\/\/cloudcomputing.sys-con.com\/node\/2301796"},"modified":"2012-06-25T09:30:00","modified_gmt":"2012-06-25T09:30:00","slug":"backing-up-and-restoring-to-amazons-s3-cloud","status":"publish","type":"post","link":"https:\/\/icloud.pe\/blog\/backing-up-and-restoring-to-amazons-s3-cloud\/","title":{"rendered":"Backing Up and Restoring to Amazon&#8217;s S3 Cloud"},"content":{"rendered":"<div dir=\"ltr\" style=\"text-align: left;\" trbidi=\"on\">\n<\/p>\n<div class=\"MsoNormal\">\n<a href=\"http:\/\/www.cloudberrylab.com\/amazon-s3-microsoft-azure-google-storage-online-backup.aspx\">CloudBerry<br \/>\nS3 Backup<\/a> is a powerful Windows program that automate backup and restore<br \/>\nprocesses to <a href=\"http:\/\/aws.amazon.com\/s3\/\">Amazon S3<\/a> cloud storage. <\/div>\n<div class=\"MsoNormal\">\n<\/div>\n<div class=\"MsoNormal\">\nWith the latest release you can configure <b>Pre- and Post actions<\/b><br \/>\nthat will run before and after the actual backup is running. <\/div>\n<div class=\"MsoNormal\">\n<\/div>\n<div class=\"MsoNormal\">\nThis feature will make it easier to back up applications<br \/>\nsuch as SQL Server and Exchange. You can set up a Pre-action to back up SQL<br \/>\nServer and then you can set up a POST action to clean up the SQL Server backup<br \/>\ndirectory from the older backup files. &nbsp;<\/div>\n<div class=\"MsoNormal\">\nTo set up Pre\/Post action just go to the separate step of<br \/>\nthe backup wizard and select the corresponding scripts. <\/div>\n<div class=\"MsoNormal\">\n<\/div>\n<div class=\"separator\" style=\"clear: both; text-align: center;\">\n<a href=\"http:\/\/2.bp.blogspot.com\/-wMCTtgbmKm8\/T7zQ1v1agaI\/AAAAAAAAAIc\/IRQ2ZAJ64Yc\/s1600\/image001.png\" imageanchor=\"1\" style=\"margin-left: 1em; margin-right: 1em;\"><img decoding=\"async\" border=\"0\" src=\"http:\/\/2.bp.blogspot.com\/-wMCTtgbmKm8\/T7zQ1v1agaI\/AAAAAAAAAIc\/IRQ2ZAJ64Yc\/s1600\/image001.png\" \/><\/a><\/div>\n<div class=\"MsoNormal\">\n<\/div>\n<div class=\"MsoNormal\">\nYou have an option to exit backup plan if pre-action fails<br \/>\nor continue backup in regardless of the results. &nbsp;you can also run the post-action only if a backup<br \/>\nhas successfully completed or in any cases. <\/div>\n<div class=\"MsoNormal\">\nAs always we would be happy to hear your feedback and you<br \/>\nare welcome to post a comment.<\/div>\n<h3 style=\"text-align: left;\">\n<p>Backing up MS SQL Server<\/h3>\n<div class=\"MsoNormal\">\nyou can now back up SQL Server using the pre-action and then<br \/>\nconfigure the backup plan to copy the SQL Server .BAK files over to the cloud<br \/>\nstorage . To do that you can run one of the following command as a pre-action. <\/div>\n<div class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt;\">\n<span style=\"color: #222222; font-family: Arial, sans-serif; font-size: 10pt;\">1) using a script<br \/>\nstored in *.sql file<o:p><\/o:p><\/span><\/div>\n<div class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt;\">\n<\/div>\n<div class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt;\">\n<span style=\"color: #222222; font-family: Arial, sans-serif; font-size: 10pt;\">specify&nbsp;<\/span><b><span style=\"color: #222222; font-family: 'Courier New'; font-size: 8.5pt;\">sqlcmd -S . -i &#8220;c:\\sqlcmd-backup-script.sql&#8221;<\/span><\/b><span style=\"color: #222222; font-family: Arial, sans-serif; font-size: 10pt;\"><o:p><\/o:p><\/span><\/div>\n<div class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt;\">\n<\/div>\n<div class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt;\">\n<b><span style=\"color: #222222; font-family: 'Courier New'; font-size: 8.5pt;\">2) using osql<\/span><\/b><span style=\"color: #222222; font-family: Arial, sans-serif; font-size: 10pt;\"><o:p><\/o:p><\/span><\/div>\n<div class=\"MsoNormal\" style=\"margin-bottom: 0.0001pt;\">\n<\/div>\n<div class=\"MsoNormal\" style=\"background: #EEEEEE; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;\">\n<span style=\"color: maroon; font-family: Consolas; font-size: 10.5pt;\">&#8220;C:\\Program Files\\Microsoft SQL<br \/>\nServer\\90\\Tools\\Binn\\osql.exe&#8221;<\/span><span style=\"color: #222222; font-family: Consolas; font-size: 10.5pt;\"> <\/span><span style=\"border: 1pt none windowtext; color: #222222; font-family: Consolas; font-size: 10.5pt; padding: 0in;\"><\/p>\n<p><\/span><span style=\"color: #222222; font-family: Consolas; font-size: 10.5pt;\"><o:p><\/o:p><\/span><\/div>\n<div class=\"MsoNormal\" style=\"background: #EEEEEE; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;\">\n<span style=\"color: #222222; font-family: Consolas; font-size: 10.5pt;\">&nbsp; &nbsp; -E -Q <\/span><span style=\"color: maroon; font-family: Consolas; font-size: 10.5pt;\">&#8220;BACKUP DATABASE mydatabase TO DISK=&#8217;C:\\tmp\\db.bak&#8217; WITH<br \/>\nFORMAT&#8221;<\/span><span style=\"color: #222222; font-family: Consolas; font-size: 10.5pt;\"><o:p><\/o:p><\/span><\/div>\n<div class=\"MsoNormal\" style=\"background: #EEEEEE; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;\">\n<span style=\"border: 1pt none windowtext; color: maroon; font-family: Consolas; font-size: 10.5pt; padding: 0in;\"><\/p>\n<p><\/span><span style=\"color: maroon; font-family: Consolas; font-size: 10.5pt;\"><o:p><\/o:p><\/span><\/div>\n<div class=\"MsoNormal\" style=\"background: #EEEEEE; line-height: 13.5pt; margin-bottom: .0001pt; margin-bottom: 0in; tab-stops: 45.8pt 91.6pt 137.4pt 183.2pt 229.0pt 274.8pt 320.6pt 366.4pt 412.2pt 458.0pt 503.8pt 549.6pt 595.4pt 641.2pt 687.0pt 732.8pt; vertical-align: baseline;\">\n<span style=\"border: 1pt none windowtext; color: maroon; font-family: Consolas; font-size: 10.5pt; padding: 0in;\"><\/p>\n<p><\/span><span style=\"color: maroon; font-family: Consolas; font-size: 10.5pt;\"><o:p><\/o:p><\/span><\/div>\n<div class=\"MsoNormal\">\n<\/div>\n<div class=\"MsoNormal\">\nOverall SQL Server Backup is far beyond the scope of this<br \/>\narticle , but we hope this will give you a hint on how you can back up SQL<br \/>\nServer. Check out SQL Server Books Online for more information. <\/div>\n<div class=\"MsoNormal\">\n+++<\/div>\n<div class=\"MsoNormal\">\n<i><span style=\"font-size: 10pt; line-height: 115%;\">Note: this post applies to CloudBerry<br \/>\nBackup 2.9 and later. <o:p><\/o:p><\/span><\/i><\/div>\n<div class=\"MsoNormal\">\n<a href=\"http:\/\/www.cloudberrylab.com\/amazon-s3-microsoft-azure-google-storage-online-backup.aspx\"><span style=\"font-size: 10pt; line-height: 115%;\">CloudBerry<br \/>\nBackup<\/span><\/a><span style=\"font-size: 10pt; line-height: 115%;\"> is a Windows program that leverages <\/span><a href=\"http:\/\/aws.amazon.com\/s3\/\"><span style=\"font-size: 10pt; line-height: 115%;\">Amazon S3<\/span><\/a><span style=\"font-size: 10pt; line-height: 115%;\"> storage. You can download it at <\/span><a href=\"http:\/\/www.cloudberrylab.com\/backup\"><span style=\"font-size: 10pt; line-height: 115%;\">http:\/\/www.cloudberrylab.com\/backup<\/span><\/a><span style=\"font-size: 10pt; line-height: 115%;\">. It comes<br \/>\nwith onetime fee of $29.99 (US) per copy. <o:p><\/o:p><\/span><\/div>\n<div class=\"MsoNormal\">\n<a href=\"http:\/\/www.cloudberrylab.com\/whs-online-backup-to-amazon-s3-microsoft-azure-google-storage.aspx\"><span style=\"font-size: 10pt; line-height: 115%;\">CloudBerry<br \/>\nBackup for WHS<\/span><\/a><span style=\"font-size: 10pt; line-height: 115%;\"> is a Windows Home Server add-in that leverages <\/span><a href=\"http:\/\/aws.amazon.com\/s3\/\"><span style=\"font-size: 10pt; line-height: 115%;\">Amazon S3<\/span><\/a><span style=\"font-size: 10pt; line-height: 115%;\"> storage. You can download it at<\/span><br \/>\n<a href=\"http:\/\/www.cloudberrylab.com\/whs\"><span style=\"font-size: 10pt; line-height: 115%;\">http:\/\/www.cloudberrylab.com\/whs<\/span><\/a><span style=\"font-size: 10pt; line-height: 115%;\">. It comes<br \/>\nwith onetime fee of $29.99 (US) per copy. <o:p><\/o:p><\/span><\/div>\n<div class=\"MsoNormal\">\n<a href=\"http:\/\/www.cloudberrylab.com\/windows-server-online-backup-to-amazon-s3-microsoft-azure-google-storage.aspx\"><span style=\"font-size: 10pt; line-height: 115%;\">CloudBerry<br \/>\nBackup Server Edition.<\/span><\/a><span style=\"font-size: 10pt; line-height: 115%;\">&nbsp; is a Windows<br \/>\nprogram designed to run in server environment that leverages <\/span><a href=\"http:\/\/aws.amazon.com\/s3\/\"><span style=\"font-size: 10pt; line-height: 115%;\">Amazon S3<\/span><\/a><span style=\"font-size: 10pt; line-height: 115%;\"> storage. You can download it at <\/span><a href=\"http:\/\/www.cloudberrylab.com\/server\"><span style=\"font-size: 10pt; line-height: 115%;\">http:\/\/www.cloudberrylab.com\/server<\/span><\/a><span style=\"font-size: 10pt; line-height: 115%;\">. It comes<br \/>\nwith onetime fee of $79.99 (US) per copy. <o:p><\/o:p><\/span><\/div>\n<div class=\"MsoNormal\">\n<\/div>\n<div class=\"MsoNormal\">\n<span style=\"font-size: 10pt; line-height: 115%;\">Like our products? Please help us spread the word about them.<br \/>\n<\/span><a href=\"http:\/\/www.cloudberrylab.com\/default.aspx?page=linkus\"><span style=\"font-size: 10pt; line-height: 115%;\">Learn here<\/span><\/a><span style=\"font-size: 10pt; line-height: 115%;\"> how to do<br \/>\nit. <o:p><\/o:p><\/span><\/div>\n<div class=\"MsoNormal\">\n<span style=\"font-size: 10pt; line-height: 115%;\">Want to get CloudBerry Backup for <b>FREE<\/b>? Make a blog post about us!<\/span><\/div>\n<\/div>\n<div class=\"blogger-post-footer\"><img width='1' height='1' src='https:\/\/blogger.googleusercontent.com\/tracker\/8805785080317614387-7349924950665465467?l=blog.cloudberrylab.com' alt='' \/><\/div>\n<p><a href=\"http:\/\/cloudcomputing.sys-con.com\/node\/2301796\" >read more<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>CloudBerry<br \/>\nS3 Backup is a powerful Windows program that automate backup and restore<br \/>\nprocesses to Amazon S3 cloud storage. <\/p>\n<p>With the latest release you can configure Pre- and Post actions<br \/>\nthat will run before and after the actual backup is running&#8230;<\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-2295","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/posts\/2295","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/comments?post=2295"}],"version-history":[{"count":0,"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/posts\/2295\/revisions"}],"wp:attachment":[{"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/media?parent=2295"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/categories?post=2295"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/icloud.pe\/blog\/wp-json\/wp\/v2\/tags?post=2295"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}