Amanda Setup – Open source backup software for linux

Amanda provides a way to back up a variety of enterprise data sources and applications, supporting multiple flavors of Unix and Linux, Windows, and Mac OS X.

Installation

For installation follow the given URL
http://www.zmanda.com/quick-backup-setup.html

Exclude files/folder in backup

You can exclude files and folder in backup. To exclude folders, you will have to edit the dumptype entry in amanda.conf file.

Refer the given dumptype I used in my backup.

define dumptype user-tar-span {
root-tar
tape_splitsize 3 Gb
comment "tape-spanning user partitions dumped with tar"
priority medium
exclude append "./Directory/exclude_folder_1/*"
exclude append "./Directory/exclude_folder_2/*"
exclude append "./Directory/exclude_folder_3/*"
exclude append "./Directory/exclude_folder_4/*"
}

Here in the above example you can exlude ./Directory/exclude_folder_1,2,3 and 4.

Login to Linux without authentication through Putty

This tutorial explains how you can replace password-based SSH authentication with key-based authentication which is more secure because only the people that own the key can log in. In this example, we're using PuTTY as our SSH client on a Windows system.

You can download requaired components from this link: http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html

1. Generate a private and public key pair
Open PuTTYgen.exe, press Generate button, move mouse. Once the keys are generated, type your key passphrase (choose a "hard to guess" one). Save Public key. Save Private key.

2. Now login into linux using SSH and goto /root/.ssh folder. There create one file "authorized_keys2". Copy content of publickey generated on Windows PC into "authorized_keys2" file.
or copy public file from windows PC to linux and run below command it will automatically add public key content to authorized_keys2 file.
ssh-keygen -i -f mypublicKey.pub >> .ssh/authorized_keys
It should look something like
ssh-rsa AAAAC1sdf#FasdccP1....
Then change its permission to 700
chmod 700 authorized_keys2
3. Add private key to putty SSH authentication agent.
Start the putty SSH authentication agent PAGENT.EXE. When started, right-click on and then click on "Add Key" , give the path of Private key generated. Now you can start session to Linux PC through putty. You will be asked for username, but not password.. ;)