Restore only server configurations when a mistake disables the system
Results 1 to 3 of 3

Thread: Restore only server configurations when a mistake disables the system

  1. #1
    Active Member
    Join Date
    Sep 2015
    Posts
    4

    Restore only server configurations when a mistake disables the system

    In the event that someone makes a Zimbra server level change (global or domain but NOT user level) that breaks the server, is there a command line that would restore a previously working set of configurations (from the backup path) that would start working again after a reboot?

    I realize the best thing to do is watch the logs and just undo or correct what was done but I'm thinking about after all that fails, getting the system back to where it is running without rebuilding or doing a complete system restore.

    Thanks
    Rois

  2. #2
    Zextras employee Known ZeXtras Reseller
    Participant

    Join Date
    Aug 2016
    Posts
    88
    Hello RoisCannon.

    You cannot restore the previous configuration from the backup, but you can use the getServerConfig command to look at the values stored in the backup.

    To list all the available dates you can use:
    Code:
    zxsuite backup getServerConfig standard date all
    To extract a full configuration, eg. the latest
    Code:
    zxsuite backup getServerConfig standard date last query /
    To view a specific attribute you can query for a specific key:
    Code:
    zimbra@test:~$ zxsuite backup getServerConfig standard date last backup_path /opt/zimbra/backup/zextras/ query serverConfig/zimbraMailMode/test.domain.com
    
    config date_______________________________________________________________________________________________28/02/2014 04:01:14 CET
    test.domain.com____________________________________________________________________________________________________________both
    More details and examples are available on this wiki page: https://wiki.zextras.com/wiki/Zx_Bac...gs_and_Configs

    Have a nice day!

    Luca,
    the ZeXtras Team
    IT Support Team Contact Form
    Sales Team Contact Form

    ZeXtras Website
    # ZeXtras Wiki # ZeXtras Store

    Have ZeXtras Suite or ZeXtras Migration Tool been helpful to you?
    Share your experience in the Zimbra Gallery!

    ZeXtras Suite on the Zimbra Gallery
    ZeXtras Migration Tool on the Zimbra Gallery

  3. #3
    Active Member
    Join Date
    Sep 2015
    Posts
    4
    Thanks for the quick reply. Helps knowing that.
    Rois

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •