help with backup script
I am wondering if anyone could help with a backup script. I am kind of new to this scripting stuff, so any help would be great. Here is the code I am using:
Code:
#/bin/bash Code:
-----ends the check--- Thanks, Dennis |
A guess for ya,
Put /mnt/backup in your fstab and make sure the directory is created under /mnt I assuming this /mnt/backup is on a differnt machine a samba share. Code:
$USERNAME1=username Here you are just setting the variables later you use them in which you would use the $USERNAME1 and such.... like i siad just a guess, feel free to slap me if i am wrong :D |
yup, definitely have to lose the $.
Thanks, Dennis |
All times are GMT -5. The time now is 10:43 PM. |