well a quick "man tar" and we get a bunch a stuff and finally...

"directory1 [ directory2, ...directoryN ]"

so spaces between the directories should suit you fine.

also, one thing i haven't mentioned that is worth mentioning is the 
permissions of the backups

you way wish to have the set in the script also depending on who you want 
to access the files.

Tom




Please respond to [EMAIL PROTECTED]
Sent by:        [EMAIL PROTECTED]
To:     [EMAIL PROTECTED]
cc: 
Subject:        [luau] Back up script (was Nextup, back up)

Aloha,

I've a question regarding the backup script.

> #!/bin/sh
> # full and incremental backup script
> # created 07 February 2000
> # Based on a script by Daniel O'Callaghan <[EMAIL PROTECTED]>
> # and modified by Gerhard Mourani <[EMAIL PROTECTED]>
> 
> # Change the 5 variables below to fit your computer/backup
> 
> COMPUTER=liholiho-ltsp1                 # name of this computer
> DIRECTORIES="/home"                     # directoris to backup

I have multiple directories I'd like to backup. What is the correct 
way to specify them? 
I'm trying:
DIRECTORIES="/var/webcalng /var/www /var/configfiles"

in hope it will backup the three directories;  /var/webcalng, 
/var/www, and /var/configfiles.

Is this the correct way to handle it?

Mahalo!
Wayne Bow
Network Administrator
St Francis School                   (808) 988.4111 ext 107
"Quality Catholic Education in a Spirit of Joy"

_______________________________________________
LUAU mailing list
[EMAIL PROTECTED]
http://videl.ics.hawaii.edu/mailman/listinfo/luau



Reply via email to