bale
bale copied to clipboard
ZFS Snapshot Browser Based GUI
bale: ZFS Snapshot Browser Based GUI
Host Creation
Manual Management Task Handling
Automatic Management Task Handling
Downloading Files From Snapshots
Simple Automations
ZFS-Autobackup Automations
⚠️ WARNING
This utility is currently in early development and may undergo breaking changes in future updates. Your configuration may be lost, and snapshot functionality might be affected. Use with caution; data loss may occur.
Features
- Remote Management: bale handles all interactions over SSH, eliminating the need for local installation. You can manage your ZFS snapshots from anywhere.
- Multi-Host Support: Configure bale to manage multiple hosts within the same installation, making it a versatile choice for system administrators.
- User-Friendly GUI: Easily manage your ZFS snapshots with an intuitive web-based interface that simplifies the process.
- Automation: bale can automate generic remote and local applications as well as work seamlessly with zfs_autobackup, streamlining your backup and snapshot tasks.
- Download: Easily download files directly from your ZFS snapshots through the web interface.
Installation
Using Docker
-
Download
docker-compose.yml. -
Customize the
docker-compose.ymlfile to suit your requirements. -
Run the application using Docker Compose:
docker-compose up -d
Using Proxmox LXC Container
-
Download
pve-install.ymlandinv.yml. -
Ensure you have a compatible Debian template available and updated
inv.ymlaccordingly. -
Customize the
inv.ymlfile to match your specific setup requirements. -
Execute the Ansible playbook for Proxmox LXC container installation against your Proxmox host:
ansible-playbook -i inv.yml pve-install.yml
Manual install on Debian
-
Install required packages.
sudo apt update sudo apt install -y git python3-pip python3-venv sshpass -
Clone the repository.
git clone https://github.com/natankeddem/bale.git -
Move to bale directory.
cd bale -
Create python virtual environment.
python3 -m venv ./venv -
Activate virtual environment.
source ./venv/bin/activate -
Install pip3 packages from requirements.txt
pip3 install -r requirements.txt -
Exit the virtual environment.
deactivate -
Edit
resources/bale.servicewith the actual path you are utilizing on your system.nano resources/bale.service -
Change paths in
resources/bale.serviceif needed then copy to service directory and activate.sudo cp resources/bale.service /etc/systemd/system sudo systemctl enable bale.service -
Start the service and check status.
sudo systemctl start bale.service sudo systemctl status bale.serviceTroubleshooting
If you get an error like this:
bale.service: Failed to locate executable /root/bale/venv/bin/python: No such file or directory, modify the path in your/etc/systemd/system/bale.servicefile.sudo nano /etc/systemd/system/bale.servicesudo systemctl daemon-reload sudo systemctl start bale.service sudo systemctl status bale.service
Access GUI
Access bale by navigating to http://host:8080.