Skip to content

dendianugerah/velld

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Velld

A database backup management and automation tool. Velld provides a user-friendly interface for scheduling, managing, and monitoring database backups, ensuring data security and easy recovery.

Table of Contents

Features

  • 🗄️ Support for multiple database types
  • Automated backup scheduling
  • 🔔 Notifications system

Screenshots

Dashboard Overview

Dashboard Monitor backup statistics and recent activities.

Connection Management

Connections Easily manage multiple database connections.

History

History View detailed backup history and logs.

Supported Databases

  • PostgreSQL
  • MySQL
  • MongoDB
  • More database support coming soon!

Installation

Using Docker

# Clone the repository
git clone https://github.com/dendianugerah/velld.git

# Navigate to the project directory
cd velld

# Start the application
docker compose up -d

Once started, the application will be available at:

Configuration

Environment Variables

Create a .env file in the root directory or copy .env.example:

cp .env.example .env

Then, configure the following environment variables in .env:

NEXT_PUBLIC_API_URL=http://localhost:8080

JWT_SECRET=your-jwt-secret
ENCRYPTION_KEY=your-encryption-key

Environment Variable Details:

Variable Description Required? Default Behavior
JWT_SECRET Secret key for signing JWT tokens. Optional Auto-generated if missing
ENCRYPTION_KEY Key for encrypting sensitive data (e.g., database credentials). Optional Auto-generated if missing
NEXT_PUBLIC_API_URL Base URL for the API used by the frontend. Required None

Note: If JWT_SECRET or ENCRYPTION_KEY is missing from .env, Velld will automatically generate secure values and save them to the .env file.

Binary Path Detection

By default, Velld will search for database dump binaries (pg_dump, mysqldump, mongodump, etc.) in common system paths:

  • Windows: C:\Program Files\<Database>\bin
  • Linux: /usr/bin, /usr/local/bin, /opt/<Database>/bin
  • MacOS: /opt/homebrew/bin, /usr/local/bin

In a future update, users will be able to manually configure the binary path in the web application.

Development Setup

Prerequisites

  • Go
  • Node.js

Running API Locally

cd apps/api
go mod download
go run cmd/api-server/main.go

Running Web UI Locally

cd apps/web
npm install
npm run dev

Contribution

Contributions are welcome! If you find a bug or have a feature request, please open an issue or submit a pull request.

Guidelines

  1. Fork the repository and create a new branch.
  2. Make your changes and ensure tests pass.
  3. Submit a pull request with a clear description of the change.

License

This project is licensed under the MIT License. See the LICENSE file for details.

About

a database backup management and automation tool

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages