http://linux.fi/wiki/Varmuuskopiointi
rsync -avz –exclude={/path1,/path2,/and_so_on} // /path/destination
You can determine what not to backup in the exclude -line -> –exclude={/proc,/dev,/media,/mnt,/sys,/tmp,/bin,/boot,/dev,/lib,/lost+found/,/opt,/root,/run,/sbin,/selinux,/srv,/usr,/var,/home/linux,/whatever}
An example:
sudo rsync -avz –exclude={/proc,/dev,/media,/mnt,/sys,/tmp,/bin,/boot,/dev,/lib,/lost+found/,/opt,/root,/run,/sbin,/selinux,/srv,/usr,/var,/home/linux,/home/opensuse,/home/pclinux,/home/linux~,/home/mint/backup,/home/mint/.thunderbird,/home/mint/Lataukset,/home/mint/Asiakirjat,/home/mint/Videot} // /home/mint/backup