{"id":1350,"date":"2017-04-17T18:14:02","date_gmt":"2017-04-17T12:44:02","guid":{"rendered":"https:\/\/blog.pheonixsolutions.com\/?p=1350"},"modified":"2017-04-17T18:14:03","modified_gmt":"2017-04-17T12:44:03","slug":"python-script-take-backup-folder-amazon-s3-windows","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/python-script-take-backup-folder-amazon-s3-windows\/","title":{"rendered":"Python Script to take backup of folder on amazon s3 &#8211; Windows"},"content":{"rendered":"<h4>Python Script to take backup of folder on Amazon s3 &#8211; Windows<\/h4>\n<p><strong>Date Posted:17-04-2017<\/strong><\/p>\n<p>Amazon S3 is a storage where we can store files in a cloud. We can download the files from anywhere after we stored the files on cloud. There are many way to store the files on cloud. In this post, we will use python script to take backup of folder.<\/p>\n<h5>Assumption:<\/h5>\n<ol>\n<li>Windows Machine<\/li>\n<li>Python<\/li>\n<li>Boto Library.'&#8221;<\/li>\n<li>IAM Access key and secret key which has privilege to the bucket &#8220;bucket-name&#8221;<\/li>\n<\/ol>\n<p>Incase, if python or boto not installed on windows machine, follow the<a href=\"https:\/\/blog.pheonixsolutions.com\/install-python-pip-boto-windows-server\/\"> post to install python\u00a0on windows machine<\/a><\/p>\n<h5>Implementation.<\/h5>\n<p>The below script will take backup of folder\u00a0<em>&#8220;c:\\backup&#8221;\u00a0<\/em>on s3 bucket &#8220;bucket-name&#8221;.<\/p>\n<h5>What needs to be modified on the below script:<\/h5>\n<p>Depends on your requirement\/details, please modify the below details<\/p>\n<ol>\n<li>AWS_ACCESS_KEY_ID &#8211; \u00a0Your Access key. Incase, if we don&#8217;t have access key generate one from amazon IAM<\/li>\n<li>AWS_ACCESS_KEY_SECRET &#8211; Your Secret key.<\/li>\n<li>bucket_name &#8211; S3 Bucket name<\/li>\n<li>sourceDir &#8211; Directory which needs to be backed up on s3<\/li>\n<\/ol>\n<p>Create a file called s3backup.py<\/p>\n<p><code>nano s3backup.py<\/code><\/p>\n<pre class=\"EnlighterJSRAW\" data-enlighter-language=\"python\">import boto\r\nimport boto.s3\r\n\r\nimport os.path\r\nimport sys\r\nimport time\r\nimport datetime\r\n\r\n# Fill these in - you get them when you sign up for S3\r\nAWS_ACCESS_KEY_ID = 'xxxxxxxxxxxx'\r\nAWS_ACCESS_KEY_SECRET = 'xxxxxxxxxxxxxxxxxxxxxxx'\r\n# Fill in info on data to upload\r\n# destination bucket name\r\nbucket_name = 'bucket-name'\r\n# source directory\r\nsourceDir = 'c:\\backup'\r\n# destination directory name (on s3)\r\nutc_timestamp = time.time()\r\nUTC_FORMAT = '%Y%m%d'\r\nutc_time = datetime.datetime.utcfromtimestamp(utc_timestamp)\r\nutc_time = utc_time.strftime(UTC_FORMAT)\r\nprint (utc_time)\r\ndestDir = ''\r\n\r\n#max size in bytes before uploading in parts. between 1 and 5 GB recommended\r\nMAX_SIZE = 20 * 1000 * 1000\r\n#size of parts when uploading in parts\r\nPART_SIZE = 6 * 1000 * 1000\r\n\r\nconn = boto.connect_s3(AWS_ACCESS_KEY_ID, AWS_ACCESS_KEY_SECRET)\r\nbucket = conn.get_bucket(bucket_name)\r\nuploadFileNames = []\r\nfor root, dirs, files in os.walk(sourceDir, topdown=False):\r\n       for name in files:\r\n          fname=os.path.join(root, name)\r\n          print (fname)\r\n          uploadFileNames.append(fname)\r\n          print (uploadFileNames)\r\ndef percent_cb(complete, total):\r\n    sys.stdout.write('.')\r\n    sys.stdout.flush()\r\nfor filenames in uploadFileNames:\r\n        filename=filenames.replace(\"\\\\\", \"\/\")\r\n        print ('filename=' + filename)\r\n        sourcepath = filename\r\n        destpath = utc_time + '\/' + filename\r\n        #print ('Uploading %s to Amazon S3 bucket %s') % \\\r\n               #(sourcepath, bucket_name)\r\n\r\n        filesize = os.path.getsize(sourcepath)\r\n        if filesize &gt; MAX_SIZE:\r\n            print (\"multipart upload\")\r\n            mp = bucket.initiate_multipart_upload(destpath)\r\n            fp = open(sourcepath,'rb')\r\n            fp_num = 0\r\n            while (fp.tell() &lt; filesize):\r\n                fp_num += 1\r\n                print (\"uploading part %i\" %fp_num)\r\n                mp.upload_part_from_file(fp, fp_num, cb=percent_cb, num_cb=10, size=PART_SIZE)\r\n\r\n            mp.complete_upload()\r\n\r\n        else:\r\n            print (\"singlepart upload\")\r\n            k = boto.s3.key.Key(bucket)\r\n            k.key = destpath\r\n            k.set_contents_from_filename(sourcepath,\r\n                    cb=percent_cb, num_cb=10)\r\n<\/pre>\n<p>&nbsp;<\/p>\n<p>Execute the script on powershell to take backup. The backup will be created on the bucket with today&#8217;s date.<\/p>\n<p><code>c:\\python3\\python.exe s3backup.py<\/code><\/p>\n<p>We can add the script on schedule tasks to take backup daily.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Python Script to take backup of folder on Amazon s3 &#8211; Windows Date Posted:17-04-2017 Amazon S3 is a storage where we can store files in a cloud. We can download the files from anywhere after we stored the files on cloud. There are many way to store the files on&hellip; <a href=\"https:\/\/pheonixsolutions.com\/blog\/python-script-take-backup-folder-amazon-s3-windows\/\" class=\"more-link read-more\" rel=\"bookmark\">Continue Reading <span class=\"screen-reader-text\">Python Script to take backup of folder on amazon s3 &#8211; Windows<\/span><i class=\"fa fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[291,290,226],"tags":[280,292,324],"class_list":{"0":"post-1350","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"hentry","6":"category-python-script","7":"category-script","8":"category-windows-server","9":"tag-amazon","10":"tag-python","11":"tag-s3","12":"h-entry","14":"h-as-article"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.4 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Pheonix Solutions - We Empower Your Business Growth<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/pheonixsolutions.com\/blog\/python-script-take-backup-folder-amazon-s3-windows\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Pheonix Solutions - We Empower Your Business Growth\" \/>\n<meta property=\"og:description\" content=\"Python Script to take backup of folder on Amazon s3 &#8211; Windows Date Posted:17-04-2017 Amazon S3 is a storage where we can store files in a cloud. We can download the files from anywhere after we stored the files on cloud. There are many way to store the files on&hellip; Continue Reading Python Script to take backup of folder on amazon s3 &#8211; Windows\" \/>\n<meta property=\"og:url\" content=\"https:\/\/pheonixsolutions.com\/blog\/python-script-take-backup-folder-amazon-s3-windows\/\" \/>\n<meta property=\"og:site_name\" content=\"PHEONIXSOLUTIONS\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/\" \/>\n<meta property=\"article:published_time\" content=\"2017-04-17T12:44:02+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2017-04-17T12:44:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/09\/PX2.png\" \/>\n\t<meta property=\"og:image:width\" content=\"3837\" \/>\n\t<meta property=\"og:image:height\" content=\"2540\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"admin\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:site\" content=\"@pheonixsolution\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"admin\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-script-take-backup-folder-amazon-s3-windows\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-script-take-backup-folder-amazon-s3-windows\\\/\"},\"author\":{\"name\":\"admin\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\"},\"headline\":\"Python Script to take backup of folder on amazon s3 &#8211; Windows\",\"datePublished\":\"2017-04-17T12:44:02+00:00\",\"dateModified\":\"2017-04-17T12:44:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-script-take-backup-folder-amazon-s3-windows\\\/\"},\"wordCount\":235,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"keywords\":[\"amazon\",\"python\",\"s3\"],\"articleSection\":[\"Python\",\"Script\",\"Windows Server\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-script-take-backup-folder-amazon-s3-windows\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-script-take-backup-folder-amazon-s3-windows\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-script-take-backup-folder-amazon-s3-windows\\\/\",\"name\":\"Pheonix Solutions - We Empower Your Business Growth\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\"},\"datePublished\":\"2017-04-17T12:44:02+00:00\",\"dateModified\":\"2017-04-17T12:44:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-script-take-backup-folder-amazon-s3-windows\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-script-take-backup-folder-amazon-s3-windows\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/python-script-take-backup-folder-amazon-s3-windows\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Python Script to take backup of folder on amazon s3 &#8211; Windows\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"name\":\"Pheonix Solutions\",\"description\":\"We Empower Your Business Growth\",\"publisher\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#organization\",\"name\":\"PheonixSolutions\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"contentUrl\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/wp-content\\\/uploads\\\/2016\\\/12\\\/logo.png\",\"width\":454,\"height\":300,\"caption\":\"PheonixSolutions\"},\"image\":{\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/PheonixSolutions-209942982759387\\\/\",\"https:\\\/\\\/x.com\\\/pheonixsolution\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/#\\\/schema\\\/person\\\/0ffa33d73c869faec2d50e79c24e3503\",\"name\":\"admin\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g\",\"caption\":\"admin\"},\"sameAs\":[\"http:\\\/\\\/blog.pheonixsolutions.com\"],\"url\":\"https:\\\/\\\/pheonixsolutions.com\\\/blog\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Pheonix Solutions - We Empower Your Business Growth","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/pheonixsolutions.com\/blog\/python-script-take-backup-folder-amazon-s3-windows\/","og_locale":"en_US","og_type":"article","og_title":"Pheonix Solutions - We Empower Your Business Growth","og_description":"Python Script to take backup of folder on Amazon s3 &#8211; Windows Date Posted:17-04-2017 Amazon S3 is a storage where we can store files in a cloud. We can download the files from anywhere after we stored the files on cloud. There are many way to store the files on&hellip; Continue Reading Python Script to take backup of folder on amazon s3 &#8211; Windows","og_url":"https:\/\/pheonixsolutions.com\/blog\/python-script-take-backup-folder-amazon-s3-windows\/","og_site_name":"PHEONIXSOLUTIONS","article_publisher":"https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","article_published_time":"2017-04-17T12:44:02+00:00","article_modified_time":"2017-04-17T12:44:03+00:00","og_image":[{"width":3837,"height":2540,"url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/09\/PX2.png","type":"image\/png"}],"author":"admin","twitter_card":"summary_large_image","twitter_creator":"@pheonixsolution","twitter_site":"@pheonixsolution","twitter_misc":{"Written by":"admin","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/pheonixsolutions.com\/blog\/python-script-take-backup-folder-amazon-s3-windows\/#article","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/python-script-take-backup-folder-amazon-s3-windows\/"},"author":{"name":"admin","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503"},"headline":"Python Script to take backup of folder on amazon s3 &#8211; Windows","datePublished":"2017-04-17T12:44:02+00:00","dateModified":"2017-04-17T12:44:03+00:00","mainEntityOfPage":{"@id":"https:\/\/pheonixsolutions.com\/blog\/python-script-take-backup-folder-amazon-s3-windows\/"},"wordCount":235,"commentCount":0,"publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"keywords":["amazon","python","s3"],"articleSection":["Python","Script","Windows Server"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/pheonixsolutions.com\/blog\/python-script-take-backup-folder-amazon-s3-windows\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/pheonixsolutions.com\/blog\/python-script-take-backup-folder-amazon-s3-windows\/","url":"https:\/\/pheonixsolutions.com\/blog\/python-script-take-backup-folder-amazon-s3-windows\/","name":"Pheonix Solutions - We Empower Your Business Growth","isPartOf":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#website"},"datePublished":"2017-04-17T12:44:02+00:00","dateModified":"2017-04-17T12:44:03+00:00","breadcrumb":{"@id":"https:\/\/pheonixsolutions.com\/blog\/python-script-take-backup-folder-amazon-s3-windows\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/pheonixsolutions.com\/blog\/python-script-take-backup-folder-amazon-s3-windows\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/pheonixsolutions.com\/blog\/python-script-take-backup-folder-amazon-s3-windows\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/pheonixsolutions.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Python Script to take backup of folder on amazon s3 &#8211; Windows"}]},{"@type":"WebSite","@id":"https:\/\/pheonixsolutions.com\/blog\/#website","url":"https:\/\/pheonixsolutions.com\/blog\/","name":"Pheonix Solutions","description":"We Empower Your Business Growth","publisher":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/pheonixsolutions.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/pheonixsolutions.com\/blog\/#organization","name":"PheonixSolutions","url":"https:\/\/pheonixsolutions.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","contentUrl":"https:\/\/pheonixsolutions.com\/blog\/wp-content\/uploads\/2016\/12\/logo.png","width":454,"height":300,"caption":"PheonixSolutions"},"image":{"@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/PheonixSolutions-209942982759387\/","https:\/\/x.com\/pheonixsolution"]},{"@type":"Person","@id":"https:\/\/pheonixsolutions.com\/blog\/#\/schema\/person\/0ffa33d73c869faec2d50e79c24e3503","name":"admin","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/09bacc0294abee1322a23ab4bc6a0330dd4cb4df707dc9d0b0efeba6c109608b?s=96&r=g","caption":"admin"},"sameAs":["http:\/\/blog.pheonixsolutions.com"],"url":"https:\/\/pheonixsolutions.com\/blog\/author\/admin\/"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/p7F4uM-lM","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/1350","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=1350"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/1350\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=1350"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=1350"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=1350"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}