How to determine who performed the last full database dump before cumulative dump

Hello,
ASE 15.7 SP100 allows cumulative backups, and if cumulative dump is tried before a full dump, ASE shows this error:
You cannot execute an incremental dump before a full database dump.
From my experiments, it seems that it does not matter how the full dump is performed (by native isql, or by a 3rd party API). As long as a full dump is done on a database, ASE seems to be keeping track of all the changed pages since the last full dump. So this means that you can perform a full dump using a 3rd party API, and then on isql, if you run a cumulative dump command, the cumulative dump succeeds, which is based on the last full dump by another library!
So, my question is: is there any way to programmatically determine how (by native isql or 3rd party) the last full backup was performed? I believe $SYBASE_HOME/ASE-15_0/dumphist contains this info, but it requires 'enable dump history' to be set first, and I am looking for a solution which does not involve checking a disk file.
Thanks,
Ali

Dear Mr Razib,
I have not explored the feature but ASE autiding might provide you the possibility to access information on past database dumps via SQL.
Apart from that - I am not aware of an SQL interface to the dumphist file (would be nice to have, I agree)
Enabling dump history is definitley highly recommended  (in my opinion) .
There is yet another feature which might help you to prevent an DBA from dumping databases and transactions to various locations.
When you create a DUMP CONFIGURATION and additionally set parameter
        enforce dump configuration
ASE will prevent normal (free style) DUMP commands but enforce the use of an existing dump configuration. The mechanism is not fool proof (nothing prevents from creating yet another dump configuration on the fly) - but at least something.
With kind regards
Tilman Model-Bosch

