1
0
jcktrue.dk/content/project/backupscript/index.md
Jens True 88a174e8b1
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Project details
2023-07-04 13:40:56 +00:00

1.0 KiB

title summary authors tags categories date url_code
Backupscript Custom backup solution using Rclone and Ntfy.sh
2023-06-13T09:56:42Z https://code.jcktrue.dk/jct/backupscript

Custom backup solution using Rclone and Ntfy.sh.

Written in PHP with the purpose of sending short Push notifications on the status of the each weekly backup job.

Built as an exercise in PHP best practices.

  • PHPMessDetector for cyclic complexity
  • PHP static analysis using Psalm and PHPStan
  • Code standards using PHP_CodeSniffer
  • Unit testing via PHPUnit with branch coverage.
  • Package management using composer

Rclone

Rclone ("rsync for cloud storage") is a command-line program to sync files and directories to and from different cloud storage providers.

ntfy

ntfy (pronounced notify) is a simple HTTP-based pub-sub notification service. It allows you to send notifications to your phone or desktop via scripts from any computer, and/or using a REST API. It's infinitely flexible, and 100% free software.