PHPackages                             jimbojsb/db-snapshot - 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. jimbojsb/db-snapshot

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

jimbojsb/db-snapshot
====================

Snapshot your database with mysqldump and store it to a an asset volume (S3). Also restore it from that same location. Great for local dev snapshots and nightly backups.

v1.3.0(6y ago)72.9k6[1 issues](https://github.com/jimbojsb/craft-db-snapshot/issues)[3 PRs](https://github.com/jimbojsb/craft-db-snapshot/pulls)MITPHP

Since Dec 31Pushed 3y ago1 watchersCompare

[ Source](https://github.com/jimbojsb/craft-db-snapshot)[ Packagist](https://packagist.org/packages/jimbojsb/db-snapshot)[ RSS](/packages/jimbojsb-db-snapshot/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (2)Versions (7)Used By (0)

DB Snapshot plugin for Craft CMS 3.x
====================================

[](#db-snapshot-plugin-for-craft-cms-3x)

Store Craft CMS database backups in an S3 (or compatible) bucket. Also supports loading those backups for local development, etc.

Requirements
------------

[](#requirements)

This plugin requires Craft CMS 3.x and an S3-compatible storage account.

Installation
------------

[](#installation)

To install the plugin, follow these instructions.

1. Open your terminal and go to your Craft project:

    ```
    cd /path/to/project

    ```
2. Then tell Composer to load the plugin:

    ```
    composer require jimbojsb/db-snapshot

    ```
3. In the Control Panel, go to Settings → Plugins and click the “Install” button for DB Snapshot.

Configuring DB Snapshot
-----------------------

[](#configuring-db-snapshot)

Configuration is supported in the Craft admin panel.

Snapshot filename can contain Twig expressions: `db_snapshot_{{now|date("Ymd-His")}}.sql`

All fields support Craft environment variable references (For example, setting Access Key to `$ACCESS_KEY`)

Be aware that if you use a timestamp in the filename, you will need to provide a filename when using the load action.

Using DB Snapshot
-----------------

[](#using-db-snapshot)

```
# create a new snapshot
./craft db-snapshot/snapshot/create
```

```
# load an existing snapshot
./craft db-snapshot/snapshot/load
```

```
# load an existing snapshot (specific filename if using variables)
./craft db-snapshot/snapshot/load --filename=db_snapshot_2020-02-29-123456.sql
```

```
# list available snapshots
./craft db-snapshot/snapshot/list
```

Brought to you by [Josh butts](https://github.com/jimbojsb)

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 90% of commits — single point of failure

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 ~37 days

Total

4

Last Release

2263d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/107836?v=4)[Josh Butts](/maintainers/jimbojsb)[@jimbojsb](https://github.com/jimbojsb)

---

Top Contributors

[![jimbojsb](https://avatars.githubusercontent.com/u/107836?v=4)](https://github.com/jimbojsb "jimbojsb (9 commits)")[![derak-kilgo](https://avatars.githubusercontent.com/u/1054504?v=4)](https://github.com/derak-kilgo "derak-kilgo (1 commits)")

---

Tags

cmsCraftcraftcmscraft-plugindb snapshot

### Embed Badge

![Health badge](/badges/jimbojsb-db-snapshot/health.svg)

```
[![Health](https://phpackages.com/badges/jimbojsb-db-snapshot/health.svg)](https://phpackages.com/packages/jimbojsb-db-snapshot)
```

###  Alternatives

[verbb/formie

The most user-friendly forms plugin for Craft.

102393.6k60](/packages/verbb-formie)[verbb/vizy

A flexible visual editor field for Craft.

4250.4k](/packages/verbb-vizy)[verbb/hyper

A user-friendly links field for Craft.

24147.8k12](/packages/verbb-hyper)[servd/craft-asset-storage

Servd Asset Storage and Helpers integration for Craft CMS

1184.0k10](/packages/servd-craft-asset-storage)[verbb/social-poster

Automatically post entries to social media.

918.5k](/packages/verbb-social-poster)[verbb/events

A full-featured plugin for event management and ticketing.

2311.9k](/packages/verbb-events)

PHPackages © 2026

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