Similar Messages

  • How to identify who ran the last process chain?

    Hi all,
    How to identify, who ran the last process chain for a PROCESS CHAIN NAME xyz in the production system?
    Thanks

    Hello,
    Go To RSPC1 give your process chain name (Go to  LOG View ) there  you will get Date selectin screen (give This Month and last Month or as per your reqirement) there you can see who ran the process chain with ID.
    Regards,
    Edited by: Subbu_Amar on Oct 13, 2010 5:01 AM

  • How do I get back the last version of FF before FF4.

    I installed FF 4 yesterday and have had nothing but problems since then..first I noticed that some addons were disabled So as a solution I went looking for upgrades to the disabled addons and could not find any, then I noticed that I had limited functions in Facebook and Zinga's apps. and then it sent my Trend Micro AV software into a tailspin..making it over process or process really hard to the point I could hear it....Next after further troubleshooting in a last ditch attempt I decided to do a restore point (bad idea) because now FF does not work at all..I guess I would like to get FF back, but I only want the version I had before FF 4, which was the latest version before FF 4.

    User,
    Firefox 4.0 has a lot more Security updates. You should really think about Security when browsing the web. But if you are sure you want to do this You must first Uninstall Mozilla Firefox, If you have completed this then download the old Firefox Version here: http://www.mozilla.com/en-US/firefox/all-older.html
    fixed link and Firefox 3.5.2 is way too old.

  • HT201441 i just bough a used iphone but looks that it was found and i cant unlock it. its still link to the last user my question is how do i find out who is the last owner so i can unlock it

    i just bough a used iphone but looks that it was found and i cant unlock it. its still link to the last user my question is how do i find out who is the last owner so i can unlock it

    peeweenborre wrote:
    i just bough a used iphone .... its still link to the last user ...
    If you cannot get this information from the seller
    Removing a device from a previous owner’s account
    You need to return the Device for a refund,

  • When I use migration assistant to move all my data from my Macbook Air to my Pro, it uses the last full back up not the last partial back up. The last full backup is two months old though. Both machines are running Mountain Lion. How do I get my latest 1

    Hi
    I need to move my data from a time capsule that backuped my Macbook Air (which has been destroyed by liquid damage) to my Macbook Pro. The Air and the Pro both run Mountain Lion and I have a clean installation on the Macbook Pro.
    I used Migration Assitant to move the data across but while I have back ups of my Air up to 24 hours before it was destroyed, the migration assistant only wishes to migrate data from the last full back up that it finds which is 2 months old.
    Please can you advise how I can restore the latest data to my Macbook Pro.
    Many thanks.

    please let me know the linksys device model number you are using ..

  • Project Server 2010 - Modification date and name of the person who made the last change in the project

    Hello everybody
    I'm with a doubt.
    I got in the business
    environment Project Server 2010 and
    would like to get the publication date,modification
    date and name
    of the person who made
    the last change in
    the project. It is possible
    to doby the native
    resources or is
    there any query in
    SQL Server to perform a
    query of this information.
    Thank you.
    Obrigado por contactar o fórum Microsoft Technet!

    Hi Hezequias,
    You can get the ProjectModifiedDate column in MSP_EPMProject_userView in the Reporting DB where you can
    get the data based on the projectUID. 
    The "last saved" date in the draft DB (be aware that querying in the draft DB is not supported by MS).
    For the "last modified by", I think it is not stored in any place.
    But you can develop custom code upon publishing the project (Event BeforePublish), writing the current
    date and username automatically into a custom enterprise field.
    Hope this helps,
    Guillaume Rouyre, MBA, MCP, MCTS |

  • How to determine who is connected via AFP in WORKGROUP

    I am running a WORKGROUP configuration leopard server on a MP early 2008. Using the server widget I can tell if there are users connected but I have not figured out how to determine Who is connected and how to contact them if I want to reboot the server. Moreover, how do I determine what users are doing? The AFP log is turned off in this config and I can't get it to come on. From the command line I could use serveradmin to find out who is connected but in the workgroup config it is not clear if it is OK to run serveradmin since the GUI counterpart "Server Aministrator" is forbidden unless you upgrade to the advanced config. Does anybody know if the CLI serveradmin is OK to use in the WORKGROUP config or know any other way to determine who connected via AFP and SMB and what files they have open? This semms like a terrible security risk without knowing who is doing what.
    Thanks
    -Chris

    Just in case others have the same question, I have determined that the CLI tools can be used to query the file services without any apparent detrimental effects while using our leopard server 10.5.3 in a workgroup configuration. Hence the names of AFP users can be determined from the command line by:
    sudo serveradmin command afp:command = getConnectedUsers | grep name
    and the smb users can be found with:
    sudo serveradmin command smb:command = getConnectedUsers | grep name
    Hope that helps
    -csl

  • How can I re-install the last version of iPhoto, I hate this new version.

    How can I re-install the last version of iPhoto. I hate this new version "Photos 1.0" which installed yesterday on my iMac. Please help. My operating system is OS X YOSEMITE 10.10.3. THANKS.

    Go to the App Store and check out the Purchases List. If iPhoto is there then it will be v9.6.1
    If it is there, then drag your existing iPhoto app (not the library, just the app) to the trash
    Install the App from the App Store.
    Sometimes iPhoto is not visible on the Purchases List. it may be hidden. See this article for details on how to unhide it.
    http://support.apple.com/kb/HT4928
    One question often asked: Will I lose my Photos if I reinstall?
    iPhoto the application and the iPhoto Library are two different parts of the iPhoto programme. So, reinstalling the app should not affect the Library. BUT you should always have a back up before doing this kind of work. Always.

  • How do I only sync the last 18 months of emails to my mac mail on the macbook?

    How do I only sync the last 18 months of emails to my mac mail on the macbook? It is currently retrieving all emails from the four accounts I am syncing to and filling up space on my macbook.  I can't work out how to set a limit.
    Any help appreciated!

    Imap is designed to synchronize your mail client with the mail server, this the normal result.
    Switch to POP access if you want it to work asynchronously

  • How to determine who has a PDF file open?

    I generate a daily report in PDF format and place the file on a shared server.  The problem arises when I attempt to delete the file (in order to replace with the new version) and someone has the file open.  I end up with two versions of file on she share drive.  The only way to determine which is the current file is due to the date I place at the end of the file name.
    Is there a way to determine who has the file open?  This would eliminate confusion amongst my peers.
    Thank you.

    This is not a feature of Acrobat. You may be able to look at the server logs.

  • How can i find out the last 5 numbers dialed without having the phone

    how can i find out the last 5 numbers dialed without having the phone

    log into your myverizon account,go to detail useage

  • How can i find out the last time a back up to icloud was done

    How can i find out the last time a back up was done to icloud?

    Go to Settings>iCloud>Storage & Backup.  It will be shown just below the Back Up Now button at the bottom.

  • With the new IOS7 I get every email in my inbox. How can I limit to the last 50 like it was before the upgrade?

    With the new IOS7 I get every email in my inbox. How can I limit to the last 50 like it was before the upgrade?

    You can set the pref <b>browser.urlbar.formatting.enabled</b> to <i>false</i> on the <b>about:config</b> page.
    To open the <i>about:config</i> page, type <b>about:config</b> in the location (address) bar and press the "<i>Enter</i>" key, just like you type the url of a website to open a website.<br />
    If you see a warning then you can confirm that you want to access that page.<br />
    *Use the Filter bar at to top of the about:config page to locate a preference more easily.
    *Preferences that have been modified show as bold(user set).
    *Preferences can be reset to the default or changed via the right-click context menu.

  • How to see who deleted the Object

    Hi Gurus
    Would you please advise if some data target or transformation is deleted from the BW system how to know who deleted the objects?
    Thanks

    How to see who deleted the Object

  • How to set focus on the last row of JTextPane

    how to set focus on the last row of JTextPane?
    import javax.swing.*;
    import javax.swing.text.html.*;
    import java.awt.*;
    import java.awt.event.*;
    public class MyGUITest extends JPanel implements ActionListener
    {   public static void main(String[] args)
        {   SwingUtilities.invokeLater(new Runnable()
             {   public void run()
              {    JFrame f = new JFrame("My GUI");
                  MyGUITest GUI = new MyGUITest();
                  GUI.setOpaque(true);
                  f.setContentPane(GUI);
                  f.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                  f.pack();
                  f.setLocationRelativeTo(null);
                  f.setVisible(true);
        JTextPane txtP;
        JButton add;
        HTMLEditorKit hek;
        HTMLDocument hd;
        String txt;
        MyGUITest()
        {     this.setLayout(new BorderLayout());
         this.setPreferredSize(new Dimension(400,200));
         txtP = new JTextPane();
         txtP.setEditable(false);
         txtP.setContentType("text/html");
         txtP.setText("");
         hek = new HTMLEditorKit();
         txtP.setEditorKit(hek);
         hd = new HTMLDocument();
         txtP.setDocument(hd);
         JScrollPane sTxtA = new JScrollPane(txtP);
         add = new JButton("add");
         add.addActionListener(this);
         sTxtA.setBorder(BorderFactory.createTitledBorder(""));
         this.add(sTxtA, BorderLayout.CENTER);
         add(add, BorderLayout.SOUTH);
         new Thread(new Runnable()
         {   public void run()
             {   while(true)
              {   try
                  {     Thread.sleep(100);
                  }catch(InterruptedException ex)
                  {     ex.printStackTrace();
                  appendText("This is <b>HTML</b> text");
                  //add.doClick();
         }).start();
        public void actionPerformed(ActionEvent e)
        {     txt = "<b>asd</b>";
         try
         {   hek.insertHTML(hd, hd.getLength(), txt, 0, 0, null);
         }catch(Exception ex){   ex.printStackTrace();   }
        public void appendText(String txt)
        {     try
         {   hek.insertHTML(hd, hd.getLength(), txt, 0, 0, null);
         }catch(Exception ex){   ex.printStackTrace();   }
    }thanks~

    anIdiot wrote:
    im not sure what is the caret location...So don't youthink you should have looked for it in the API?
    anyway, i want the scroll bar to scrolled down automatically when the output is displayed.
    normally, the scroll bar is scrolled down automatically when a new text is inserted, but it doesnt work on this timeGo through camockr's http://tips4java.wordpress.com/2008/10/22/text-area-scrolling/
    db

Maybe you are looking for