All Projects → ItinerisLtd → trellis-backup-during-deploy

ItinerisLtd / trellis-backup-during-deploy

Licence: MIT License
Backup WordPress database during Trellis deploys

Projects that are alternatives of or similar to trellis-backup-during-deploy

restique
A wrapper around restic with profiles
Stars: ✭ 43 (+86.96%)
Mutual labels:  backup
s3backup
No more custom backup scripts please ...
Stars: ✭ 20 (-13.04%)
Mutual labels:  backup
joplin-scripts
scripts for Joplin
Stars: ✭ 40 (+73.91%)
Mutual labels:  backup
grafana
Grafana dashboard for Veeam solutions
Stars: ✭ 31 (+34.78%)
Mutual labels:  backup
awesome-backup
A list of FOSS backup software
Stars: ✭ 55 (+139.13%)
Mutual labels:  backup
ansible-kafka
Ansible role for installing and configuring Apache Kafka on RedHat and Debian platforms.
Stars: ✭ 56 (+143.48%)
Mutual labels:  ansible-galaxy
virtnbdbackup
Backup utiliy for Libvirt / qemu / kvm supporting incremental and differencial backups.
Stars: ✭ 62 (+169.57%)
Mutual labels:  backup
gickup
No description or website provided.
Stars: ✭ 471 (+1947.83%)
Mutual labels:  backup
gitlab-mattermost-backup
A simple backup script for mattermost in gitlab omnibus package
Stars: ✭ 23 (+0%)
Mutual labels:  backup
iceshelf
A simple tool to allow storage of signed, encrypted, incremental backups using Amazon's Glacier storage
Stars: ✭ 28 (+21.74%)
Mutual labels:  backup
backup-github-repo
Backup all the issues and pull requests of a Github repo, including the comments, events, and labels, as JSON and as HTML
Stars: ✭ 31 (+34.78%)
Mutual labels:  backup
docker-backup
💾 Docker container for incremental backups based on alpine (S3, Google Cloud Storage, FTP, SFTP, SCP, rsync, file...)
Stars: ✭ 19 (-17.39%)
Mutual labels:  backup
eXperDB-Management
eXperDB-Management is a integrated management tool for PostgreSQL(for efficient operation and management).
Stars: ✭ 38 (+65.22%)
Mutual labels:  backup
docker-aws-s3-sync
Docker container to sync a folder to Amazon S3
Stars: ✭ 21 (-8.7%)
Mutual labels:  backup
radio
Redundant Array of Distributed Independent Objectstores in short RADIO performs synchronous mirroring, erasure coding across multiple object stores
Stars: ✭ 25 (+8.7%)
Mutual labels:  backup
docker-atlassian
A docker-compose orchestration for JIRA Software and Confluence based on docker containers.
Stars: ✭ 13 (-43.48%)
Mutual labels:  backup
kube-dump
Backup a Kubernetes cluster as a yaml manifest
Stars: ✭ 142 (+517.39%)
Mutual labels:  backup
ioBroker.backitup
Backitup enables the cyclical creation of backups of an IoBroker / Homematic installation
Stars: ✭ 43 (+86.96%)
Mutual labels:  backup
couchbackup
CouchDB backup and restore command-line utility.
Stars: ✭ 15 (-34.78%)
Mutual labels:  backup
yii2-db-manager
Database Backup and Restore functionality
Stars: ✭ 96 (+317.39%)
Mutual labels:  backup

trellis-backup-during-deploy

GitHub tag license

Backup WordPress database during Trellis deploys.

Requirements

  • Trellis 9dfddfd or later
  • Ansible v2.4 or later

Installation

Add this role to galaxy.yml:

# galaxy.yml
- name: trellis-backup-during-deploy
  src: https://github.com/ItinerisLtd/trellis-backup-during-deploy
  version: 0.1.2 # Check for latest version!

Add this role to the deploy_initialize_after hook:

# group_vars/all/deploy-hooks.yml
# Learn more on https://roots.io/trellis/docs/deploys/#hooks
deploy_initialize_after:
  - "{{ playbook_dir }}/vendor/roles/trellis-backup-during-deploy/tasks/main.yml"

Usage

Deploy as usual. No special action needed.

$ wp db export is invoked during deploy. You can find the database dump in /srv/www/example.com/releases/2018XXXXXXXXXX/example_com_env-2018-XX-XX-XXXXXXX.sql – be sure to check the pre-latest release-folder (e.g. the release before deploy) since current serves as alias to the latest release.

Author Information

trellis-backup-during-deploy is a Itineris Limited project created by Tang Rufus.

Special thanks to the Roots team whose Trellis make this project possible.

Full list of contributors can be found here.

Feedback

Please provide feedback! We want to make this library useful in as many projects as possible. Please submit an issue and point out what you do and don't like, or fork the project and make suggestions. No issue is too small.

Change log

Please see CHANGELOG for more information on what has changed recently.

License

trellis-backup-during-deploy is released under the MIT License.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].