2
0
mirror of https://github.com/xcat2/xcat-core.git synced 2025-07-01 18:35:36 +00:00

modify depending on comments

This commit is contained in:
huweihua
2015-12-24 02:58:52 -05:00
parent 0d80c3b85d
commit 785de20325

View File

@ -1,25 +1,25 @@
Backup and Restore xCAT
=======================
It's useful to backup xcat data sometime. For example, you need to change management server and move xcat form one to another, or you need to make backups regularly and restore production environment for any accident. Below section will help you backup and restore xcat data.
Backup xCAT User Data
---------------------
Backup User Data
----------------
Before removing xCAT, recommend to backup xCAT database. It's convenient to restore xCAT management environment in the future if needed. ::
If need to backup xcat database, you can use :doc:`dumpxCATdb </guides/admin-guides/references/man1/dumpxCATdb.1>` command like below. ::
dumpxCATdb -p <path_to_save_the_database>
For more information of on ``dumpxCATdb``, please refer to :doc:`dumpxCATdb </guides/admin-guides/references/man1/dumpxCATdb.1>`.
**[Note]** Maybe you need to dump some environment data for problem report when you hit defect, you can use :doc:`xcatsnap </guides/admin-guides/references/man8/xcatsnap.8>` command like below. ::
xcatsnap -B -d <path_to_save_the_data>
Restore User Data
-----------------
Restore xCAT User Data
----------------------
If need to restore xCAT environment, after :doc:`xCAT software installation </guides/install-guides/index>`, you can restore xCAT DB by data files dumped in the past. ::
If need to restore xCAT environment, after :doc:`xCAT software installation </guides/install-guides/index>`, you can restore xCAT DB using the :doc:`restorexCATdb </guides/admin-guides/references/man1/restorexCATdb.1>` command pointing to the data files dumped in the past. ::
restorexCATdb -p <path_to_save_the_database>
For more information of on ``restorexCATdb``, please refer to :doc:`restorexCATdb </guides/admin-guides/references/man1/restorexCATdb.1>`.