pixney/backup-module

This package is abandoned and no longer maintained. No replacement package was suggested.
There is no license information available for the latest version (v0.0.12) of this package.

Installs: 43

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:streams-addon

v0.0.12 2019-03-19 08:53 UTC

This package is auto-updated.

Last update: 2022-05-19 16:13:12 UTC


README

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