Okay, thanks for the reply, here is what I did so far:

        #!/bin/bash
         tar cvzf  /shared/backup /home/someuser


I then chmod +x

When I try and run it with just backup I get the following:

[dale@localhost dale]$ backup
bash: backup: command not found
[dale@localhost dale]$


I can run it by typing: ./backup


What am I doing wrong? I would also like to have this script rename the old 
backup to something different so that I can go in and delete the oldest 
backups that I dont need. How hard would this be to do? Can I also automate 
this with a cron job? Where would I look for more info on what I am trying to 
learn? Thanks for your trouble



_______________________________________________
Seawolf-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/seawolf-list

Reply via email to