statekillo.blogg.se

Sinutrain-machine-configuration-with-commissioning-archive
Sinutrain-machine-configuration-with-commissioning-archive











sinutrain-machine-configuration-with-commissioning-archive
  1. Sinutrain machine configuration with commissioning archive how to#
  2. Sinutrain machine configuration with commissioning archive archive#

Stopping these services will avoid conflicting updates during the remaining backup steps.

Sinutrain machine configuration with commissioning archive how to#

How to stop specific services before backing upĪfter you have dumped your PostgreSQL database, and verified that the dump has finished, you should stop the following four services with the sudo systemctl stop command: Excepting psql, if application_name is empty, you can safely stop the database service. Running sessions, such as pg_dumpall, will appear in the application_name column of the output alongside psql running the above pg_stat_activity query. If you run the above pg_dumpall process in the background, you can ensure this has completed and that there are no other established sessions with the following command: sudo -u postgres psql -c "SELECT * FROM pg_stat_activity" To backup your PostgreSQL database to a file called dump.sql in your home directories, enter the following: sudo -u postgres pg_dumpall -c > ~/dump.sql you are restoring software an identical hardware and network configuration.you have installed MAAS on Ubuntu 18.04 LTS (Bionic).you have installed region and rack controllers on the same machine.This process is described in the following procedure, which involves three assumptions: Prior to stopping services (as described in the next section), export your PostgreSQL database with a database dump. How to prepare PostgreSQL data for backup Other configuration files, such as those used by your network configuration ( /etc/network/interfaces, for example) will need to be backed-up and restored according to your specific deployment requirements. var/snap/maas/common/maas/boot-resources can safely be excluded as this contains images easily re-downloaded within MAAS.

sinutrain-machine-configuration-with-commissioning-archive

  • The configuration files in /var/snap/maas/common/maas/.
  • The configuration files in /snap/maas/current/etc/maas.
  • The following three MAAS components need to be backed-up and restored, on each region and rack controller, to recreate a working environment: How to choose configuration files for backup
  • How to restore the database to normal operation.
  • Sinutrain machine configuration with commissioning archive archive#

    How to archive files to make the backup more efficient.How to stop specific services before backing up.How to prepare PostgreSQL data for backup.How to choose configuration files for backup.Even so, you should know which files and actions are critical – to ensure that you get a clean backup, and further ensure that you can restore it cleanly. MAAS servers are part of your data centre, just like other Linux-based servers, so your current backup and disaster recovery solution should be sufficient to back up your MAAS environment. MAAS currently does not provide specific tools to back up and restore a working MAAS configuration.













    Sinutrain-machine-configuration-with-commissioning-archive