This page outlines the setup and execution of a basic backup configuration file set.
sudo su
The steps below will generate a copy of the template configuration directory and generate a source and destination directory.
cp -a /lbackup/example_backup_config /lbackup/basic_backup_test cd /lbackup/basic_backup_test/ mv example_backup.conf basic_backup_test.conf mkdir /dst mkdir /src
Next edit and save the file /lbackup/basic_backup_test/basic_backup_test.conf so that it looks like the following :
backupConfigurationVersion=1010 useSSH="NO" backupSource=/src backupDest=/dst log_fileName="basic_backup.log" excludes_filename=excludes.txt numRotations=8 sendGrowlNotification="NO" SLEEP="NO"
Finally, run LBackup with this configuration file by issuing the following command :
/usr/local/sbin/lbackup /lbackup/basic_backup_test/basic_backup_test.conf
You have just configured and executed a basic backup from /src to /dst.
For more information regarding the configuration of LBackup visit the documentation page.