Help Center> SAP NetWeaver> SAP NetWeaver User Guide> Operation> How Do I Back Up and Restore SAP Systems on HUAWEI CLOUD?

How Do I Back Up and Restore SAP Systems on HUAWEI CLOUD?

Prerequisites

You have logged in as user <sapsid>adm and stopped the SAP system and database.

Use the backup tool of your choice and refer to the backup software documentation. You can also use the standard UNIX commands.

You need to back up the following directories and files:

  • All SAP-specific directories:

/usr/sap/<SAPSID>

/usr/sap/trans

<sapmnt>/<SAPSID>

Home directory of user <sapsid>adm

  • All database-specific directories
  • The root file system

Backup File Location

On HUAWEI CLOUD, you could use SFS to store your system backup files. SFS provides high-performance file storage that is scalable on demand. It can be shared with multiple ECSs.

For how to create and mount SFS, see Scalable File Service User Guide.

SAP NetWeaver Backup

Log in as user root.

Manually create a compressed TAR archive that contains all installed files.

Save to file system:

tar -cvf <ARCHIVENAME>.tgz <file_system>

SAP NetWeaver Restoration

If required, you can restore the data that you previously backed up.

Log in as user root.

Go to the location in your file system where you want to restore the backup image.

Restore the data with the following command.

tar -xzf <ARCHIVENAME>.tgz