Skip to content

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

Notifications You must be signed in to change notification settings

dej10/r2-backup

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 
bun install
cp .env.example .env 
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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published