The LBackup source code is contained within a zipped archive for easy access. The latest LBackup source is available from github.
The source code is readily available even when LBackup is installed using the .pkg or .deb install packages.
Once you have downloaded and unzipped the lbackup source directory you will need to install LBackup.
The default install location is within the '/usr/local/libexec/' directory. The installation process consists of creating various symbolic links. The most important links are to the backup script and the maillog script. Links to these scripts are placed within the '/usr/local/sbin/' directory. This process is automated when using the Apple (.pkg) installer or the Debian (.deb) install packages.
The lbackup-core source code and the source code for the .pkg and .deb LBackup installers are available from github.
The following instructions will allow you to install LBackup on your system from the source. The latest source is available from github.
Run the commands listed below as root on your system. These instructions assume that you are using the BASH on a *NIX system and that you have various tools installed such as wget and unzip.
mkdir /tmp/lbackup_install cd /tmp/lbackup_install wget http://www.lbackup.org/download/LBackupSource.zip unzip LBackupSource.zip -d lbackup_source cd /tmp/lbackup_install/lbackup_source/LIST-Backup/root/ mkdir -p /usr/local/libexec mkdir -p /usr/local/sbin mkdir -p /etc/lbackup ln -s /etc/lbackup /lbackup cp -r ./usr/local/libexec/lbackup1001 /usr/local/libexec/lbackup1001 cp -r ./lbackup /lbackup chown -R 0:0 /usr/local/libexec/lbackup1001 chown -R 0:0 /lbackup chown -R 0:0 /etc/lbackup /tmp/lbackup_install/lbackup_source/LIST-Backup/Resources/postinstall
The following instructions will allow you to remove LBackup from your system.
Run the commands listed below as root on your system. These instructions assume that you are using BASH on a *NIX based system.
cd /usr/local/sbin/ rm lmail lcd lbackup cd /usr/local/libexec/ rm -R lbackup lbackup1 lbackup1001 cd /etc/ rm -R lbackup cd / rm lbackup