![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
|
I've been charged with backing up an ASE 11.9.2 database running on Redhat AS 2.4.9-e.24, but I know almost nothing about either Sybase or Linux. The box in question has a DAT tape drive on it. I've managed to get the Backup Server process running (why it wasn't I don't know). I then tried adding a disk backup device with sp_addumpdevice "disk", diskbackup, "/opt/sybase-11.9.2/backup" ....snip... Server Message: Number 401802, Severity 2 Server 'SYB_BACKUP', Procedure 'bs_write_header', Line 0: Backup Server: 4.18.2.1: Unsupported device type. The stat() system call returned type '81F7D48' for '' . Refer to your operating system documentation for more details. |
|
sp_helpdevice also shows tapedump1 = /dev/st0 (40MB) and tapedump2 = /dev/st1 (625MB), so I try ....snip... Server Message: Number 405502, Severity 2 Server 'SYB_BACKUP', Procedure 'bs_write_header', Line 0 Backup Server: 4.55.2.1: Device validation error: couldn't open raw device /dev/st0, error: Permission denied |
#2
| ||||
| ||||
|
|
Server Message: Number 404101, Severity 1 Server 'SYB_BACKUP', Procedure 'bs_write_header', Line 0: Backup Server: 4.41.1.1: Creating new disk file /opt/sybase-11.9.2/backup/master200405120739.dmp. Server Message: Number 414102, Severity 2 Server 'SYB_BACKUP', Procedure 'bs_write_header', Line 0: Backup Server: 4.141.2.63: [0] The 'execve' call failed for device '/opt/sybase-11.9.2/backup/master200405120739.dmp' with error number 13 [Permission denied]. Refer to your operating system documentation for further details. |
|
Server Message: Number 404302, Severity 2 Server 'SYB_BACKUP', Procedure 'bs_write_header', Line 0: Backup Server: 4.43.2.2: Couldn't create multibuffering subprocess. |
|
"/opt/sybase-11.9.2/bin/backupserver -SSYB_BACKUP -I/opt/sybase-11.9.2/inter faces -e/opt/sybase-11.9.2/install/backup.log -M/opt/sybase-11.9.2" |
|
After running it, the backupserver process is gone, so I can only assume the multibuffering error kills it and which results in the "Cannot read..." error. |
#3
| |||
| |||
|
|
Finally got it! There was an invalid -M command in the start file |
|
dump database master to "tapedump2" ("tapedump2" being defined as /dev/nst0 at 24GB) |
|
Do I need to prepare the tape somehow (like Atoz The Librarian does in that one episode of Star Trek)? I don't have an Atavacron, and like I said I really don't know much about Linux. Oh, and the tape isn't write protected. |
![]() |
| Thread Tools | |
| Display Modes | |
| |