Tagged: , ,

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #378106

    First of all, thanks a lot for providing the Enfold theme, I like it very much – congratulations for your work!
    A simple question: Where are the Enfold theme options stored?
    The background of my question is a short story: I’m maintaining several domains with different systems. Some are simple file based, one is based on “Joomla! ”, one is a “MediaWiki” installation and one is WordPress based, with “Enfold” as theme.
    To secure backups of these different systems I maintain a Unix shell script, which safes daily backups to a cloud service, triggered by “cron”. In general this works fine; the script safes the entire file system and a database dump, using “tar” and “mysqldump” (database dumps only if the system is based on a database).
    A backup is only useful if a restore is tested. Therefore I frequently test backups by restoring them.
    It seems, a restore of a WordPress installation with Enfold theme might be a special theme. I installed a restore on a different domain (twice to be sure not to report wrong things to you) . Therefore I had to search and replace all occurences of the prior domain name to the new domain name in the SQL dump. (By the way: The need of this step seems to be a conceptional bug of WordPress; e. g. Joomla doesn’t need such a step – but this shouldn’t be part of a discussion here).
    However, I could restore the WordPress and Enfold based installation at a different domain. Everything worked fine, with one exception: The Enfold theme options were missed.
    That’s curious. Up to now, I expected everything of the prior installation had been stored in the backup and should be restored, both, in/from the backup of the file system and in/from the database dump.
    Fortunately Enfold theme provides an option to export the theme options in a file and to import this options file in a new istallation. Thanks a lot for this feature!
    And, fortunately too, I still had access to the prior system (which was not lost).
    But, I can’t understand why these steps of export and import of the theme options are needed. Up to now I thought, an entire backup of the file system and the database should include everything, including the theme options, wherever they are stored.
    Maybe my backup script is uncomplete. But, what the hell, did I miss?
    Up to now it seems, the theme options are stored outside the file system and the database.
    Again, please let me know, where are the Enfold theme options stored?

    Kind regards,
    Eckhard

    #378535

    Hi Eckhard!

    They are stored in the database but there are also some files inside the /wp-content/uploads/ folder as well so it would be best to use the theme export feature to create a copy of the settings as well.

    Best regards,
    Elliott

    #379226

    Hi Elliot,

    thanks for your reply!
    Due to your reply I could see, there are files in /wp-content/uploads/dynamic_avia like enfold.css and enfold_child.css.
    Of course, these files are included in my backup, I proved it.
    The statement, “they are stored in the database” doesn’t help me in any way, because it’s too general. I expected a more specific reply.
    It seems, I should debug the SQL queries to get more informations.
    But I decided, not to try to go deeper in detail, because it would be too much effort.
    Yes, “theme options export” and “theme options import” can solve the problem. As I mentioned, I knew it before.
    Even, if I don’t understand, why it’s necessary, I will follow this steps and will keep in mind, my backup of the database and the file system is unsufficient, I have to store the theme options separately, even if I can’t understand the need.

    Maybe, you can imagine, I’m confused about this stuff. However, please feel free to close this thread.

    Again, thanks for your help!

    Regards,

    Eckhard

    #379230

    I forgot one remark.
    “Theme options export” is a GUI function of the WorrdPress backend and the theme options dialog of Enfold theme.
    Therefore I can’t integrate it in a command line backup script.
    I assume, there is no otion to export theme options by a command line.

    #379264

    Hey!

    Theme Options are stored in the wp_options table, look for the option_name with the value of avia_options_enfold (change “enfold” if you’ve changed the theme folder name). It looks like this – http://screencast.com/t/J6bOchv6ZsP

    Best regards,
    Josue

    #381364

    Josue, thanks a lot for your post! It will help me to find a solution. And it helps me to solve another problem.

    Kind regards,

    Eckhard

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Where are the Enfold theme options stored?’ is closed to new replies.