Code:
#!/usr/bin/perl
#sysbkup.pl
#Created by Milkman
#Change These paths to fit your needs.
my $filename="/home/sysbkup/backup";
my $exclude="/home/milkman/exclude";
my $data="/home/milkman/locations";
my $tar="\.tar";
my $gz="\.gz";
$file=$filename.$tar.$gz;
system ("tar -Pzcvf $file -X $exclude -T $data");
Hope this helps!!
I do this, and just change the locales of what I want to backup and burn to a CD-r.........