Web Hosting Talk







View Full Version : Backing up a website


pgowder
12-20-2001, 03:59 PM
What is the command to gzip a website directory and get all the files??

Thanks

RaQServices
12-20-2001, 09:57 PM
You may want to use:

tar cfp filename.tar.gz /folder

shortfork
12-21-2001, 02:16 AM
This one works for me:

tar cvfz filename.tar /wherever/the/file/is (I try to do this in the folder just above the folder I'm going to tar) On a raq, if you do this, for instance in the /home/sites/sitenumber/ folder and did a

tar cvfz webnumber.tar web

You would wind up with a file named webnumber.tar within that folder (just above web)

untaring would be

tar xvfz webnumber.tar web

and you'd have made it just like it was.

The z does compression, no need to gzip it. I've tried to gzip a file that I've run this on and there is no xtra compression that I could see.

Hope that helps

Shortsqueeze

pgowder
12-28-2001, 12:11 PM
I got a disk quota error. The file reached 18570240 before it stopped.

How can I increase the space needed for this? The site that I'm storing this end has a limited of 10 gb.

pgowder
12-28-2001, 12:18 PM
Looks like it is a limit set on the username that I logged in as.