Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fallenbagel/vaultkeeper
Secure Data Backup and Restore Utility for Vaultwarden written in rust π¦
https://github.com/fallenbagel/vaultkeeper
backup backup-restore restore terminal-app vaultwarden vaultwarden-backup
Last synced: about 2 months ago
JSON representation
Secure Data Backup and Restore Utility for Vaultwarden written in rust π¦
- Host: GitHub
- URL: https://github.com/fallenbagel/vaultkeeper
- Owner: Fallenbagel
- License: mit
- Created: 2023-12-26T20:28:05.000Z (12 months ago)
- Default Branch: main
- Last Pushed: 2023-12-29T15:41:43.000Z (12 months ago)
- Last Synced: 2023-12-29T16:39:44.387Z (12 months ago)
- Topics: backup, backup-restore, restore, terminal-app, vaultwarden, vaultwarden-backup
- Language: Rust
- Homepage:
- Size: 47.9 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# VaultKeeper
VaultKeeper is a command-line tool written in Rust π¦ to streamline the backup and restoration process for your Vaultwarden instance. Take command of your vaultwarden data with precision, selecting exactly what to back up and how many versions to retain.I developed this command-line tool as a means of learning Rust π¦.
### Key Features:
- π **Customizable Backups:**Tailor your backups to meet your specific needs. VaultKeeper lets you choose which elements to include in your backups, such as the database, attachments, sent items, configuration files (config.json), RSA key, and icon caches.
- π **Version Control:**Define how many backups to retain at a time. VaultKeeper makes it easy to manage storage space by automatically handling the removal of older backups based on your specified retention count.
### Upcoming Features:
- π **Effortless Restoration:**
Restore your Vaultwarden data with ease. VaultKeeper simplifies the restoration process by restoring the vaultwarden data using a single command!
- π **Encryption for Added Security:**
Encrypt your Vaultwarden backup data with ease, and decrypt them during the restoration process.## Usage:
```bash
# Generate your vaultkeeper config file during installation (handled by Makefile)
vaultkeeper generate-config
# Or generate to a custom directory (handled by Makefile)
vaultkeeper generate-config --config /foo# Backup your Vaultwarden data after configuring Vaultkeeper
vaultkeeper backup
# Or backup using the config file from a custom path
vaultkeeper backup --config /foo/config.json
```### Getting Started:
To get started with VaultKeeper, follow these steps:
#### Automatic Installation
1. Download the Makefile:
```bash
wget https://raw.githubusercontent.com/Fallenbagel/vaultkeeper/main/Makefile
```
2. Run the installation:
```bash
make install
```
#### Manual Installation
1. Download and Install:
- Visit the ([releases](https://github.com/Fallenbagel/VaultKeeper/releases/latest)) page.
- Download the latest version of VaultKeeper for your platform (windows coming soonβ’)
2. Make the binary executable (Linux/Unix/Mac):
```bash
chmod +x vaultkeeper
```
3. Move the binary to a directory in your system's PATH, e.g., /usr/bin/ (Linux/Unix/Mac):
```bash
sudo mv vaultkeeper /usr/bin/
```
Now you can use `vaultkeeper` as a command in your terminal and you can use it by running the commands described in the [Usage](#usage) section.#### Build from Source:
1. **Install Rust:**
Ensure that you have Rust installed on your system. If not, you can install it by following the instructions on the [official Rust website](https://www.rust-lang.org/tools/install).2. **Clone the Repository:**
```bash
git clone https://github.com/Fallenbagel/vaultkeeper.git
cd vaultkeeper
```
3. Build the binary:
```bash
cargo build --release
```
4. Copy the Binary: Once the build process is complete, you can find the binary in the target/release/ directory. Copy it to a location in your system's PATH:
```bash
sudo cp target/release/vaultkeeper /usr/bin/
```
5. Make the directory to store your Vaultkeeper config file
```bash
sudo mkdir /etc/vaultkeeper
```
6. Generate config file
```bash
vaultkeeper generate-config --config /etc/vaultkeeper
```
Now you can use it by running the commands described in the [Usage](#usage) section.## Contribute:
- If you encounter issues or have suggestions, feel free to open an [issue](https://github.com/Fallenbagel/VaultKeeper/issues/new).
- Contributions are welcome!