WebsiteBaker Support (2.12.x) > General Help & Support

Create mirror from website baker

(1/3) > >>

noname8:
I would like to create mirror from my baker website.
This mirror i would host in a serverless-server, no php-support, no mysql.

So to do this, i'm thinking of some kind of php curl crawler-script that i'd run every time i update content in the main baker site with admin, once a month. It would need to have different root url, but the same structure of pages and php>html and copy whole media dir also.

Has anybody done this, I don't know where to start...

Thanks for your help

hgs:
Did I get that right?
You want to create a backup of your WebsiteBaker live page via script?

My hoster offers this for the webspace and the database, I have this done automatically once a week by a cronjob. and my "mirror" is created automatically. A 2nd cronjob then deletes all older data after 15 weeks again automatically.

ruebenwurzel:
Hello,

try this here:

http://www.httrack.com/

Matthias

noname8:
Thank you for replies

The mirror i would like to create should be .htm only, without .php and mysql. So just clone does not work.
Httrack i have used, but currenly using mac so i would like to have a bash script or php curl job.
[edit: httrack seems to work on mac too, but i would still prefer a quick script that i can run on the server]

Martin Hecht:
maybe something like wget -m -p -D yourdomain yourstartpage

Navigation

[0] Message Index

[#] Next page

Go to full version