Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Compress site before Downloading?


FlyingMonkey

Recommended Posts

Posted

Is there a command to compress and entire site before downloading? and a way to uncompress the files all server side? Thanks.

Most likely your question has been answered, please do a search first.

Posted

you may need to get your host to do it.

Your online success is Paramount.

Posted

i just thought it would be similar to how the sql database is compressed? we're given ssh access, if that helps...

Most likely your question has been answered, please do a search first.

  • 2 weeks later...
Posted

once you have logged on via ssh, get to your 'root' of your site, then - tar czvf filenamebackup.tar.gz ./ will backup your whole site, minus the sql datafile.

 

thus, prior to backing up do a sql backup in the admin section of the store, which will then be backed up with the rest of site.

 

to restore, go to where you want to extract, with the file there, and type in tar xzvf filenamebackup.tar.gz

Posted

I tried mibble's excellent suggestion - just one problem -' error file changed as we read it'

 

I think it is trying to archive the archive file into itself! :blink:

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...