Date: Tue, 13 Nov 2001 18:54:43 -0600 From: jacks@sage-american.com To: Bernie Johnson <ralph6412@yahoo.com>, freebsd-questions@FreeBSD.ORG Subject: Re: Tape Back Up and Cron????? Message-ID: <3.0.5.32.20011113185443.00fc7db8@mail.sage-american.com> In-Reply-To: <20011113224823.53372.qmail@web11801.mail.yahoo.com>
next in thread | previous in thread | raw e-mail | index | archive | help
...put the commands into script and run the script from cron... what, did I miss here? At 02:48 PM 11.13.2001 -0800, Bernie Johnson wrote: >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 > > Best regards, Jack L. Stone, Server Admin Sage-American http://www.sage-american.com jacks@sage-american.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?3.0.5.32.20011113185443.00fc7db8>