Scheduling ASE Data and Log Backup
Hi,
Trying to schedule ASE database backup using Sybase control center but it seems SCC version does not have Task management tab in Administration Console. Is it a configuration which is missing or is the version of SCC for which it is not enabled.
ASE DB version is 15.7 SP 132.
SCC Framework - 3.2.7
ASE Management Agent Plugin - 3.2.8
SCC Management Agent Plugin - 3.2.7
Do I need to upgrade SCC to get the Task Management Tab?
Also what is the procedure to be used to view %log fill for any ASE database.
sp_helpdb or sp_helpsegment does not provide that information. Is there a way to find it out.
We do have enabled dump_transaction for backing up the logs. But I want to figure out %ge log fill before and after execution of dump_transaction.
Please assist with the query.
Thanks,
Subhram
Hi,
As described on offical PDF document of SCC 3.2.7 (Page-305) you could be able back up your database and transaction logs via Sybase Control Center.
http://infocenter.sybase.com/help/topic/com.sybase.infocenter.dc01265.0327/doc/pdf/scc_ase.pdf
Otherwise, you need to check your SCC configuration to understand what is missing. Or you need the look for a Default Backup Server if it is running or not.
Regards,
Emrah KAYA
Similar Messages
-
Hello, everyone
I re-installed my windows XP due to virus with the maxdb data and log files left. After that I reinstalled maxdb 7.6 again. How can I recover the db with the existed data and log ? I did not backup the db. I can not figure out a way. Please help me.
ChuHi Chu,
creating a MaxDB instance from the data- and logvolumes is not difficult, but some requirements have to be fullfilled:
- you still have the parameter file left
- you still know the password of the database manager operator (DBM in OpenSource or CONTROL for SAP instances)
That given, all you've to do is to re-register the database, via the db_create command:
dbmcli -R "
So, let's go for an example.
I've a database called DB77, the dbm operator is called control, password is also control.
I'll drop the database but keep the files (just like you have it ... hopefully) and re-register the database afterwards:
>dbmcli db_enum
OK
DB77 C:sapdbdb77db 7.7.02.16 fast offline
DB77 C:sapdbdb77db 7.7.02.16 slow offline
>dir c:sapdbdataconfig
Datenträger in Laufwerk C: ist Boot
Volumeseriennummer: 08C7-EC59
Verzeichnis von c:sapdbdataconfig
24.03.2008 13:37 <DIR> .
24.03.2008 13:37 <DIR> ..
25.10.2007 14:11 12.739 .M770216
25.10.2007 14:11 97.900 .M770216.pah
25.10.2007 14:11 1.536 .M770216.upc
14.02.2008 02:21 20.579 .M770323
14.02.2008 02:21 201.850 .M770323.pah
14.02.2008 02:21 1.536 .M770323.upc
14.03.2008 02:23 20.795 .UMDB
14.02.2008 02:24 20.795 .UMDB.01
25.10.2007 14:24 20.795 .UMDB.02
14.03.2008 02:23 26 .UMDB.cfg
14.02.2008 02:24 207.625 .UMDB.pah
25.10.2007 14:24 2.048 .UMDB.upc
14.03.2008 09:23 13.405 DB77
13.03.2008 23:51 13.405 DB77.01
11.03.2008 20:10 13.405 DB77.02
14.02.2008 02:21 13.405 DB77.03
14.02.2008 02:17 13.405 DB77.04
24.01.2008 19:06 13.405 DB77.05
11.01.2008 18:57 13.405 DB77.06
31.12.2007 01:40 13.405 DB77.07
26.12.2007 14:40 13.404 DB77.08
26.12.2007 14:20 13.181 DB77.09
26.12.2007 14:01 13.181 DB77.10
14.03.2008 09:23 75 DB77.cfg
02.12.2007 18:24 648 DB77.mmm
11.03.2008 20:16 343.475 DB77.pah
24.03.2008 13:37 2.048 DB77.upc
14.02.2008 02:20 <DIR> install
27 Datei(en) 1.101.476 Bytes
3 Verzeichnis(se), 20.064.083.968 Bytes frei
Ok, the database is currently correctly registered and the parameter file is present. Now let's drop the database:
>dbmcli -d db77 -u control,control db_drop withoutfiles
OK
>dir c:sapdbdataconfig
Datenträger in Laufwerk C: ist Boot
Volumeseriennummer: 08C7-EC59
Verzeichnis von c:sapdbdataconfig
24.03.2008 13:37 <DIR> .
24.03.2008 13:37 <DIR> ..
25.10.2007 14:11 12.739 .M770216
25.10.2007 14:11 97.900 .M770216.pah
25.10.2007 14:11 1.536 .M770216.upc
14.02.2008 02:21 20.579 .M770323
14.02.2008 02:21 201.850 .M770323.pah
14.02.2008 02:21 1.536 .M770323.upc
14.03.2008 02:23 20.795 .UMDB
14.02.2008 02:24 20.795 .UMDB.01
25.10.2007 14:24 20.795 .UMDB.02
14.03.2008 02:23 26 .UMDB.cfg
14.02.2008 02:24 207.625 .UMDB.pah
25.10.2007 14:24 2.048 .UMDB.upc
14.03.2008 09:23 13.405 DB77
13.03.2008 23:51 13.405 DB77.01
11.03.2008 20:10 13.405 DB77.02
14.02.2008 02:21 13.405 DB77.03
14.02.2008 02:17 13.405 DB77.04
24.01.2008 19:06 13.405 DB77.05
11.01.2008 18:57 13.405 DB77.06
31.12.2007 01:40 13.405 DB77.07
26.12.2007 14:40 13.404 DB77.08
26.12.2007 14:20 13.181 DB77.09
26.12.2007 14:01 13.181 DB77.10
14.03.2008 09:23 75 DB77.cfg
02.12.2007 18:24 648 DB77.mmm
11.03.2008 20:16 343.475 DB77.pah
24.03.2008 13:37 2.048 DB77.upc
14.02.2008 02:20 <DIR> install
27 Datei(en) 1.101.476 Bytes
3 Verzeichnis(se), 20.064.083.968 Bytes frei
>dbmcli db_enum
OK
As we see, the database is gone - but due to the withoutfiles flag all files are left in place. Therefore we can reregister the database rightaway:
>dbmcli -R C:sapdbdb77db db_create DB77 control,control
OK
>dbmcli db_enum
OK
DB77 C:sapdbdb77db 7.7.02.16 fast offline
DB77 C:sapdbdb77db 7.7.02.16 slow offline
>dir c:sapdbdataconfig
Datenträger in Laufwerk C: ist Boot
Volumeseriennummer: 08C7-EC59
Verzeichnis von c:sapdbdataconfig
24.03.2008 13:42 <DIR> .
24.03.2008 13:42 <DIR> ..
25.10.2007 14:11 12.739 .M770216
25.10.2007 14:11 97.900 .M770216.pah
25.10.2007 14:11 1.536 .M770216.upc
14.02.2008 02:21 20.579 .M770323
14.02.2008 02:21 201.850 .M770323.pah
14.02.2008 02:21 1.536 .M770323.upc
14.03.2008 02:23 20.795 .UMDB
14.02.2008 02:24 20.795 .UMDB.01
25.10.2007 14:24 20.795 .UMDB.02
14.03.2008 02:23 26 .UMDB.cfg
14.02.2008 02:24 207.625 .UMDB.pah
25.10.2007 14:24 2.048 .UMDB.upc
14.03.2008 09:23 13.405 DB77
13.03.2008 23:51 13.405 DB77.01
11.03.2008 20:10 13.405 DB77.02
14.02.2008 02:21 13.405 DB77.03
14.02.2008 02:17 13.405 DB77.04
24.01.2008 19:06 13.405 DB77.05
11.01.2008 18:57 13.405 DB77.06
31.12.2007 01:40 13.405 DB77.07
26.12.2007 14:40 13.404 DB77.08
26.12.2007 14:20 13.181 DB77.09
26.12.2007 14:01 13.181 DB77.10
14.03.2008 09:23 75 DB77.cfg
02.12.2007 18:24 648 DB77.mmm
11.03.2008 20:16 343.475 DB77.pah
24.03.2008 13:42 2.048 DB77.upc
14.02.2008 02:20 <DIR> install
27 Datei(en) 1.101.476 Bytes
3 Verzeichnis(se), 20.064.083.968 Bytes frei
>dbmcli -d db77 -u control,control db_online
OK
Database reregistered, all files are OK, database online. We're done.
Anyhow, you should in any case perform a backup before you reinstall your machine the next time. I don't know if you've still got all the files I mentioned, but if not - it's not possible to get your database back easily - if at all.
Hope that helps,
Lars -
Scheduling start date and end dates
Hello Gurus,
I am trying to understand the schedule start date and schedule end date functionality in Plant Maintenance. I do understand the basic start and end dates. Currently I set up u201C3.Do not adjust basic dates, dep rqmts to order startu201D and set the scheduling type as u201CForwardsu201D . Please note we donu2019t do any capacity planning or leveling.
So my question is, why the scheduling start date is defaults to the basic start date for forwards and scheduling finish date defaults to basic finish date for backwards ? I tried adding couple of operations and save the work order. It did not change anything in schedule dates.
Do we really need to care about scheduling dates if we donu2019t use capacity planning ?
Please advise
MaheeHi,
As per priority, final dates would be calculated as we will define the duration based on the priprity. Either current date or basic date only applied to Scheduling start date.
You can change the scheduling start date so that based on priority, final date would be calculated.
Regards,
Maheswaran. -
Steps to move Data and Log file for clustered SQL Server
Hi guys
we have Active'passive SQL 2008R2 cluster environment.
looking for steps to move Data and log files from user Database and System Database for SQL Server Clustered Instance.
Currently Data and log files resides on same drive for user and system Databases..
Thanks
Please Mark As Answer if it is helpful. \\Aim To Inspire Rather to Teach A.ShahTry the below link
http://social.msdn.microsoft.com/Forums/sqlserver/en-US/468de435-3432-45c2-a50b-23519cd2686e/moving-the-system-databases-in-a-sql-cluster?forum=sqldisasterrecovery
-Prashanth -
How to stop scheduled ship date and scheduled arrival date from defaulting to sysdate
Hello,
We have a business scenario where we are deriving scheduled ship date and scheduled arrival date outside and then imported in the instance with the order. However we find that the scheduled ship date and scheduled arrival date are defaulting to sysdate. The atp flag is set to N for these items. I have checked the defaulting rules, there is no such defaulting rule set for scheduled ship date or arrival date ( screenshot attached) Please share your thoughts on how can I stop scheduled ship date and arrival date date from defaulting to sysdate ?
Thanks
RajeshHi
Please visit following link. It may be useful.
How to prevent auto default of schedule ship date in sales order form
HTH
sd -
F110 Status - Printing data and log have been deleted
Hi All,
We have an issue with F110 transaction. In the status a message is being displayed as 'Printing data and log have been deleted'. As I am new to Finance, I could not get what that message mean. Can you please explain what could be the reason for this message.
Thank you,Hi Guru's,
I have a similiar issue. Created a check run yesterday and went through all the steps...
- Parameters have been entered
- Payment proposal created
- Payment run has been carried out
- Posting orders 77, generated, 77 completed.
*- Printing Data and log have been deleted *
I can not remember what I click on and it cause this.
Please can someone help and tell me know how can I either re-run this check run I mean the physical checks or how can I go about this and delete this run and re-run from Scratch.
Best Regards,
Yassmen -
How to defrag after Shrinking the data and log every night
OK, my shop has a shrink job that runs every night. It shrinks the data and log files. DBCC SHRINKFILE (filename,1). We have recovery model Simple.
So reading that SHRINK is horrible for the data file because of fragmentation, so looking to stop the daily job. BUt this job has been running everyday for years right after the ETL. We have a big nightly ETL process that (1) truncates several
hundred SQL tables and then BULK INSERT from the AS400 (2) for really large tables we just bring in the last X number of days from the AS400 and insert those records into the SQL table. We have very few indexes, but do have some on the really
large tables. FYI - The SQL Servers are at the clients' sites.
What kind of fragmentation has the SHRINK on the data file caused? how would it affect the ETL, and retrieval of data during the day? how can the fragmentation be fixed?Hello,
Databases suffer from fragmentation on indexes as explained
here, but they suffer from physical fragmentation at the storage level also.
When the shrinking process shrinks a data file and recover space from the disk and the data file needs to grow again as part of your ETL process the new portion of the data file will rarely be contiguous to the rest of the data file on disk, and if this
shrink process happens many times, the data file may be spread among many tracks on the disk. This increases the disk requests required to write data on a fragmented data file and increases disk requests to create new data files. In general, fragmentation
will originate that what should be a simple I/O request has to be broken on many disk requests, making disk activity and performance less predictable and making disk queues larger.
My suggestion is to stop sql server services during maintenance window, defragment disk using the Windows Defrag tool or a third party tool, when finish start SQL Server services again, then defrag indexes on your databases.
Hope this helps.
Regards,
Alberto Morillo
SQLCoffee.com -
Do we need to format data and log files with 64k cluster size for sql server 2012?
Do we need to format data and log files with 64k cluster size for sql server 2012?
Does this best practice still applies to sql server 2012 & 2014?Yes. The extent size of SQL Server data files, and the max log block size have not changed with the new versions, so the guidance should remain the same.
Microsoft SQL Server Storage Engine PM -
Change the Data and Log file locations in livecache
Hi
We have installed livecache in unix systems in the /sapdb mount directory where the installer have created sapdata and sapdblog directories. But the unix team has already created two mount direcotries as follows:
/sapdb/LC1/lvcdata and /sapdb/LC1/lvclog mount points.
While installing livecache we had selected this locations for creating the DATA and LOG volumes. Now they are asking to move the DATA and LOG volumes created in sapdata and saplog directories to these mount points. How to move the data and log file and make the database consistent. Is there any procedure to move the files to the mount point directories and change the pointers of livecahce to these locations.
regards
balaHi Lars
Thanks for the link. I will try it and let u know.
But this is livecache (even it uses MaxDB ) database which was created by
sapinst and morover is there any thing to be adjusted in SCM and as well as
any modification ot be done in db level.
regards
bala -
Updating schedule ship date and arrival date in SO
Hello all,
I want to update the sales orderline based on supplier PO changes.
Can anyone let me know if I can use process order API to update the schedule ship date and arrival date.I have created a seperate procedure inorder to achieve the same which will inturn call oe_order_pub.Process_Line.Now am getting the following error:
SQL_PLSQL_ERROR: N, ROUTINE, MO_GLOBAL.VALIDATE_ORGID_PUB_API, N, ERRNO, -20001, N, REASON, ORA-20001
Any pointers to this is highly appreciated.
Regards,
Sumi.Hi all,
Can anyone let me know if I can use process order API to update the schedule ship date and arrival date.Because sometimes am getting the above mentioned error but now am unable to see any error message but the status is error.
Regards,
Sumi. -
Need FM or Tables to see Process Chain scheduled(future) date and time
Hello Gurus!
Can anybody tell me where/How i can get the Process Chain scheduled(future) date and time..?
I mean, I want to see at what date and time is the PC scheduled for tomarrow/next month etc... Like TBTCO-SDLSTRTDT / TBTCO-SDLSTRTTM along with its Process chain name or PC's Start varient?
I will give the points for all the answers
Bye.. Happy New YearHi Anil,
You can check in SM37 by giving the job name.then you can see when that particular chain is scheduled.
Goto SM37,
Give Job name = *
User name = *
and select job status - ready,scheduled. then F8 (Execute).
Then you can see which job is schduled at what time and date.
Regards,
Lakshman.G -
Full, Differential and log backup or Full and log backup? What to choose?
Hi All,
I have a SQL Server 2012 database of size <1 gb and the data of this db is expected to grow by 100 MB every month (i.e., ~ 1 gb per year). We have to backup this database to Azure Blob storage and data loss of 2 hrs. is accepted. Now can you please suggest
the best database backup policy. The option i have in mind are
1. Full database backup every week followed by differential backup every 2 hrs (or)
2. Full database backup every week followed by differential backup every day followed by transactional log backup every 2 hrs (or)
3. Full database backup every week followed by transactional log backup every 2 hrs
Note: My database is in Full recovery modelWell its bit difficult for us to tell what would be best for you as you only told RPO but did not tell us RTO. I mean in how much time, if disaster strikes, would you like database to be up and running. Backup policy would depend on that
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
Lost all app data and former backups after iTunes 11 update
I just updated to iTunes 11. I'm using Windows 8 Pro x64 and an Apple iPhone 5 32GB. Before the update I made a backup of my iPhone.
So far, so good.
Problems that occured after the update:
1. One Music CD in my library was split into two albums with titles 1-4 and 5-13. I fixed that manually.
2. Available space on my iPhone decreased after the update. I've got an iPhone 5 with 32GB capacity. Before the update and sync with iTunes 11 I had like almost 5GB of empty space. Now it's only 1.31GB. There are not more apps, music, pictures etc. on my iPhone than before the update.
3. All data of apps like balance (budget tool), Momento (diary) is gone! Apps like Dropbox lost their settings.
Hence, I decided to restore the data from the backup I made just before updating to iTunes 11. THIS BACKUP IS GONE!! I'm no IT newbie and I'm an iPhone user since the iPhone 3.
I just wish I would have not updated to iTunes 11. Apple Switzerland's Support was not able to help. They said if the backup is gone, data is lost ;(Empty/corrupt library after upgrade/crash
Hopefully it's not been too long since you last upgraded iTunes, in fact if you get an empty/incomplete library immediately after upgrading then with the following steps you shouldn't lose a thing or need to do any further housekeeping. In the Previous iTunes Libraries folder should be a number of dated iTunes Library files. Take the most recent of these and copy it into the iTunes folder. Rename iTunes Library.itl as iTunes Library (Corrupt).itl and then rename the restored file as iTunes Library.itl. Start iTunes. Should all be good, bar any recent additions to or deletions from your library.
See iTunes Folder Watch for a tool to catch up with any changes since the backup file was created.
When you get it all working make a backup!
If you have synced your device on two separate days then the current state of your device backup will no longer have the stored data for the apps that were removed. If however you have not resynced since noticing the problem then, once the library is restored, it may be possible to restore the device to bring back the missing app data.
tt2 -
GLTRS - Scheduled Finish Date and 2LIS_04_P_MATNR extractor
Hi Experts,
Its a strange situation. I have one process order which is showing GLTRS as 3/3/2009 in AFKO but when I extract this order (after filling up setup table for full load) using 2LIS_04_P_MATNR the record doesnt bring the same date; instead in the field "Scheduled Finish Date" it displays date 2/25/2009.
when I see in Tx COR3 date 2/25/2009 is schedule start date.
Can anyone help me on this?
thanks,
PurvangSame problem here except for field GLTRP. I realize this is old post, but were you able to find solution?
-
Opening .dat and .log files on iOS?
I couldn't be sure which forum to put this under. I'm looking for an app that can open these two file types. Editing is not a requirement.
Its hard to say without knowing the actual format and contents of said files. log files can be plain text. So any Text editor should be able to open them just fine unlesss they log is in some other perhaps binary format. DAT files are usually containers ofr other formats, so without knowng what is in them again its hard to suggest anythng.
What apps have you tried if any?
Maybe you are looking for
-
when i connect my ipod 30gb to my laptop it opens itunes and tells me there is an upate avalible for my ipod. when i try to update it comes up with error 1417. I have tried to restore my ipod to factory settings at it fails with error message 1428. A
-
Re: Difference between function and procedure
Hello Oracles Guru's, I am learning Oracle and I am beginner. My question may be simple and not worth to ask but I am sorry Why we call Procedures as Stored Procedure but we call functions only functions. As per my understanding I think but the objec
-
Release Rejected - Message no. C2039 during Planned Order Conversion
Dear Experts, I was trying to convert a Planned order to Process Order via COR7, and it prompted the following message, Release rejected (check log) - message no C2039. But when I create Process Order manually via COR1 for the same material master an
-
According to Apple Support my G4 is a Digital audio model sold to someone around March 2001. It also states that - 1, it can take the ATI 9600 Pro.- 2, It cannot take the ATI 9600 Pro. Being totally confused, I fitted it in the AGP slot to try it. th
-
Printiing Issue with Brochure Template
I have created a brochure using the Tir-fold brochure in iWork 06. When previewing on the screen it looks great. When I print it I am missing the top and right border on each page. When I export it as a PDF, page one has shifted right so the columns