Backup

Syslog can be a useful tool for debugging MAAS issues. MAAS uses syslog to gather logs from the enlistment, commissioning and deployment processes and proxies them through the rack controllers, which send them to all region controllers.

Quick questions you may have:

Path

Syslog data is kept in /var/log/maas/rsyslog/<machine-name><yyyy-mm-dd>/messages (/var/snap/maas/common/log/rsyslog/<machine-name><yyyy-mm-dd>/messages when using the snap). Every machine known to MAAS will have corresponding syslogs.

Using a remote syslog server

To add a remote syslog server, click the Settings tab and then click the Network services tab. Scroll down to the Syslog section, where you can add a syslog URL or IP:

Click the Save button to save your changes.

Note that MAAS controllers’ syslogs are not forwarded to the external syslog server – only machine syslog information is forwarded.

See MAAS CLI to learn how to add a remote syslog server using the CLI.

This needs updating for:

  1. How to do backup/restore with the snap (services are different, paths are different, psql is different)
  2. Switch to pg_basebackup in favour of pg_dumpall
  3. Removing 14.04 note