2017 © Pedro Peláez
 

library s3backup

A command line utility for backing up directories and files to AWS S3

image

marcusmyers/s3backup

A command line utility for backing up directories and files to AWS S3

  • Friday, July 27, 2018
  • by marcusmyers
  • Repository
  • 1 Watchers
  • 1 Stars
  • 6 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 2 Open issues
  • 15 Versions
  • 0 % Grown

The README.md

S3 Backup

The s3backup cli tool uses a configuration file to setup and backup directories on your computer to S3., (*1)

Install

composer global require "marcusmyers/s3backup=~2.0.0", (*2)

Make sure to place the ~/.composer/vendor/bin directory in your PATH so the s3 executable is found when you run the s3backup backup command in your terminal., (*3)

Configure

Once installed on your machine you will need to run s3backup init as it should create the following directory $HOME/.s3backup and config.json file in that directory. Open up the config.json file and edit it to your liking, below are a couple examples:, (*4)

{
  "aws": {
    "credentials": {
      "key": "<Your AWS Access Key ID>",
      "secret": "<Your AWS Secret Access Key ID>"
    },
    "bucket": "my-backup-bucket",
    "file_prefix": "my_backups"
  },
  "filename": "my_laptop_backup",
  "directories": [
    "/Users/exampleUser/Desktop/Logos",
    "/var/www/html",
    "/Users/exampleUser/Documents"
  ]
}
{
  "aws": {
    "credentials": {
      "key": "<Your AWS Access Key ID>",
      "secret": "<Your AWS Secret Access Key ID>"
    },
    "bucket": "my-bucket",
    "file_prefix": "my_backups"
  },
  "filename": "my_laptop_backup",
  "directories": []
}

Usage

If you don't setup any directories in the config file you can run backup any folder you want by running the following:, (*5)

s3backup backup path/to/file/or/directory

If you have predefined directories in your config file you can simply run:, (*6)

s3backup backup

You can also set an environment variable to only have to run s3backup like below:, (*7)

export S3_BACKUP_SINGLE_COMMAND=1
s3backup

The Versions

27/07 2018

dev-dependabot/composer/aws/aws-sdk-php-3.64.0

dev-dependabot/composer/aws/aws-sdk-php-3.64.0

A command line utility for backing up directories and files to AWS S3

  Sources   Download

MIT

The Requires

 

by Mark Myers

s3 aws aws s3 backup s3backup

26/07 2018

dev-dependabot/composer/aws/aws-sdk-php-3.63.7

dev-dependabot/composer/aws/aws-sdk-php-3.63.7

A command line utility for backing up directories and files to AWS S3

  Sources   Download

MIT

The Requires

 

by Mark Myers

s3 aws aws s3 backup s3backup

24/07 2018

dev-dependabot/composer/symfony/console-4.1.2

dev-dependabot/composer/symfony/console-4.1.2

A command line utility for backing up directories and files to AWS S3

  Sources   Download

MIT

The Requires

 

by Mark Myers

s3 aws aws s3 backup s3backup

29/06 2018

dev-master

9999999-dev

A command line utility for backing up directories and files to AWS S3

  Sources   Download

MIT

The Requires

 

by Mark Myers

s3 aws aws s3 backup s3backup

31/05 2018

dev-dependabot/composer/aws/aws-sdk-php-3.59.0

dev-dependabot/composer/aws/aws-sdk-php-3.59.0

A command line utility for backing up directories and files to AWS S3

  Sources   Download

MIT

The Requires

 

by Mark Myers

s3 aws aws s3 backup s3backup

31/05 2018

dev-dependabot/composer/symfony/console-4.1.0

dev-dependabot/composer/symfony/console-4.1.0

A command line utility for backing up directories and files to AWS S3

  Sources   Download

MIT

The Requires

 

by Mark Myers

s3 aws aws s3 backup s3backup

30/05 2018

dev-dependabot/composer/aws/aws-sdk-php-3.58.0

dev-dependabot/composer/aws/aws-sdk-php-3.58.0

A command line utility for backing up directories and files to AWS S3

  Sources   Download

MIT

The Requires

 

by Mark Myers

s3 aws aws s3 backup s3backup

28/05 2018

dev-dependabot/composer/symfony/console-4.0.11

dev-dependabot/composer/symfony/console-4.0.11

A command line utility for backing up directories and files to AWS S3

  Sources   Download

MIT

The Requires

 

by Mark Myers

s3 aws aws s3 backup s3backup

28/05 2018

dev-dependabot/composer/aws/aws-sdk-php-3.57.1

dev-dependabot/composer/aws/aws-sdk-php-3.57.1

A command line utility for backing up directories and files to AWS S3

  Sources   Download

MIT

The Requires

 

by Mark Myers

s3 aws aws s3 backup s3backup

01/05 2018

dev-dependabot/composer/symfony/console-4.0.9

dev-dependabot/composer/symfony/console-4.0.9

A command line utility for backing up directories and files to AWS S3

  Sources   Download

MIT

The Requires

 

by Mark Myers

s3 aws aws s3 backup s3backup

01/05 2018

dev-dependabot/composer/aws/aws-sdk-php-3.55.4

dev-dependabot/composer/aws/aws-sdk-php-3.55.4

A command line utility for backing up directories and files to AWS S3

  Sources   Download

MIT

The Requires

 

by Mark Myers

s3 aws aws s3 backup s3backup

27/04 2018

dev-dependabot/composer/aws/aws-sdk-php-3.55.3

dev-dependabot/composer/aws/aws-sdk-php-3.55.3

A command line utility for backing up directories and files to AWS S3

  Sources   Download

MIT

The Requires

 

by Mark Myers

s3 aws aws s3 backup s3backup

09/03 2017

2.0.0

2.0.0.0

A command line utility for backing up directories and files to AWS S3

  Sources   Download

MIT

The Requires

 

by Mark Myers

s3 aws aws s3 backup s3backup

08/03 2017

1.1.0

1.1.0.0

A command line utility for backing up directories and files to AWS S3

  Sources   Download

MIT

The Requires

 

by Mark Myers

s3 aws aws s3 backup s3backup

27/09 2016

v1.0.0

1.0.0.0

A command line utility for backing up directories and files to AWS S3

  Sources   Download

MIT

The Requires

 

by Mark Myers

s3 aws aws s3 backup s3backup