{"id":9913,"date":"2016-11-24T12:46:34","date_gmt":"2016-11-24T12:46:34","guid":{"rendered":"http:\/\/mobisoftinfotech.com\/resources\/?p=9913"},"modified":"2025-10-06T14:43:34","modified_gmt":"2025-10-06T09:13:34","slug":"use-amazons-s3cmd-project-backups","status":"publish","type":"post","link":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups","title":{"rendered":"How To Use Amazon\u2019s s3cmd For Project Backups?"},"content":{"rendered":"<p>In this tutorial we will see how to use Amazon\u2019s s3cmd for project backups. Amazon\u2019s s3 is highly available storage cloud. It gives you virtually unlimited storage at very affordable rate, so this makes it ideal for project backups.<\/p>\n<p>Typically you would want to store your daily database terms to a amazon s3 bucket, naturally, you would want to automate this process. To automate this process the s3cmd package is very useful.<\/p>\n<p>Here, we will see how to use s3cmd to copy files to an s3 bucket.<\/p>\n<p>First you need to create an account in <strong>console.aws.amazon.com<\/strong>. After creating an account follow the steps given below:<br>\n<strong><br>\nStep 1: Creating s3 Bucket<\/strong><\/p>\n<p>First, create an \u2018s3 bucket\u2019<\/p>\n<ol>\n<li>Click on \u2018Create Bucket\u2019<\/li>\n<li>Select a Bucket Name (e.g \u2018s3cmddemo\u2019)<\/li>\n<li>Click on \u2018create\u2019<\/li>\n<\/ol>\n<p><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10041\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Create-a-bucket-mobisoft-infotech.png\" alt=\"create a bucket mobisoft-infotech\" width=\"745\" height=\"396\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Create-a-bucket-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Create-a-bucket-mobisoft-infotech-300x159.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10041 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20396%22%3E%3C%2Fsvg%3E\" alt=\"create a bucket mobisoft-infotech\" width=\"745\" height=\"396\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20396%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Create-a-bucket-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Create-a-bucket-mobisoft-infotech-300x159.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Create-a-bucket-mobisoft-infotech.png\"><\/p>\n<p><strong>Step 2: Create A User<\/strong><\/p>\n<ol>\n<li style=\"list-style-type: none;\">\n<ol>\n<li>Click on \u2018Services\u2019<\/li>\n<li>Go to &gt; Amazon\u2019s IAM Service<\/li>\n<li>Go to \u2018Users\u2019 and click on \u2018Create New User\u2019<\/li>\n<\/ol>\n<\/li>\n<\/ol>\n<p><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10042\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Create-a-user-mobisoft-infotech.png\" alt=\"create a user mobisoft-infotech\" width=\"745\" height=\"418\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Create-a-user-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Create-a-user-mobisoft-infotech-300x168.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10042 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20418%22%3E%3C%2Fsvg%3E\" alt=\"create a user mobisoft-infotech\" width=\"745\" height=\"418\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20418%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Create-a-user-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Create-a-user-mobisoft-infotech-300x168.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Create-a-user-mobisoft-infotech.png\"><\/p>\n<ul>\n<li>Enter \u2018User Name\u2019<\/li>\n<li>Click on \u2018Create\u2019<\/li>\n<\/ul>\n<p>Generally, it is advised to use the same name (Bucket name) to indicate that this user is created for the sole purpose of accessing the s3 bucket.<\/p>\n<p><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10043\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/enter-user-name-mobisoft-infotech.png\" alt=\"enter user name mobisoft-infotech\" width=\"745\" height=\"418\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/enter-user-name-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/enter-user-name-mobisoft-infotech-300x168.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10043 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20418%22%3E%3C%2Fsvg%3E\" alt=\"enter user name mobisoft-infotech\" width=\"745\" height=\"418\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20418%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/enter-user-name-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/enter-user-name-mobisoft-infotech-300x168.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/enter-user-name-mobisoft-infotech.png\"><\/p>\n<p><strong>Note:<\/strong> It&#8217;s important not to use the same credentials for multiple buckets, because that way the credentials of that one user gets leaked, all your buckets become vulnerable to hacking, so it\u2019s a good practice to create a user to specifically access data from one bucket.<\/p>\n<p>Even in a project if you are creating various buckets for dev demo and production environment, you should create a different user for each of those buckets.<\/p>\n<p><strong>Step 3: Downloading Credentials<\/strong><\/p>\n<ol>\n<li>Click on \u2018Download Credentials\u2019.<\/li>\n<\/ol>\n<p><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10044\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Download-credentials-mobisoft-infotech.png\" alt=\"download credentials mobisoft-infotech\" width=\"745\" height=\"418\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Download-credentials-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Download-credentials-mobisoft-infotech-300x168.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10044 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20418%22%3E%3C%2Fsvg%3E\" alt=\"download credentials mobisoft-infotech\" width=\"745\" height=\"418\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20418%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Download-credentials-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Download-credentials-mobisoft-infotech-300x168.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Download-credentials-mobisoft-infotech.png\"><\/p>\n<p><strong>Note:<\/strong> You get to download credentials only once if you lose them you need to reset credentials using \u2018IAM Management Console\u2019. But it will mean that you will need to update all the projects where this user\u2019s credentials are being used.<\/p>\n<p>Once downloaded, you will receive &gt; User Name, Access key Id, and Secret Access Key.<\/p>\n<p><strong>Creating \u2018IAM Policy\u2019 To Give User Access To The Bucket That We Created<\/strong><\/p>\n<p>Below is an example of an already created bucket policy:<\/p>\n<p><strong>Step 1: Create A New File<\/strong><\/p>\n<ol>\n<li>Create a new file. For this purpose copy the below given statement in a new file.(TEXT TO COPY TO A FILE)<br>\n<code>{<br>\n\"Version\": \"2012-10-17\",<br>\n\"Statement\": [<br>\n{<br>\n\"Effect\": \"Allow\",<br>\n\"Action\": [<br>\n\"s3:ListBucket\",<br>\n\"s3:GetBucketLocation\",<br>\n\"s3:ListBucketMultipartUploads\"<br>\n],<br>\n\"Resource\": \"arn:aws:s3:::\",<br>\n\"Condition\": {}<br>\n},<br>\n{<br>\n\"Effect\": \"Allow\",<br>\n\"Action\": [<br>\n\"s3:AbortMultipartUpload\",<br>\n\"s3:DeleteObject\",<br>\n\"s3:DeleteObjectVersion\",<br>\n\"s3:GetObject\",<br>\n\"s3:GetObjectAcl\",<br>\n\"s3:GetObjectVersion\",<br>\n\"s3:GetObjectVersionAcl\",<br>\n\"s3:PutObject\",<br>\n\"s3:PutObjectAcl\",<br>\n\"s3:PutObjectAclVersion\"<br>\n],<br>\n\"Resource\": \"arn:aws:s3:::\/*\",<br>\n\"Condition\": {}<br>\n},<br>\n{<br>\n\"Effect\": \"Allow\",<br>\n\"Action\": \"s3:ListAllMyBuckets\",<br>\n\"Resource\": \"*\",<br>\n\"Condition\": {}<br>\n}<br>\n]\n}<\/code><\/li>\n<li>Change the line containing<br>\n<code>\u201cResource\u201d: \"arn:aws:s3:::\"<\/code><br>\nwith the as s3cmddemo (Add your bucket-name)<br>\nAfter adding the change, it would be:<br>\n<code>\"Resource\": \"arn:aws:s3:::s3cmddemo\"<\/code><\/li>\n<\/ol>\n<p>We are creating below given statement for &#8220;Resource&#8221;: &#8220;arn:aws:s3:::s3cmddemo&#8221;, which gives following actions:<\/p>\n<ol>\n<li>&#8220;s3:ListBucket&#8221;<\/li>\n<li>&#8220;s3:GetBucketLocation&#8221;<\/li>\n<li>&#8220;s3:ListBucketMultipartUploads&#8221;<\/li>\n<\/ol>\n<p><strong>Step 2: Provide Access To A Resource<\/strong><\/p>\n<p>Similarly give access to<br>\n&#8220;Resource&#8221;: \u201carn:aws:s3:::\/*&#8221;,<\/p>\n<p>Use &#8211; s3cmddemo as the \/*\u201d,<\/p>\n<p>Hence, it will be:<br>\n&#8220;Resource&#8221;: \u201carn:aws:s3:::s3cmddemo\/*&#8221;,<\/p>\n<p><strong>Note:<\/strong> We have given \u201cListAllMyBuckets\u201d action on all buckets to this user, so this allows this user to list all the buckets but he can modify only the buckets listed in the two below given roots, and that is the only bucket \u2018s3cmddemo\u2019<\/p>\n<p><strong>Step 3: Completion Of User Creation Process In \u2018IAM\u2019<\/strong><\/p>\n<ol>\n<li>Select and copy the below given Statement<\/li>\n<li>Go to IAM<\/li>\n<li>Click on \u2018Close\u2019.<\/li>\n<\/ol>\n<p>Once you click on \u2018Close\u2019, you will find the user in \u2018IAM\u2019 with the name of \u2018s3cmddemo\u2019 as shown below<\/p>\n<p><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10045\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Completion-of-creation-process-in-IAM-mobisoft-infotech.png\" alt=\"completion of creation process in iam mobisoft-infotech\" width=\"745\" height=\"391\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Completion-of-creation-process-in-IAM-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Completion-of-creation-process-in-IAM-mobisoft-infotech-300x157.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10045 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20391%22%3E%3C%2Fsvg%3E\" alt=\"completion of creation process in iam mobisoft-infotech\" width=\"745\" height=\"391\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20391%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Completion-of-creation-process-in-IAM-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Completion-of-creation-process-in-IAM-mobisoft-infotech-300x157.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Completion-of-creation-process-in-IAM-mobisoft-infotech.png\"><\/p>\n<p><strong>Step 4: Updating Policies In Policy Document<\/strong><\/p>\n<p>1. Click on the user name \u2018s3cmddemo\u2019<\/p>\n<p>2. Click on \u2018Inline Policies\u2019<\/p>\n<p>3. Select \u2018click here\u2019 option<\/p>\n<p><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10046\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Updating-policy-in-policy-doc-mobisoft-infotech.png\" alt=\"updating policy in policy doc mobisoft-infotech\" width=\"745\" height=\"390\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Updating-policy-in-policy-doc-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Updating-policy-in-policy-doc-mobisoft-infotech-300x157.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10046 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20390%22%3E%3C%2Fsvg%3E\" alt=\"updating policy in policy doc mobisoft-infotech\" width=\"745\" height=\"390\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20390%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Updating-policy-in-policy-doc-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Updating-policy-in-policy-doc-mobisoft-infotech-300x157.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Updating-policy-in-policy-doc-mobisoft-infotech.png\"><\/p>\n<p>4. Select \u2018Custom Policy\u2019 under Set Permissions<\/p>\n<p>5. Click on \u2018Select\u2019<\/p>\n<p><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10047\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/set-permission-mobisoft-infotech.png\" alt=\"set permission mobisoft-infotech\" width=\"745\" height=\"419\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/set-permission-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/set-permission-mobisoft-infotech-300x169.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10047 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20419%22%3E%3C%2Fsvg%3E\" alt=\"set permission mobisoft-infotech\" width=\"745\" height=\"419\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20419%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/set-permission-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/set-permission-mobisoft-infotech-300x169.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/set-permission-mobisoft-infotech.png\"><\/p>\n<p>After clicking on \u2018Select\u2019 the Review Policy tab will open, paste the following in \u2018Policy Document\u2019 as shown below:<\/p>\n[TEXT TO COPY] (Here the bucket name has been given as s3cmddemo)\n<p><code>\"Version\": \"2012-10-17\",<br>\n\"Statement\": [<br>\n{<br>\n\"Effect\": \"Allow\",<br>\n\"Action\": [<br>\n\"s3:ListBucket\",<br>\n\"s3:GetBucketLocation\",<br>\n\"s3:ListBucketMultipartUploads\"<br>\n],<br>\n\"Resource\": \"arn:aws:s3:::s3cmddemo\",<br>\n\"Condition\": {}<br>\n},<br>\n{<br>\n\"Effect\": \"Allow\",<br>\n\"Action\": [<br>\n\"s3:AbortMultipartUpload\",<br>\n\"s3:DeleteObject\",<br>\n\"s3:DeleteObjectVersion\",<br>\n\"s3:GetObject\",<br>\n\"s3:GetObjectAcl\",<br>\n\"s3:GetObjectVersion\",<br>\n\"s3:GetObjectVersionAcl\",<br>\n\"s3:PutObject\",<br>\n\"s3:PutObjectAcl\",<br>\n\"s3:PutObjectAclVersion\"<br>\n],<br>\n\"Resource\": \"arn:aws:s3:::s3cmddemo\/*\",<br>\n\"Condition\": {}<br>\n},<br>\n{<br>\n\"Effect\": \"Allow\",<br>\n\"Action\": \"s3:ListAllMyBuckets\",<br>\n\"Resource\": \"*\",<br>\n\"Condition\": {}<br>\n}<br>\n]\n}<\/code><\/p>\n<p><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10048\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Review-policy-mobisoft-infotech.png\" alt=\"review policy mobisoft-infotech\" width=\"745\" height=\"419\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Review-policy-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Review-policy-mobisoft-infotech-300x169.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10048 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20419%22%3E%3C%2Fsvg%3E\" alt=\"review policy mobisoft-infotech\" width=\"745\" height=\"419\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20419%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Review-policy-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Review-policy-mobisoft-infotech-300x169.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Review-policy-mobisoft-infotech.png\"><\/p>\n<ol>\n<li>Give the Policy Name, for example, I have given policy name as: s3cmddemo-policy<\/li>\n<li>Click on \u2018Validate Policy\u2019<\/li>\n<li>Once the policy is validated then click on \u2018Apply policy\u2019<\/li>\n<\/ol>\n<p><strong>Step 5: Check If Everything Is Done<\/strong><\/p>\n<p>Once the policy is applied:<\/p>\n<ol>\n<li>Go to s3cmddemo<\/li>\n<li>Click on \u2018Properties\u2019<\/li>\n<\/ol>\n<p>Actually, nothing is going to change in properties, here, first we need to configure s3cmd and then upload files, which is our next step.<\/p>\n<p><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10049\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Check-if-everything-is-done-mobisoft-infotech.png\" alt=\"check if everything is done mobisoft-infotech\" width=\"745\" height=\"393\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Check-if-everything-is-done-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Check-if-everything-is-done-mobisoft-infotech-300x158.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10049 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20393%22%3E%3C%2Fsvg%3E\" alt=\"check if everything is done mobisoft-infotech\" width=\"745\" height=\"393\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20393%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Check-if-everything-is-done-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Check-if-everything-is-done-mobisoft-infotech-300x158.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Check-if-everything-is-done-mobisoft-infotech.png\"><\/p>\n<p><strong>How To Configure s3cmd On The Server Installed<\/strong><\/p>\n<p>You first need to create Ubuntu 16.04 server. Here, I have freshly created Ubuntu 16.04 server, where I am going to install s3cmd<\/p>\n<p><strong>Step 1: Update Ubuntu With Latest Software From Repositories<\/strong><\/p>\n<ol>\n<li>Open terminal in Ubuntu Server and type following command on command prompt:<code>$ sudo apt-get update<\/code><\/li>\n<\/ol>\n<p><strong>Step 2: Install s3cmd<\/strong><br>\nType following command in the terminal:<\/p>\n<p><code>$ sudo apt-get install s3cmd<\/code><\/p>\n<p><strong>Step 3: Configuring s3cmd<\/strong><br>\nType following command in the terminal:<\/p>\n<p><code>$ s3cmd --configure<\/code><\/p>\n<ul>\n<li>It will ask you for the Access Key and Secret Key. Provide the access key and the secret key which you created earlier using IAM.<\/li>\n<li>You should choose yes for https access.<\/li>\n<\/ul>\n<p>This completes the process of configuring s3cmd.<\/p>\n<p><strong>Using s3cmd To Upload Files<\/strong><\/p>\n<p>Here we will see two things:<br>\nFirst is how to upload the single file<br>\nNext we will see how to sync the entire directory to s3<\/p>\n<p><strong>Step 1: Create A Test File<\/strong><\/p>\n<p>Go to the command prompt and open testfile<\/p>\n<p><code>$ vi testfile.txt<\/code><\/p>\n<p>I have created a \u2018New file\u2019 and I have put text as \u2018This is test file\u2019 in the file.<\/p>\n<p><strong>Step 2: Upload The Test File On AWS<\/strong><\/p>\n<ul>\n<li>Use s3cmd\u2019s \u2018put\u2019 command<br>\n<code> s3cmd put testfile.txt s3:\/\/s3cmddemo\/backups\/ <\/code><\/li>\n<\/ul>\n<p>to upload the file to a folder called as \u2018backups\u2019 in your directory.<\/p>\n<p><strong>Note:<\/strong> The format for s3 paths is: \u2018<strong>s3:\/\/\/backups\/<\/strong>\u2019<br>\nOne more thing to note here is that the s3 bucket names are unique across entire s3<\/p>\n<ul>\n<li>Copy the command and paste it in your Ubuntu server<\/li>\n<\/ul>\n<p><code>$ s3cmd put testfile.txt s3:\/\/s3cmddemo\/backups\/<\/code><\/p>\n<p>Hence, the file is successfully uploaded<\/p>\n<p><strong>Step 3: Verify Success Of Upload Procedure<\/strong><\/p>\n<ul>\n<li>Go to the s3 console and refresh it, you can see the \u2018backup\u2019 folder<\/li>\n<li>Click on it and there you can see \u2018textfile\u2019 is available<\/li>\n<\/ul>\n<p><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10051\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Verify-success-mobisoft-infotech.png\" alt=\"verify success mobisoft-infotech\" width=\"745\" height=\"391\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Verify-success-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Verify-success-mobisoft-infotech-300x157.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10051 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20391%22%3E%3C%2Fsvg%3E\" alt=\"verify success mobisoft-infotech\" width=\"745\" height=\"391\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20391%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Verify-success-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Verify-success-mobisoft-infotech-300x157.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Verify-success-mobisoft-infotech.png\"><\/p>\n<p><strong>Step 4: Download The File<\/strong><\/p>\n<p>Now, to download the file:<\/p>\n<ul>\n<li>Click on \u2018Action\u2019<\/li>\n<li>Click on Download option, and download the file<\/li>\n<\/ul>\n<p>(once the download is complete, you can see the content of the file)<\/p>\n<p>Another way is to use s3cmd\u2019s \u2018Get subcommand\u2019 to check the file<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Open terminal and create a new directory:<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><code>$ mkdir temp<br>\n$ cd temp\/<\/code><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Use the s3cmd Get command to download the file:<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><code>$ s3cmd get s3:\/\/s3cmddemo\/backups\/testfile.txt<br>\n$ ls<br>\n$ cat testfile.txt<\/code><\/p>\n<p>Now we will get content of the file<\/p>\n<p><strong>How To Sync A Directory To The s3 Bucket<\/strong><\/p>\n<p><strong>Step 1: Create A Folder Structure<\/strong><\/p>\n<p>Here we will create a new directory called testdir and create subdirectories within the testdir.:<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>To create directories use the mkdir command:<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><code>$ mkdir testdir<\/code><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>To create a new file use the touch command:<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><code>$ touch 1.txt<br>\n$ touch 2.txt<br>\n$ mkdir subdir<br>\n$ cd subdir<\/code><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Again use the touch command:<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><code>$ touch s1.txt<br>\n$ touch s2.txt<br>\n$ ls<\/code><\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>After this use the command:<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><code>$ cd . .<br>\n$ ls<\/code><\/p>\n<p>You will get 1.txt 2.txt subdir<\/p>\n<ul>\n<li style=\"list-style-type: none;\">\n<ul>\n<li>Finally, put the command:<\/li>\n<\/ul>\n<\/li>\n<\/ul>\n<p><code>$ cd . .<br>\n$ ls<\/code><\/p>\n<p>Hence, the testdir is created.<\/p>\n<p><strong>Note:<\/strong>We are just going to quickly create the folder structure. We are not going to put any data in these files. Below, you can see the test dir we have created.<\/p>\n<p><strong>Step 2: Sync Using s3cmd Sync Command<\/strong><\/p>\n<p>If you want to sync the entire directory to s3cmd<\/p>\n<ul>\n<li>For this use the command<br>\ns3cmd sync .\/testdir s3:\/\/s3cmddemo\/<\/li>\n<li>To this command, you pass the directory (without ending slash (\/)) e.g. .\/testdir<\/li>\n<li>For destination part, you do provide ending slash (\/) e.g. s3:\/\/s3cmddemo\/<\/li>\n<\/ul>\n<p>At root level directory, the test directory will be copied. You can also copy it inside any sub-directory of s3cmddemo (only if you want to).<\/p>\n<p>At last, check all the files in the directory and subdirectory. This is how you can configure s3cmd to upload files to Amazon s3.<\/p>\n<p><strong>Limiting The Storage That Is Being Used<\/strong><\/p>\n<p>Now in backups typically you would want to limit the storage being used. For database backups typically you would want to keep backups for last 30 days or so.<\/p>\n<p>Let\u2019s say we are storing all the backups inside the backup folder and we want any files that are older than 30 days to be deleted automatically.<\/p>\n<p>For this, we need to set something called as \u2018Lifecycle Rule\u2019 for our bucket, for this<\/p>\n<ul>\n<li>Go to \u2018All bucket\u2019 under that Select \u2018bucket\u2019<\/li>\n<li>Go to \u2018Properties\u2019 and click on \u2018Lifecycle\u2019<\/li>\n<\/ul>\n<p><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10052\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Limiting-storage-mobisoft-infotech.png\" alt=\"limiting storage mobisoft-infotech\" width=\"745\" height=\"392\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Limiting-storage-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Limiting-storage-mobisoft-infotech-300x158.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10052 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20392%22%3E%3C%2Fsvg%3E\" alt=\"limiting storage mobisoft-infotech\" width=\"745\" height=\"392\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20392%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Limiting-storage-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Limiting-storage-mobisoft-infotech-300x158.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Limiting-storage-mobisoft-infotech.png\"><\/p>\n<ul>\n<li>In \u2018Lifecycle\u2019 Go to \u2018Add rule\u2019<\/li>\n<li>In \u2018Add rule\u2019 select \u2018A Prefix\u2019 and in that type \u2018<strong>backpus\/<\/strong>\u2019<\/li>\n<li>Click on \u2018Configure rule\u2019<\/li>\n<\/ul>\n<p><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10053\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Lifecycle-rules-mobisoft-infotech.png\" alt=\"lifecycle rules mobisoft-infotech\" width=\"745\" height=\"392\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Lifecycle-rules-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Lifecycle-rules-mobisoft-infotech-300x158.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10053 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20392%22%3E%3C%2Fsvg%3E\" alt=\"lifecycle rules mobisoft-infotech\" width=\"745\" height=\"392\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20392%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Lifecycle-rules-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Lifecycle-rules-mobisoft-infotech-300x158.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Lifecycle-rules-mobisoft-infotech.png\"><\/p>\n<ul>\n<li>Select \u2018Permanently delete\u2019 (there are other options, so you can use or select other options too, according to your need)<\/li>\n<li>Type the number of days you want to permanently delete backups, for example, here we will type \u2018<strong>30<\/strong>\u2019<\/li>\n<li>Click on the \u2018Review\u2019<\/li>\n<\/ul>\n<p><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10054\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Type-30-mobisoft-infotech.png\" alt=\"type 30 mobisoft-infotech\" width=\"745\" height=\"396\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Type-30-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Type-30-mobisoft-infotech-300x159.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10054 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20396%22%3E%3C%2Fsvg%3E\" alt=\"type 30 mobisoft-infotech\" width=\"745\" height=\"396\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20396%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Type-30-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Type-30-mobisoft-infotech-300x159.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Type-30-mobisoft-infotech.png\"><\/p>\n<ul>\n<li>In \u2018Rule Name\u2019 type \u2018Delete files older than 30 days in backups\u2019<\/li>\n<li>Click on \u2018Create and Active Rule\u2019 you will see your rule and you can also edit if you wish to do so<\/li>\n<\/ul>\n<p><noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10055\" src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Last-image-mobisoft-infotech.png\" alt=\"last image mobisoft-infotech\" width=\"745\" height=\"393\" srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Last-image-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Last-image-mobisoft-infotech-300x158.png 300w\" sizes=\"(max-width: 745px) 100vw, 745px\"><\/noscript><img decoding=\"async\" class=\"alignnone size-full wp-image-10055 lazyload\" src=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20393%22%3E%3C%2Fsvg%3E\" alt=\"last image mobisoft-infotech\" width=\"745\" height=\"393\" srcset=\"data:image\/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20745%20393%22%3E%3C%2Fsvg%3E 745w\" sizes=\"(max-width: 745px) 100vw, 745px\" data-srcset=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Last-image-mobisoft-infotech.png 745w, https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Last-image-mobisoft-infotech-300x158.png 300w\" data-src=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/Last-image-mobisoft-infotech.png\"><br>\nThat\u2019s it, this is how you do it!<\/p>\n<p>Do refer to it later, when you want to configure your own backups using s3cmd.<\/p>\n<p>This is how you use Amazon S3 and s3cmd for project backups.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial we will see how to use Amazon\u2019s s3cmd for project backups. Amazon\u2019s s3 is highly available storage cloud. It gives you virtually unlimited storage at very affordable rate, so this makes it ideal for project backups. Typically you would want to store your daily database terms to a amazon s3 bucket, naturally, [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":9950,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_s2mail":"yes","footnotes":""},"categories":[450],"tags":[614],"class_list":["post-9913","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-mguide","tag-amazon-s3cmd"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How To Use Amazon\u2019s s3cmd For Project Backups?<\/title>\n<meta name=\"description\" content=\"Simple And Effective Ways for Project Backups Using Amazon\u2019s s3cmd.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How To Use Amazon\u2019s s3cmd For Project Backups?\" \/>\n<meta property=\"og:description\" content=\"Simple And Effective Ways for Project Backups Using Amazon\u2019s s3cmd.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups\" \/>\n<meta property=\"og:site_name\" content=\"Mobisoft Infotech\" \/>\n<meta property=\"article:published_time\" content=\"2016-11-24T12:46:34+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-10-06T09:13:34+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/How-to-use-Amazon\u2019s-s3cmd-For-Project-Backups-banner.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"853\" \/>\n\t<meta property=\"og:image:height\" content=\"391\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"Pritam Barhate\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pritam Barhate\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"10 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups#article\",\"isPartOf\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups\"},\"author\":{\"name\":\"Pritam Barhate\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee\"},\"headline\":\"How To Use Amazon\u2019s s3cmd For Project Backups?\",\"datePublished\":\"2016-11-24T12:46:34+00:00\",\"dateModified\":\"2025-10-06T09:13:34+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups\"},\"wordCount\":1464,\"image\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/How-to-use-Amazon\u2019s-s3cmd-For-Project-Backups-banner.jpg\",\"keywords\":[\"Amazon s3cmd\"],\"articleSection\":[\"MGuide\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups\",\"name\":\"How To Use Amazon\u2019s s3cmd For Project Backups?\",\"isPartOf\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups#primaryimage\"},\"image\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups#primaryimage\"},\"thumbnailUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/How-to-use-Amazon\u2019s-s3cmd-For-Project-Backups-banner.jpg\",\"datePublished\":\"2016-11-24T12:46:34+00:00\",\"dateModified\":\"2025-10-06T09:13:34+00:00\",\"author\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee\"},\"description\":\"Simple And Effective Ways for Project Backups Using Amazon\u2019s s3cmd.\",\"breadcrumb\":{\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups#primaryimage\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/How-to-use-Amazon\u2019s-s3cmd-For-Project-Backups-banner.jpg\",\"contentUrl\":\"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/How-to-use-Amazon\u2019s-s3cmd-For-Project-Backups-banner.jpg\",\"width\":853,\"height\":391,\"caption\":\"amazon Web Services\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/mobisoftinfotech.com\/resources\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How To Use Amazon\u2019s s3cmd For Project Backups?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#website\",\"url\":\"https:\/\/mobisoftinfotech.com\/resources\/\",\"name\":\"Mobisoft Infotech\",\"description\":\"Discover Mobility\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/mobisoftinfotech.com\/resources\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee\",\"name\":\"Pritam Barhate\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g\",\"caption\":\"Pritam Barhate\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How To Use Amazon\u2019s s3cmd For Project Backups?","description":"Simple And Effective Ways for Project Backups Using Amazon\u2019s s3cmd.","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:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups","og_locale":"en_US","og_type":"article","og_title":"How To Use Amazon\u2019s s3cmd For Project Backups?","og_description":"Simple And Effective Ways for Project Backups Using Amazon\u2019s s3cmd.","og_url":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups","og_site_name":"Mobisoft Infotech","article_published_time":"2016-11-24T12:46:34+00:00","article_modified_time":"2025-10-06T09:13:34+00:00","og_image":[{"width":853,"height":391,"url":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/How-to-use-Amazon\u2019s-s3cmd-For-Project-Backups-banner.jpg","type":"image\/jpeg"}],"author":"Pritam Barhate","twitter_card":"summary_large_image","twitter_misc":{"Written by":"Pritam Barhate","Est. reading time":"10 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups#article","isPartOf":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups"},"author":{"name":"Pritam Barhate","@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee"},"headline":"How To Use Amazon\u2019s s3cmd For Project Backups?","datePublished":"2016-11-24T12:46:34+00:00","dateModified":"2025-10-06T09:13:34+00:00","mainEntityOfPage":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups"},"wordCount":1464,"image":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups#primaryimage"},"thumbnailUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/How-to-use-Amazon\u2019s-s3cmd-For-Project-Backups-banner.jpg","keywords":["Amazon s3cmd"],"articleSection":["MGuide"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups","url":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups","name":"How To Use Amazon\u2019s s3cmd For Project Backups?","isPartOf":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/#website"},"primaryImageOfPage":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups#primaryimage"},"image":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups#primaryimage"},"thumbnailUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/How-to-use-Amazon\u2019s-s3cmd-For-Project-Backups-banner.jpg","datePublished":"2016-11-24T12:46:34+00:00","dateModified":"2025-10-06T09:13:34+00:00","author":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee"},"description":"Simple And Effective Ways for Project Backups Using Amazon\u2019s s3cmd.","breadcrumb":{"@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups#primaryimage","url":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/How-to-use-Amazon\u2019s-s3cmd-For-Project-Backups-banner.jpg","contentUrl":"https:\/\/mobisoftinfotech.com\/resources\/wp-content\/uploads\/2016\/11\/How-to-use-Amazon\u2019s-s3cmd-For-Project-Backups-banner.jpg","width":853,"height":391,"caption":"amazon Web Services"},{"@type":"BreadcrumbList","@id":"https:\/\/mobisoftinfotech.com\/resources\/mguide\/use-amazons-s3cmd-project-backups#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/mobisoftinfotech.com\/resources\/"},{"@type":"ListItem","position":2,"name":"How To Use Amazon\u2019s s3cmd For Project Backups?"}]},{"@type":"WebSite","@id":"https:\/\/mobisoftinfotech.com\/resources\/#website","url":"https:\/\/mobisoftinfotech.com\/resources\/","name":"Mobisoft Infotech","description":"Discover Mobility","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/mobisoftinfotech.com\/resources\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/mobisoftinfotech.com\/resources\/#\/schema\/person\/fa762036b3364f26abeea146c01487ee","name":"Pritam Barhate","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0e481c7ce54b3567ac70ddfc493523eefce0bdc3ee69fd2654f8f60a79e2f178?s=96&r=g","caption":"Pritam Barhate"}}]}},"_links":{"self":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/9913","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/comments?post=9913"}],"version-history":[{"count":20,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/9913\/revisions"}],"predecessor-version":[{"id":43640,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/posts\/9913\/revisions\/43640"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/media\/9950"}],"wp:attachment":[{"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/media?parent=9913"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/categories?post=9913"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/mobisoftinfotech.com\/resources\/wp-json\/wp\/v2\/tags?post=9913"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}