Export layouts every week
Any layout can be restored to last week's state.
Life cycle: Maintain, example 23 of 35. Worked out on the Fit & Healthy site of Exponential 6.0.15+.
Contents
In the Layouts editor
- Or a manual Layouts > Export on Mondays.
On the command line
- A crontab line on the server (as the user that runs the site):
0 3 * * 1 cd /path/to/installation && ./console exp:layouts export --all --output=var/backup/layouts-$(date +\%Y\%m\%d).zipWhich to choose
Keep the files outside the web root and prune old ones.
Check
- A new file appears each week.
Related pages
- Export and import layouts
- Maintain examples, every page
- Free documentation: this page is free to copy, translate and improve under the GNU FDL 1.3.
Become an Exponential Partner
Partners share their information, provide funding, contribute back and develop the products with us, and that is how Exponential grows. A partner website and dashboard are planned for mid-2027: please become a partner today to speed up our growth rate and land new features faster.