moox/backup-server-ui

Filament UI for Spatie Laravel Backup Server.

1.0.21 2024-10-15 11:55 UTC

This package is auto-updated.

Last update: 2024-10-15 11:55:50 UTC


README

Moox BackupServerUi

Moox Backup Server UI

Filament UI for Spatie Laravel Backup Server. Needs a license key for the paid package from https://spatie.be.

Quick Installation

These two commmands are all you need to install the package:

composer require moox/backup-server-ui
php artisan mooxbackup-server-ui:install

Curious what the install command does? See manual installation below.

What it does

Filament UI for Spatie Laravel Backup Server. Create automated or make manual incremental backups. More information and screenshots will follow.

Manual Installation

Instead of using the install-command php artisan mooxbackup-server-ui:install you are able to install this package manually step by step:

// Publish and run the migrations:
php artisan vendor:publish --tag="backup-server-ui-migrations"
php artisan migrate

// Publish the config file with:
php artisan vendor:publish --tag="backup-server-ui-config"

Usage

SSH Connection

Create ssh connection to your source server

Add SSH key to your server. Once your key is added shh into your instance.

For Forge users: Open your Command Line and type ssh forge@your-address.

Add source server ssh key to your destination server

Copy the public key from your source server and add it to your destination server. Connect destination and source server. Confirm fingerprinting from destination server.

Create new Destination

name: the name of this destination

disk_name: the name of one of the disks configured in config\filesystems.php. The chosen disk must use the local driver

Create new Source

Set a Name

Add your Hostname

Set the ssh User

Ssh Port should be 22

Copy ssh key path from source server (in case of forge: "~/.ssh/id_rsa")

The ssh user to get into the source server

Cron expression when to start a backup (Cron Help)

Choose a given destination

Pre_backup_commands: To create a MYSQL Backup u need to cd in your folder and create a backup. Each value is a command that will be executed. For example:

Post_backup_commands: Now do everything that should be executed after a backup. In this case we want to remove the dump from server.

Includes: specify a include path

To exlude paths you should give paths relative to the paths given in includes

Creating Backups

Now you can create backups ether manual or automatical You just need to select the Source.

Changelog

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

Security Vulnerabilities

Please review our security policy on how to report security vulnerabilities.

Credits

License

The MIT License (MIT). Please see License File for more information.