Gruelius
June 28th, 2007, 08:34 AM
Hey guys n gals,
ATM my server just has a basic raid and a hard disk. I would like to have a setup where every 12 hours my website directory is put into a tarball then zipped up in the format (webbackup*DATE*.tar.gz) and placed into a folder. Ive forgotten how to use the command but i rememberd it was something like tar *folder* | gzip *name of file*, if someone could help me out and explain to me the command that would be great.
And yeah id need to know how to put it into cron aswell :P Also apache tells me about not being able to determine the domain name correctly or something, how do i stop it from bugging me?
Thanks Everyone, i really do appriciate the help. Oh btw i converted my nan to linux :D
ATM my server just has a basic raid and a hard disk. I would like to have a setup where every 12 hours my website directory is put into a tarball then zipped up in the format (webbackup*DATE*.tar.gz) and placed into a folder. Ive forgotten how to use the command but i rememberd it was something like tar *folder* | gzip *name of file*, if someone could help me out and explain to me the command that would be great.
And yeah id need to know how to put it into cron aswell :P Also apache tells me about not being able to determine the domain name correctly or something, how do i stop it from bugging me?
Thanks Everyone, i really do appriciate the help. Oh btw i converted my nan to linux :D