PHPackages                             gkimball/backup2s3 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [File &amp; Storage](/categories/file-storage)
4. /
5. gkimball/backup2s3

ActiveProject[File &amp; Storage](/categories/file-storage)

gkimball/backup2s3
==================

Backup files to S3

1.1(9y ago)019PHP

Since Feb 23Pushed 9y ago1 watchersCompare

[ Source](https://github.com/yourlocalwebmaster/backup2s3)[ Packagist](https://packagist.org/packages/gkimball/backup2s3)[ RSS](/packages/gkimball-backup2s3/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

DESCRIPTION
===========

[](#description)

This script should backup the files in any directory, as well as X databases, and add them to a ZIP and shoot off to S3

\##AWS CONFIGURATION##

1. Create a USER (IAM)
2. Assign that user a IAM POLICY (below)
3. Create a Bucket for that users site.
4. Get the Users credentials and add to the Child class of Backup

Example Backup Policy
---------------------

[](#example-backup-policy)

**Create a user with the PutObject IAM policy**

The policy should look like this: (Where BUCKETNAME is the lowercase name of bucket)

```

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "s3:PutObject"
            ],
            "Resource": "arn:aws:s3:::BUCKETNAME/*”
        }
    ]
}

```

\##INSTALLATION ON SITE

1. clone this repo or `composer require "gkimball/backup2s3":"^1.0"`

\##USAGE

1. Create an entry point like "examples/backup.php" and configure credentials.
2. Add to a secure directory and run via CRON every month or so in the middle of the night.

###  Health Score

27

—

LowBetter than 46% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity64

Established project with proven stability

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~7 days

Total

2

Last Release

3452d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1467542?v=4)[Grant Kimball](/maintainers/yourlocalwebmaster)[@yourlocalwebmaster](https://github.com/yourlocalwebmaster)

### Embed Badge

![Health badge](/badges/gkimball-backup2s3/health.svg)

```
[![Health](https://phpackages.com/badges/gkimball-backup2s3/health.svg)](https://phpackages.com/packages/gkimball-backup2s3)
```

###  Alternatives

[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.7k293.8M1.1k](/packages/league-flysystem-aws-s3-v3)[leantime/leantime

Open source project management system for non-project managers. Simple like Trello, powerful like Jira. Built with neurodiversity in mind.

11.3k4.0k](/packages/leantime-leantime)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45844.8k1](/packages/pressbooks-pressbooks)[ellaisys/aws-cognito

Laravel Authentication using AWS Cognito (Web and API)

121269.8k1](/packages/ellaisys-aws-cognito)[kolay/xlsx-stream

Streaming XLSX reader and writer for PHP and Laravel. Constant memory regardless of file size, direct S3 multipart streaming, optional born-indexed random access.

4512.6k](/packages/kolay-xlsx-stream)[altis/core

Core module for Altis

19233.0k4](/packages/altis-core)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
