dej10 / r2-backup

console app to backup either database or directory periodically (customisable) and send to CloudFlare r2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Elysia with Bun runtime

Getting Started

To get started with this template, simply paste this command into your terminal:

bun create elysia ./elysia-example

Development

To start the development server run:

bun run dev

Installation & Deployment

cd /var/www/scripts/
git clone https://github.com/dej10/r2-backup.git
cd r2-backup 
pm2 start --interpreter ~/.bun/bin/bun index.ts --name db-backup-worker

Open http://localhost:3000/ with your browser to see the result.

About

console app to backup either database or directory periodically (customisable) and send to CloudFlare r2


Languages

Language:TypeScript 100.0%