-
Notifications
You must be signed in to change notification settings - Fork 2
metadata
Max Ivak edited this page Apr 2, 2018
·
4 revisions
- Metadata information consists of meta information about pages and templates, like URLs of pages, filenames for templates. It doesn't include content of templates.
- storage for metadata backups
- 'config/optimacms.yml':
default: &default
main_namespace: ''
admin_namespace: 'admin'
files_dir_path: 'img'
development:
<<: *default
metadata:
backup_dir_base: "/data/backups/base_dev/local/metadata"
production:
<<: *default
metadata:
backup_dir_base: "/home/app/apps/base_dev/backups/metadata"
- from admin area:
- go to System -> Metadata -> click Backup.
- see a new archive in the list below
- download archive
-
Metadata backup can be imported to another project.
-
For example,, you can create backup in local project and apply it to the project on server.
-
Import backup:
- go to admin area -> System -> Metadata
- upload file with backup (usually, file .tar.gz)
- refresh the page and see a new file in the list of backups
- select new backup and click "View"
- Click Import templates, review changes, apply changes
- Click Import pages, review changes, apply changes