pixney / backup-module

Pyro CMS backup module currently supporting storage on (s3)Digital Ocean spaces.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

backup-module

This module is heavily under construction.

It currently enables you to create backups of the database as well file backups of laravel helper paths. The backups are then uploaded to your digital ocean spaces (s3) for storage.

Installation

Composer

Run the following composer command

composer require pixney/backup-module
php artisan addon:install pixney.module.backup

.env

S3_KEY=""
S3_SECRET=""
S3_CLIENT=""
S3_ENDPOINT=""
S3_REGION=""

Then within the admin you add your backup job with a cron schedule. See Cronjob Guru for reference

Add a cronjob :

* * * * * cd /path-to-your-project && php artisan schedule:run >> /dev/null 2>&1

Add a cronjob using runcloud

Within vendor binary, choose write your own within command the add your command as above. Example: /bin/bash && cd /home/runcloud/webapps/pixney && php artisan schedule:run >> /dev/null 2>&1

About

Pyro CMS backup module currently supporting storage on (s3)Digital Ocean spaces.


Languages

Language:PHP 95.0%Language:HTML 5.0%