Amanda is an open-source backup and recovery software that provides a reliable and easy-to-use backup solution for Administrators. This tutorial will show you step-by-step how to install Amanda on Debian Latest.
Before we proceed with the installation, ensure that the following requirements are met:
First, update your system to ensure that all packages in the system are up-to-date. To do this, run the following command:
sudo apt-get update && sudo apt-get upgrade
Type y
when prompted to confirm the installation of the updates.
We will install Amanda backup server with the following command:
$ sudo apt-get install amanda-server
Once the installation is complete, you can check the version of Amanda installed by running the command:
$ amadmin --version
Before we can start using Amanda, we need to configure it.
$ nano /etc/amanda/amanda.conf
org "My Backup Organization"
mailto "your-email-address"
dumpcycle 3 weeks
runspercycle 60
tpchanger "chg-disk"
tapedev "null:"
My Backup Organization
with the name of your backup organization;your-email-address
with your email address;dumpcycle
and runspercycle
values according to your requirements. The default value is 3 weeks and 60 runs respectively.tpchanger
specifies the tape changing device.tapedev
specifies the tape device to use.We need to create Amanda users that will be used to manage backups. To do this, run the following command:
$ sudo amadduser backupuser1 backupuser2
You can also create a new user with the following command:
$ sudo adduser mynewuser
Create a backup directory by running the following command:
$ sudo mkdir /backup
Update the ownership of the backup directory with the following command:
$ sudo chown -R backupuser1:backupuser2 /backup
We need to specify the directory that we want to backup. Edit the following file using the following command:
$ sudo nano /etc/amanda/DailySet1/disklist
Specify the directory that you want to backup using the format:
#<hostname> <diskdevice> <dump|no|ignore> [ <options> ]
<server_name> / amdump
Save and close the file.
Start the Amanda server with the following command:
$ sudo service amandad start
Start the Amanda client with the following command:
$ sudo service amanda start
The Amanda backup server and Amanda client should now be running.
You have successfully installed and configured Amanda on Debian Latest. You can now start backing up your data using Amanda. If you need to add more users or backup more directories, edit the configuration files as described in the tutorial.
If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!
Alternatively, for the best virtual desktop, try Shells!