Backup Script

Best practice information from Scalix users relating to integration of Scalix with other products.

Moderator: ScalixSupport

Mark007

Backup Script

Postby Mark007 » Sun Feb 08, 2009 12:33 pm

Hi all,

First thing, I'm just a lowly systems engineer, not a developer, therefore I don't code, so I am wondering if someone can assist with this log ?

The script was lifted from the wiki, adjusted to taste (paths etc..)
and I see "command not found" when its run

FYI, base platform is Centos 5.2

/opt/scalix/adm/scalix-backup.sh: line 327: : command not found
/opt/scalix/adm/scalix-backup.sh: line 334: : command not found
/opt/scalix/adm/scalix-backup.sh: line 346: : command not found
tar: Removing leading `/' from member names
tared /etc/mail to /home/scalix-backup/Sunday/configs/mail.tar
tar: Removing leading `/' from member names
tar: Removing leading `/' from hard link targets
tared /etc/sysconfig to /home/scalix-backup/Sunday/configs/sysconfig.tar
tar: Removing leading `/' from member names
tared /etc/httpd to /home/scalix-backup/Sunday/configs/httpd.tar
Config dir /etc/clamd.d doesn't exist: aborting!
tar: Removing leading `/' from member names
tared /etc/stunnel to /home/scalix-backup/Sunday/configs/stunnel.tar
Config dir /etc/rulesdujour doesn't exist: aborting!
Adding Process: Number 1 of 5 -- User:
Adding Process: Number 2 of 5 -- User:
Adding Process: Number 3 of 5 -- User:
Adding Process: Number 4 of 5 -- User:
All processes have been added.
Waiting for those still running...
All users done!
Stopping scalix services
Stopping Scalix services (svr05): [ OK ]
Beginning rsync of /var/opt/scalix to /home/scalix-backup/Sunday
Completed rsync of /var/opt/scalix to /home/scalix-backup/Sunday
/opt/scalix/adm/scalix-backup.sh: line 377: : command not found
Starting Scalix services
Starting Scalix services (svr05): [ OK ]
Cleaning up temporary files
All operations complete


log purged of names etc.


MarkA

schmoe90
Scalix
Scalix
Posts: 900
Joined: Mon May 07, 2007 11:51 am

Postby schmoe90 » Mon Feb 09, 2009 3:04 pm

What's on line 377 of your script? It's probably just a $PATH issue.


Return to “Third Party Integration”



Who is online

Users browsing this forum: No registered users and 0 guests