USE master GO DUMP DATABASE master to '/home/dumps/master.dmp' GO SHUTDOWN
Here we additionaly have stopped the server to make it a little destroyed... Here you can check where the masterdevice exists and how to change its name:
[sap@SAPSybase install]$ ls core.jsa_20161016_210528.1147 core.jsa_20170219_172003.1157 core.jsa_20170309_224222.1180 RUN_SAP01_BS SAP01.log veritas core.jsa_20170219_121910.1154 core.jsa_20170219_173024.1170 core.jsa_20170327_022202.1180 SAP01_BS.log showserver core.jsa_20170219_170522.1147 core.jsa_20170219_180321.1181 RUN_SAP01 SAP01_JSAGENT.log sybhauser [sap@SAPSybase install]$ more RUN_SAP01 #!/bin/sh # # SAP ASE page size (KB): 4k # Master device path: /opt/sap/data/master.dat # Error log path: /opt/sap/ASE-16_0/install/SAP01.log # Configuration file path: /opt/sap/ASE-16_0/SAP01.cfg # Directory for shared memory files: /opt/sap/ASE-16_0 # License properties file: /opt/sap/ASE-16_0/sysam/SAP01.properties # Interfaces file directory: /opt/sap # SAP Adaptive Server Enterprise name: SAP01 # /opt/sap/ASE-16_0/bin/dataserver \ -d/opt/sap/data/master.dat \ -e/opt/sap/ASE-16_0/install/SAP01.log \ -c/opt/sap/ASE-16_0/SAP01.cfg \ -M/opt/sap/ASE-16_0 \ -N/opt/sap/ASE-16_0/sysam/SAP01.properties \ -i/opt/sap \ -sSAP01 \ [sap@SAPSybase install]$ ls /opt/sap/data empty master.dat sybmgmtdb.dat sybsysdb.dat sysprocs.dat tempdbdev.dat [sap@SAPSybase install]$ mv /opt/sap/data/master.dat /opt/sap/data/master.dat.org [sap@SAPSybase install]$ ls /opt/sap/data empty master.dat.org sybmgmtdb.dat sybsysdb.dat sysprocs.dat tempdbdev.datOf course now Sybase cannot start: