Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Nov 2001 14:48:23 -0800 (PST)
From:      Bernie Johnson <ralph6412@yahoo.com>
To:        freebsd-questions@freebsd.org
Subject:   Tape Back Up and Cron?????
Message-ID:  <20011113224823.53372.qmail@web11801.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
I have a small dilema, I have got tostart backing up a
few directories every night to a DDS3 tape drive.

There is a CPanel PSA (PLESK)interface running on this
server, and the programmers are telling me I have to
stop the CPanel before doing the tape backup.

The directories I need to back up are as follows:

First Stop PSA by issuing the following command:

Further, use the following commands to start and stop
the system:
       /usr/local/psa/rc.d/psa start and
      /usr/local/psa/rc.d/psa stop respectively.




Do copies of the following files and directories (you
may use TAR):
	NOTE: All file attributes should be preserved.
	/etc
	/var
	/tmp
	/usr 
	If you can't backup whole /usr, you should backup the
following files and directories
	/usr/sbin/sendmail
	/usr/lib/sendmail
	/usr/local/frontpage
	/usr/local/psa
	/usr/local/etc/rc.d/


My questions are as follows, how do I set up a cron
job to do this and compress it in one swoop with out
havign to do it manualy.  I have looked at the
handbook but dont see how to do intricate cron jobs.

This corn job would have to stop the PSA that is
running, then back upp all of thsoe files to the DDS3
Tape Drive, and then start the PSA interface again
when completed.

Please help really new to cron jobs and backing up.

Bernie--

__________________________________________________
Do You Yahoo!?
Find the one for you at Yahoo! Personals
http://personals.yahoo.com

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011113224823.53372.qmail>