Skip to content
This repository has been archived by the owner on May 7, 2022. It is now read-only.

pixney/backup-module

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published