OneDrive and Amazon S3 are two popular cloud storage services. Many users store photos, videos, and other files in OneDrive but may want to move them to Amazon S3 for various reasons. This guide will explain how to easily transfer files from OneDrive to Amazon S3.
Before moving files from OneDrive to S3, you need:
The AWS Command Line Interface (CLI) allows you to manage AWS services from the command line. Follow these steps to install and configure the AWS CLI:
Download and install the AWS CLI on your computer.
Open the command line interface and run aws configure
.
Enter your AWS access key ID and secret access key when prompted.
Specify the default AWS region name and output format.
If you don't already have an S3 bucket created, follow these steps:
Login to your AWS console and go to the S3 service.
Click "Create bucket" and give it a unique name.
Select the AWS region where you want to create the bucket.
Click "Create" to create the bucket.
To sync OneDrive files to your computer, install the OneDrive desktop client:
Go to OneDrive.com and login to your account.
Click on "Help & Settings" and select "Download OneDrive".
Install the OneDrive client on your computer.
Sign in to sync OneDrive files to your computer.
With OneDrive files synced locally and an S3 bucket created, you can use the AWS CLI to copy files:
Open a command prompt and change directory to your OneDrive folder.
List the files with dir
to identify files to copy.
Use the aws s3 cp
command to copy files. For
example:
aws s3 cp video.mp4 s3://my-bucket-name
To automate transferring many files, create a script with the AWS CLI commands. For example:
awss3cp file1.jpg s3://my-bucket
awss3cp file2.mp4 s3://my-bucket
awss3cp file3.pdf s3://my-bucket
Schedule and run the script periodically to auto-sync your OneDrive files to S3.
Some other ways to move files from OneDrive to Amazon S3 include:
Videos are precious memories and all of us never want to ever lose them to hard disk crashes or missing drives. PicBackMan is the easiest and simplest way to keep your videos safely backed up in one or more online accounts. Simply Download PicBackMan (it's free!), register your account, connect to your online store and tell PicBackMan where your videos are - PicBackMan does the rest, automatically. It bulk uploads all videos and keeps looking for new ones and uploads those too. You don't have to ever touch it.
There are no data transfer charges from OneDrive to S3. You only pay normal S3 storage and request costs.
S3 offers reliable and scalable storage, data durability/availability, security features, and lower costs at scale.
Yes, you can use the AWS CLI scripts with scheduling tools like cron jobs or Windows Task Scheduler.
No, S3 provides unlimited object storage and supports files up to 5TB in size.
Transfer speed depends on your internet connection and file sizes. For large files, enable multipart uploads.
Moving files from OneDrive to Amazon S3 is straightforward using the AWS CLI. The key steps are installing AWS CLI, creating an S3 bucket, syncing OneDrive files locally, and running AWS CLI commands to copy files to your bucket. Automating the transfers with scripts provides an efficient way to regularly back up OneDrive files to reliable S3 cloud storage.
Automate backup & migration of your photos & videos with support for all top services.
Trusted by users in 125+ countries.
“Your pictures are scattered. PicBackMan helps you bring order to your digital memories.”