Zamba LXC Toolbox is a collection of scripts to easily install Debian LXC containers with preconfigured services on Proxmox with ZFS.
The main feature is Zamba
, the fusion of ZFS and Samba in three different flavours (standalone, active directory dc or active directory member), preconfigured to access ZFS snapshots by "Windows Previous Versions" to easily recover encrypted by ransomware files, accidently deleted files or just to revert changes.
The package also provides LXC container installers for mailpiler
, matrix-synapse
+ element-web
and more services will follow in future releases.
Proxmox VE Server (>=6.30) with at least one configured ZFS Pool.
checkmk
=> Check_MK 2.0 Monitoring Serverdebian-priv
=> Debian privileged container with basic toolsetdebian-unpriv
=> Debian unprivileged container with basic toolsetmailpiler
=> mailpiler mail archive mailpiler.orgmatrix
=> Matrix Synapse Homeserver matrix.org with Element Web Element on githubnextcloud
=> Nextcloud Server nextcloud.com with fail2ban und redis configurationonlyoffice
=> OnlyOffice onlyoffice.comopen3a
=> Open3a web based accounting software open3a.deproxmox-pbs
=> Proxmox Backup Server proxmox.comurbackup
=> UrBackup Server urbackup.orgzmb-ad
=> ZMB (Samba) Active Directory Domain Controller, DNS BackendsSAMBA_INTERNAL
andBIND9_DLZ
are supportedzmb-member
=> ZMB (Samba) AD member with ZFS volume snapshot support (previous versions)zmb-standalone
=> ZMB (Samba) standalone server with ZFS volume snapshot support (previous versions)
Just ssh into your Proxmox machine and clone this git repository. Make sure you have installed git
.
apt update
apt -y install git
git clone https://github.com/bashclub/zamba-lxc-toolbox
cd zamba-lxc-toolbox
Copy zamba.conf.example
located in conf
directory to a new file (default: zamba.conf
) and adjust your desired settings.
For further information about configuration variables, have a look at conf/README.md
cp conf/zamba.conf.example conf/zamba.conf
After configuring, you are able to launch the script interactively (only works with conf/zamba.conf
):
bash install.sh
You can set optional parameters (config file, service, container id):
bash install.sh -i 280 -c conf/my-zmb-service.conf -s zmb-member
You can also view possible parameters with install.sh -h
After container creation, you will be prompted to select the service to install and depending on the service there may be some more questions during installation.
Once the script has finished, the container is installed and running and you can continue with the service specific configuration.