Creating Backups of Your Files

Gewijzigd op Do, 11 Dec om 1:19 PM

Creating Backups of Your Files

You can create a backup of files in your hosting account using our script located at ~/bin/backup_httpdocs.php. This script will generate a backup within the directory ~/backup that contains the contents from these locations:

  • ~/httpdocs
  • ~/magento
  • ~/magento2
  • ~/releases
  • ~/deployment
  • ~/shared
  • ~/private
  • ~/media
  • ~/current
  • ~/deploy
  • ~/application
  • ~/app

If any of these directories are symlinks, the script will attempt to backup from the location they're linked to.

The script has excluded certain locations like:

  • files/import_export
  • media/catalog/product/cache
  • media/import
  • media/tmp
  • var/cache
  • var/debug
  • var/full_page_cache
  • var/log
  • var/report
  • var/page_cache
  • var/session

Once the script finishes, it will display the name and location of the backup.

Was dit artikel nuttig?

Dat is fantastisch!

Hartelijk dank voor uw beoordeling

Sorry dat we u niet konden helpen

Hartelijk dank voor uw beoordeling

Laat ons weten hoe we dit artikel kunnen verbeteren!

Selecteer tenminste een van de redenen
CAPTCHA-verificatie is vereist.

Feedback verzonden

We stellen uw moeite op prijs en zullen proberen het artikel te verbeteren