[{"data":1,"prerenderedAt":465},["ShallowReactive",2],{"docs-administration-backup-restore-":3,"docs-navigation":321},{"id":4,"title":5,"body":6,"dateModified":310,"datePublished":310,"description":311,"extension":312,"meta":313,"navigation":314,"path":316,"proficiencyLevel":317,"seo":318,"stem":319,"__hash__":320},"docs\u002Fdocs\u002F6.administration\u002F4.backup-restore.md","Backup and Restore",{"type":7,"value":8,"toc":303},"minimark",[9,13,17,22,30,33,54,58,145,149,200,204,207,280,287,291,299],[10,11,5],"h1",{"id":12},"backup-and-restore",[14,15,16],"p",{},"Your Open-AudIT database is the heart of the system — it contains all your device records, discovery history, credentials, and configuration. Back it up regularly.",[18,19,21],"h2",{"id":20},"what-to-back-up","What to Back Up",[14,23,24,25,29],{},"The primary thing to back up is the MySQL\u002FMariaDB database. On Linux, the database is named ",[26,27,28],"code",{},"openaudit",". On Windows (XAMPP), it's the same.",[14,31,32],{},"Configuration files you may also want to preserve:",[34,35,36,48],"ul",{},[37,38,39,40,43,44,47],"li",{},"Apache configuration (",[26,41,42],{},"\u002Fetc\u002Fhttpd\u002Fconf.d\u002F"," on RHEL, ",[26,45,46],{},"\u002Fetc\u002Fapache2\u002F"," on Debian\u002FUbuntu, or the XAMPP equivalent on Windows)",[37,49,50,51],{},"Any custom scripts in ",[26,52,53],{},"\u002Fusr\u002Flocal\u002Fopen-audit\u002F",[18,55,57],{"id":56},"backing-up-the-database","Backing Up the Database",[59,60,61,119],"docs-code-tabs",{},[62,63,65],"code-tab",{"label":64},"Linux",[66,67,72],"pre",{"className":68,"code":69,"language":70,"meta":71,"style":71},"language-bash shiki shiki-themes github-light github-dark","mysqldump -u openaudit -popenauditpassword openaudit > openaudit_backup_$(date +%Y%m%d).sql\n","bash","",[26,73,74],{"__ignoreMap":71},[75,76,79,83,87,91,94,96,100,103,107,110,113,116],"span",{"class":77,"line":78},"line",1,[75,80,82],{"class":81},"sScJk","mysqldump",[75,84,86],{"class":85},"sj4cs"," -u",[75,88,90],{"class":89},"sZZnC"," openaudit",[75,92,93],{"class":85}," -popenauditpassword",[75,95,90],{"class":89},[75,97,99],{"class":98},"szBVR"," >",[75,101,102],{"class":89}," openaudit_backup_",[75,104,106],{"class":105},"sVt8B","$(",[75,108,109],{"class":81},"date",[75,111,112],{"class":89}," +%Y%m%d",[75,114,115],{"class":105},")",[75,117,118],{"class":89},".sql\n",[62,120,122],{"label":121},"Windows",[66,123,125],{"className":68,"code":124,"language":70,"meta":71,"style":71},"c:\\xampp\\mysql\\bin\\mysqldump.exe -u openaudit -popenauditpassword openaudit > openaudit_backup.sql\n",[26,126,127],{"__ignoreMap":71},[75,128,129,132,134,136,138,140,142],{"class":77,"line":78},[75,130,131],{"class":81},"c:\\xampp\\mysql\\bin\\mysqldump.exe",[75,133,86],{"class":85},[75,135,90],{"class":89},[75,137,93],{"class":85},[75,139,90],{"class":89},[75,141,99],{"class":98},[75,143,144],{"class":89}," openaudit_backup.sql\n",[18,146,148],{"id":147},"restoring-the-database","Restoring the Database",[59,150,151,176],{},[62,152,153],{"label":64},[66,154,156],{"className":68,"code":155,"language":70,"meta":71,"style":71},"mysql -u openaudit -popenauditpassword openaudit \u003C openaudit_backup.sql\n",[26,157,158],{"__ignoreMap":71},[75,159,160,163,165,167,169,171,174],{"class":77,"line":78},[75,161,162],{"class":81},"mysql",[75,164,86],{"class":85},[75,166,90],{"class":89},[75,168,93],{"class":85},[75,170,90],{"class":89},[75,172,173],{"class":98}," \u003C",[75,175,144],{"class":89},[62,177,178],{"label":121},[66,179,181],{"className":68,"code":180,"language":70,"meta":71,"style":71},"c:\\xampp\\mysql\\bin\\mysql.exe -u openaudit -popenauditpassword openaudit \u003C openaudit_backup.sql\n",[26,182,183],{"__ignoreMap":71},[75,184,185,188,190,192,194,196,198],{"class":77,"line":78},[75,186,187],{"class":81},"c:\\xampp\\mysql\\bin\\mysql.exe",[75,189,86],{"class":85},[75,191,90],{"class":89},[75,193,93],{"class":85},[75,195,90],{"class":89},[75,197,173],{"class":98},[75,199,144],{"class":89},[18,201,203],{"id":202},"resetting-the-database","Resetting the Database",[14,205,206],{},"If you need a clean slate — for example, after testing or a failed migration — you can drop and recreate the database. The Open-AudIT installer will recreate a fresh schema:",[66,208,210],{"className":68,"code":209,"language":70,"meta":71,"style":71},"mysql -u root -p -e \"DROP DATABASE openaudit;\"\nmysql -u root -p -e \"CREATE DATABASE openaudit;\"\nmysql -u root -p -e \"GRANT ALL PRIVILEGES ON openaudit.* TO openaudit@localhost IDENTIFIED BY 'openauditpassword'; FLUSH PRIVILEGES;\"\nmysql -u root -p openaudit \u003C \u002Fusr\u002Flocal\u002Fopen-audit\u002Fother\u002Fopen-audit.sql\n",[26,211,212,230,246,262],{"__ignoreMap":71},[75,213,214,216,218,221,224,227],{"class":77,"line":78},[75,215,162],{"class":81},[75,217,86],{"class":85},[75,219,220],{"class":89}," root",[75,222,223],{"class":85}," -p",[75,225,226],{"class":85}," -e",[75,228,229],{"class":89}," \"DROP DATABASE openaudit;\"\n",[75,231,233,235,237,239,241,243],{"class":77,"line":232},2,[75,234,162],{"class":81},[75,236,86],{"class":85},[75,238,220],{"class":89},[75,240,223],{"class":85},[75,242,226],{"class":85},[75,244,245],{"class":89}," \"CREATE DATABASE openaudit;\"\n",[75,247,249,251,253,255,257,259],{"class":77,"line":248},3,[75,250,162],{"class":81},[75,252,86],{"class":85},[75,254,220],{"class":89},[75,256,223],{"class":85},[75,258,226],{"class":85},[75,260,261],{"class":89}," \"GRANT ALL PRIVILEGES ON openaudit.* TO openaudit@localhost IDENTIFIED BY 'openauditpassword'; FLUSH PRIVILEGES;\"\n",[75,263,265,267,269,271,273,275,277],{"class":77,"line":264},4,[75,266,162],{"class":81},[75,268,86],{"class":85},[75,270,220],{"class":89},[75,272,223],{"class":85},[75,274,90],{"class":89},[75,276,173],{"class":98},[75,278,279],{"class":89}," \u002Fusr\u002Flocal\u002Fopen-audit\u002Fother\u002Fopen-audit.sql\n",[281,282,284],"docs-callout",{"type":283},"danger",[14,285,286],{},"Dropping the database deletes all your device records, history, and configuration. Make sure you have a backup before doing this.",[18,288,290],{"id":289},"built-in-backuprestore-admin-menu","Built-In Backup\u002FRestore (Admin Menu)",[14,292,293,294,298],{},"Open-AudIT also has backup and restore options accessible from within the application under ",[295,296,297],"strong",{},"Menu → Admin",". These use the same mysqldump approach under the hood and can be useful for quick exports without needing command-line access.",[300,301,302],"style",{},"html pre.shiki code .sScJk, html code.shiki .sScJk{--shiki-default:#6F42C1;--shiki-dark:#B392F0}html pre.shiki code .sj4cs, html code.shiki .sj4cs{--shiki-default:#005CC5;--shiki-dark:#79B8FF}html pre.shiki code .sZZnC, html code.shiki .sZZnC{--shiki-default:#032F62;--shiki-dark:#9ECBFF}html pre.shiki code .szBVR, html code.shiki .szBVR{--shiki-default:#D73A49;--shiki-dark:#F97583}html pre.shiki code .sVt8B, html code.shiki .sVt8B{--shiki-default:#24292E;--shiki-dark:#E1E4E8}html .default .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .shiki span {color: var(--shiki-default);background: var(--shiki-default-bg);font-style: var(--shiki-default-font-style);font-weight: var(--shiki-default-font-weight);text-decoration: var(--shiki-default-text-decoration);}html .dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}html.dark .shiki span {color: var(--shiki-dark);background: var(--shiki-dark-bg);font-style: var(--shiki-dark-font-style);font-weight: var(--shiki-dark-font-weight);text-decoration: var(--shiki-dark-text-decoration);}",{"title":71,"searchDepth":232,"depth":232,"links":304},[305,306,307,308,309],{"id":20,"depth":232,"text":21},{"id":56,"depth":232,"text":57},{"id":147,"depth":232,"text":148},{"id":202,"depth":232,"text":203},{"id":289,"depth":232,"text":290},"2026-04-10","How to back up and restore your Open-AudIT database on Linux and Windows, including database reset procedures.","md",{},{"title":315},"Backup & Restore","\u002Fdocs\u002Fadministration\u002Fbackup-restore","Intermediate",{"title":5,"description":311},"docs\u002F6.administration\u002F4.backup-restore","5CrwDr_zbFsCxBU54-DdGrafuiC2q47NEuUFROTnu_k",[322],{"title":323,"path":324,"stem":325,"children":326},"Docs","\u002Fdocs","docs",[327,331,343,365,396,418,425,443,460],{"title":328,"path":324,"stem":329,"description":330},"Overview","docs\u002Findex","Guides to help you install, configure, and get the most out of Open-AudIT — a powerful network discovery, audit, and asset tracking system.",{"title":332,"path":333,"stem":334,"children":335,"description":337},"Getting Started","\u002Fdocs\u002Fgetting-started","docs\u002F1.getting-started\u002F1.index",[336,338],{"title":332,"path":333,"stem":334,"description":337},"Get from a fresh install to discovering devices on your network in under 10 minutes. This guide walks through each step in order.",{"title":339,"path":340,"stem":341,"description":342},"Activating Your License","\u002Fdocs\u002Fgetting-started\u002Factivating-your-license","docs\u002F1.getting-started\u002F2.activating-your-license","How to activate your free 100-device Open-AudIT Enterprise license after installation.",{"title":344,"path":345,"stem":346,"children":347,"description":349},"Installation","\u002Fdocs\u002Finstallation","docs\u002F2.installation\u002F1.index",[348,350,355,360],{"title":344,"path":345,"stem":346,"description":349},"Install or upgrade Open-AudIT on Windows Server or Linux. Includes virtual appliance option for the fastest setup.",{"title":351,"path":352,"stem":353,"description":354},"Server Requirements","\u002Fdocs\u002Finstallation\u002Fserver-requirements","docs\u002F2.installation\u002F2.server-requirements","Hardware, operating system, browser, and dependency requirements for running Open-AudIT.",{"title":356,"path":357,"stem":358,"description":359},"Install on Linux","\u002Fdocs\u002Finstallation\u002Finstall-linux","docs\u002F2.installation\u002F3.install-linux","Step-by-step guide to installing Open-AudIT on supported Linux distributions including Red Hat, Rocky Linux, Debian, and Ubuntu.",{"title":361,"path":362,"stem":363,"description":364},"Install on Windows","\u002Fdocs\u002Finstallation\u002Finstall-windows","docs\u002F2.installation\u002F4.install-windows","Step-by-step guide to installing Open-AudIT on Windows Server, including Nmap and Visual C++ prerequisites.",{"title":328,"path":366,"stem":367,"children":368,"description":370},"\u002Fdocs\u002Fdiscovery","docs\u002F3.discovery\u002F1.index",[369,371,376,381,386,391],{"title":328,"path":366,"stem":367,"description":370},"Discovery is how Open-AudIT finds and audits devices on your network. Learn about credentials, running scans, discovery types, and how it all works under the hood.",{"title":372,"path":373,"stem":374,"description":375},"Credentials","\u002Fdocs\u002Fdiscovery\u002Fcredentials","docs\u002F3.discovery\u002F2.credentials","Learn how to create and manage the credential sets Open-AudIT uses to authenticate with devices during network discovery.",{"title":377,"path":378,"stem":379,"description":380},"Running a Discovery","\u002Fdocs\u002Fdiscovery\u002Frunning-a-discovery","docs\u002F3.discovery\u002F3.running-a-discovery","Step-by-step guide to creating and running your first network discovery in Open-AudIT, including advanced options and scheduling.",{"title":382,"path":383,"stem":384,"description":385},"Discovery Types","\u002Fdocs\u002Fdiscovery\u002Fdiscovery-types","docs\u002F3.discovery\u002F4.discovery-types","Open-AudIT supports Subnet, Active Directory, and Seed discovery types. Learn when to use each and how they work.",{"title":387,"path":388,"stem":389,"description":390},"How It Works","\u002Fdocs\u002Fdiscovery\u002Fhow-discovery-works","docs\u002F3.discovery\u002F5.how-discovery-works","A detailed look at what Open-AudIT does during a discovery — from Nmap scanning through credential testing, audit script execution, and data processing.",{"title":392,"path":393,"stem":394,"description":395},"Matching Devices","\u002Fdocs\u002Fdiscovery\u002Fmatching-devices","docs\u002F3.discovery\u002F6.matching-devices","How Open-AudIT decides whether a discovered device is new or already exists in the database, and how to configure match rules to avoid duplicates.",{"title":397,"path":398,"stem":399,"children":400,"description":402},"Reporting","\u002Fdocs\u002Freporting","docs\u002F4.reporting\u002F1.index",[401,403,408,413],{"title":397,"path":398,"stem":399,"description":402},"Open-AudIT gives you multiple ways to pull meaningful information out of collected data using Queries, Summaries, and Reports.",{"title":404,"path":405,"stem":406,"description":407},"Queries, Summaries & Reports","\u002Fdocs\u002Freporting\u002Fqueries-summaries-reports","docs\u002F4.reporting\u002F2.queries-summaries-reports","Understand the three types of reporting in Open-AudIT — Queries, Summaries, and Reports — how they differ, and how to use filters and permissions.",{"title":409,"path":410,"stem":411,"description":412},"Creating a Query","\u002Fdocs\u002Freporting\u002Fcreating-a-query","docs\u002F4.reporting\u002F3.creating-a-query","Learn how to write custom SQL queries in Open-AudIT to extract device information, with examples for common use cases like warranty tracking and open ports.",{"title":414,"path":415,"stem":416,"description":417},"Groups","\u002Fdocs\u002Freporting\u002Fgroups","docs\u002F4.reporting\u002F4.groups","Learn how to use Groups in Open-AudIT to create dynamic collections of devices for filtering reports, building dashboards, and baselining configurations.",{"title":419,"path":420,"stem":421,"children":422,"description":424},"Dashboards","\u002Fdocs\u002Fdashboards","docs\u002F5.dashboards\u002F1.index",[423],{"title":419,"path":420,"stem":421,"description":424},"Configure and customise Open-AudIT dashboards and widgets to create at-a-glance visual overviews of your network environment.",{"title":426,"path":427,"stem":428,"children":429,"description":431},"Administration","\u002Fdocs\u002Fadministration","docs\u002F6.administration\u002F1.index",[430,432,437,442],{"title":426,"path":427,"stem":428,"description":431},"Covers the ongoing administration of Open-AudIT including configuration, user management, permissions, and backup procedures.",{"title":433,"path":434,"stem":435,"description":436},"Configuration","\u002Fdocs\u002Fadministration\u002Fconfiguration","docs\u002F6.administration\u002F2.configuration","Key configuration settings in Open-AudIT covering discovery behaviour, change logging, data retention, and how to edit them.",{"title":438,"path":439,"stem":440,"description":441},"Users, Roles & Orgs","\u002Fdocs\u002Fadministration\u002Fusers-roles-orgs","docs\u002F6.administration\u002F3.users-roles-orgs","Understand Open-AudIT's role-based access control system including users, roles, organisations, LDAP integration, and permission inheritance.",{"title":315,"path":316,"stem":319,"description":311},{"title":444,"path":445,"stem":446,"children":447,"description":449},"Troubleshooting","\u002Fdocs\u002Ftroubleshooting","docs\u002F7.troubleshooting\u002F1.index",[448,450,455],{"title":444,"path":445,"stem":446,"description":449},"General troubleshooting guidance for Open-AudIT covering discovery problems, common errors, and first steps for diagnosing issues.",{"title":451,"path":452,"stem":453,"description":454},"Common Errors","\u002Fdocs\u002Ftroubleshooting\u002Fcommon-errors","docs\u002F7.troubleshooting\u002F2.common-errors","Explanations and solutions for common Open-AudIT error messages including MySQL lock errors, LDAP issues, Apache problems, and license screens.",{"title":456,"path":457,"stem":458,"description":459},"Discovery Problems","\u002Fdocs\u002Ftroubleshooting\u002Fdiscovery-problems","docs\u002F7.troubleshooting\u002F3.discovery-problems","Troubleshoot Open-AudIT discovery issues including devices not found, duplicate records, Nmap problems, stuck queues, and cross-platform auditing.",{"title":461,"path":462,"stem":463,"description":464},"Release Notes","\u002Fdocs\u002Frelease-notes","docs\u002Frelease-notes","What's new in each Open-AudIT release — features, fixes, and improvements.",1779233235337]