Skip to main content

Backups

TheLike all technology, backing up configuration files and data is paramount, in the case of Knocknoc softwarethe is managed by your operating system, as such updates can be managed within your patching cycleServer and completeAgent control.

locations

Theseto capture are applied by utilizing your relevant package management system, asfound below.

Server

Data resides in two locations; disk and database.

OnFor DebianLinux, the default installation location is /opt/knocknoc/

Ubuntu

For Windows, the default installation location is C:\Program Files (x86)\Knocknoc-Agent\

Within those folders, these sub-folders contain data which should be backed up.

  • "etc/" which contains the Server configuration file(s) 
  • "var/" which contains the Server TLS/SSL keys/certificates and similardatabase variants:

    if
    #using updateSQLite (Prior to November 2025)

Separately, your packagePostgres informationdatabase sudoshould aptbe updatebacked #up. updateIf you are backing up the softwareentire sudoServer aptmachine/VM, installthis --only-upgradeis knocknocnaturally knocknoc-agentcovered. #If restartyou're theusing servicesa ifthird-party theydatabase/database areservice, notensure restartedthat sudois systemctlbacked restartup. knocknoc sudo systemctl restart knocknoc-agent #However if you are usingrunning locally and want to capture the clientdatabase onperiodically, thisuse machineeither sudopg_dump aptor installpg_basebackup.

--only-upgrade knocknoc-client

Agent

OnFor Red Hat / CentOS / Oracle Linux:

# update your package information
sudo yum check-update

# updateLinux, the softwaredefault #installation #location onis older/opt/knocknoc-agent/

systems

For sudo yum update knocknoc-server knocknoc-agent # on newer systems sudo dnf upgrade knocknoc-server knocknoc-agent # restartWindows, the servicesdefault ifinstallation theylocation areis notC:\Program restartedFiles sudo systemctl restart knocknoc-server sudo systemctl restart knocknoc-agent


(x86)\Knocknoc-Agent\

OnWithin Microsoftthose Windowsfolders, -these downloadsub-folders contain data which should be backed up.

Note the top.orchestration Youragent settingsdoes willnot behave retainedan andon-disk the software upgraded without fuss.database.