Skip to content

Silveira Neto Posts

Simple backup using S3 Sync

Given that you have the AWS CLI installed and configured, here are a few examples of syncing directories with S3.

Sync your home directory:
[bash]
aws s3 sync $HOME s3://homeof$USER
[/bash]

E.g. $USER is sil and $HOME is /home/sil, then this will copy all files from /home/sil to bucket homeofsil.

To download the files back to another directory:
[bash]
mkdir $HOME/oldhome
aws s3 sync s3://homeof$USER $HOME/oldhome
[/bash]

More details about S3 Sync in the official documentation.

#sky #clouds #sunset #nofilter.
Instagram: http://ift.tt/1Jh60bQ

My deepest respect for all firefighters and volunteers fighting the wildfires now in Washington state..
Instagram: http://ift.tt/1V37Bcy

Hey pacific, how are you?.
Instagram: http://ift.tt/1U2p8iL

Whirley Ball = Lacrosse + Basketball + Bumper Cars.
Instagram: http://ift.tt/1hqBCoG