Quantcast
Channel: SCN : Discussion List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 685

Sybase DB Backup using DBACOCKPIT

$
0
0

Hello Experts,

 

I have been trying to start a periodic DB backup using DBACOCKPIT, in Sybase (latest version) on ECC

 

I am using the following script after I am logged into SYBSID

 

isql -Usapsa -X -S<SID>

 

dump database <SID> to "/sybase/<SID>/backups/<SID>_select CONVERT(varchar,GETDATE(),112).dmp" with verify = full, compression = 101

go

 

But the .dmp file generated is named "<SID>_select CONVERT(varchar,GETDATE(),112).dmp" instead of "SID_YYYY-MM-DD.dmp"

 

Please advice how I can get it to generate a backup file in the above format with current date.

 

Thank You.

 

Regards,

 

Faisal.


Viewing all articles
Browse latest Browse all 685

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>