View Single Post
  #127  
Old 21st June 2011, 15:15
Toucan Toucan is offline
Senior Member
 
Join Date: Dec 2009
Posts: 478
Thanks: 78
Thanked 39 Times in 33 Posts
Default

Quote:
Originally Posted by vaio1 View Post
So, each server has a copy of the script, right?

I don't understand how have I set this variable in each server:

Code:
BACKUPDIR="/bck/$COMPUTER"
Yes, the same script runs on each of the servers at different times

The variable backupdir dictates where the backup us saved to.

On my server I have a directory that mounts to the nas elsewhere on the network.

So my backupdir = /mnt/backup/$computer

$computer vRiable holds the name of the computer backing up.
Reply With Quote