2005 last backup and location

Is there a simple query for SQL Server 2005 to list the last time a backup ran for all databases in an instance, including the path where the backup was written too? So just to include database name, last backup date/time, location of backup file(s).

select bs.database_name , bs.backup_start_date, bs.backup_finish_date, bmf.physical_device_name from msdb.dbo.backupset bs inner join msdb.dbo.backupmediafamily bmf
on bs.backup_set_id = bmf.media_set_id
order by bs.backup_finish_date desc
Backupset table in msdb will give you majority of the details but if you need location you need to query backupmediafamily in msdb. check the above query if you want more information just add necessary columns
http://msdn.microsoft.com/en-us/library/ms190284(v=sql.90).aspx
Regards, Ashwin Menon My Blog - http:\\sqllearnings.com

Similar Messages

  • ITunes overwrote data on my iphone now i have lost all my pictures I have taken between the last backup and now.

    I have been trying to contact the support team however my support has expired, I connected my iphone 4s to my computer and it started to sync nothing new, however, when I looked at my phone it actually restored my phone to a previous back up and i have none of my photos/videos I have taken between the last backup and now.
    How can i get these files back off my phone I have tried a number of restore software sites but they only see what was restored to my phone via the back-up from Itunes not the pictures that where taken over the last two weeks.
    Please can anyone help...

    It doesn't do that by itself. You have to manually initiate a restore.
    If you weren't backing up to iCloud and you didn't have Photo Stream on so the photos could upload to the cloud, they're gone. You can't recover them.

  • I have upgrade to IOS 8 and all Fotos are ereased and on my Computer is only the last Backup and there a no Photos now what can i do?

    I have upgrade to IOS 8 and all Fotos are ereased on my Iphone and on my Computer is only the last Backup and there a no Photos now what can i do?

    You really need to try this on a computer, not on the iPad.
    Seeing how what is in the cloud is also on the iPad, if the content is not on the iPad, there is a good chance that the content is lost. But you can try logging into www.icloud.com in a web browser on a computer and log into your account and see if you can get into the Pages app. You may have to sign up for iCloud drive if you didn't do so already. Make SURE you that you read the blurb that will pop up in that window in iCloud for more information.

  • Last backup and backup location query

    Are there any useful queries that will lack last backup information for all databases on an instance, and include a field which shows where the backup was written to (i.e. UNC path).

    hey, you can see my script in technet gallery (It brings you more information.)
    http://gallery.technet.microsoft.com/Show-SQL-Server-Backup-bbc44b1d
    Please Mark This As Answer if it helps to solve the issue
    Tzuri Ben Ezra | My Certifications:
    CompTIA A+ ,Microsoft MCP, MCTS, MCSA, MCITP
    |
    FaceBook: Tzuri FaceBook | vCard:
    Tzuri vCard | 
    Microsoft ID:
    Microsoft Transcript 
     |

  • Is there any way to take these backup fragments from my second to last backup and turn them into a usable backup? iTunes is showing me only the most recent.

    Ok. When I synced today at 5:10PM, it backed up. Somehow, that sync deleted Garageband and all it's data (like the song I've been working on for a month), presumably because it was updated today. Before I realized this, I had synced again (10:02 pm). So iTunes only shows me THAT backup. I can see a bunch of files from the 5:10 backup. Apple told me that you, Obi-wan, the community, are pretty much my only hope. Have one of you guys (or gals) figured out how to do this?
    Turn the quarks of a backup into the atoms of a backup?

    sure pretty simple.  make a backup of your current settings
    http://support.apple.com/kb/HT1766?viewlocale=en_US
    then restore device from old backup you need pics off of
    then import pics to computer
    http://support.apple.com/kb/HT4083
    you may need to save pics to camera roll first
    then restore the new backup and sync pics back to phone via itunes
    Peace, Clyde

  • Recover bookmarks between last time machine backup and reinstallation of OS

    I recently had to reinstall my OS and use a time machine backup from about a month ago. I had bookmarked several pages between the last backup and when I reinstalled my OS. I did not save my bookmarks folder onto a flash drive beforehand (I know, I should have...). Does Firefox save my bookmarks online in a profile anywhere?

    It's early 2011.
    I have been able to purchase the upgrade under my username at the upgrade price. I didn't know that Lion stays under the previous owner's Apple account. I mean I got that when I tried putting the Lion Iso on a bootable drive (for the purpose of bootcamp) it said I needed the username and password of the Lion purchaser, but I went to get my own license then, but it was Mountain Lion at the upgrade price. I didn't think it had anything to do with my backup.
    So looking back, that seems like a warning Apple should have put out for people to be wary of. "Hey, don't buy a laptop from someone and then upgrade, you'll lose everything." That's a load of crap. I thought I had no worries as long as I had a backup. I've never needed a backup, then the one time I thought I was in good hands. Nope, I try to do something, and it takes everything from me. That was a lot of data worth of stuff. 550 Gigs! I was shocked and in complete disbelief the moment I realized what I had done.
    I just don't want to give this up.

  • I changed my LCD last day and now i noticed all my pictures on my phone are gone. I tried to restore the back that I got yesterday but it wont let me because its telling me there is not enough space on my phone!!!

    I changed my LCD last day and now i noticed all my pictures on my phone are gone. I tried to restore the back that I got yesterday but it wont let me because its telling me there is not enough space on my phone!!! That's wierd because I didn't download any app or anything else since my last backup and on the other hand about 3000 pictures are gone, how come there is not enough space left! I also check my usage on my phone and it shows that i have about 7.0 GB pictures!!! BUT my photos is empty! I want my picture back on my phone any solution anyone?

    Thanks for your reply!
    I just called the guy who changed my LCD and asked him what happend, he said there were no pictures on your phone when you gave it to me! i know he is lying tho!
    My apple warranty is over and I have to pay them to get some help over the phone!

  • Time Machine deleted my old backups and crapped out midstream

    I had just gotten my failing hard drive replaced, and restored from Time Machine backup. So far so good.
    So a week later, I wanted to upgrade to Mountain Lion, but figured I should be responsible and run Time Machine backup again before doing the upgrade just in case something goes wrong.
    The Mac has a 4TB drive, which has 2TB free. The backup drive is a 4TB external drive, which has (or had) Time Machine backups going back two years or so. It still had over a TB of space left. I clicked on Backup Now and let it run overnight. I noticed it said "Deleting old backup to make room" or something like that, which I thought was normal.
    I woke up in the morning to find that Time Machine had crapped out in the middle, and said that it couldn't complete. I realized that it had deleted all my old backups. It didn't need to do that, since the only files that had changed would have been less than a GB, and it had over a TB of space to work with.
    It must have thought that everything on the drive had changed since the last backup, and it wanted to backup the entire drive. As such it tried deleting all my old backups! But it failed, and stopped in the middle.
    Now I have a drive that still says there is only 1.2 TB of space on the drive, but I can't see the files! Even with Tinkertool, I can't see anything beyond the one most recent backup.
    Can these files be recovered? I am totally ticked that there isn't some kind of confirmation like "Are you sure you want to delete X?"
    I actually need to have some of these older backups, as they include files that had been deleted before the latest backup that I may need to retrieve. Any hard drive experts out there? Any terminal commands that can make these files accessible, even if I have to retrieve them manually?

    To clarify, this all happened under Snow Leopard as I had said. My profile lists Tiger, since I haven't cared to update my personal profile since using that OS, and in fact I still use Tiger among other versions. I manage a lot of users. And I never got to upgrade to Mountain Lion on this system, as explained in the post above. So I don't see the confusion.
    I don't think the model of Mac makes a difference for this type of problem, but in case it does, the incident was on a 2010 Intel iMac with a 4TB hard drive and 8GB of RAM. I would have mentioned that if this was a problem with hardware specific to the model of Mac. But this is more of a universal issue.
    But to stay on topic, I'm guessing my old backups are toast. But if anybody has any experience with recovering from Time Machine deleting their old backups, I would be happy to hear from them. In the meantime, I am going to try to do some old fashioned file recovery, and see what I can salvage.

  • Data warehouse backups and read only tablespaces

    Hi all,
    I am working on a data warehouse database with following specs:
    Version: Oracle 10.2.0.3 Enterprise
    OS: Solaris
    App: Data warehouse
    We use RMAN to take 'level 0' & 'level 1' backups. We have block change tracking enabled and RMAN backups up data files and archive logs straight to tape.
    I am exploring ways of reducing the 'level 0' backups and was specifically focussing on using read-only tablespaces for this purpose.
    I have often seen it mentioned that a best practice in D/Ws is to store the old static partitions of fact tables in read only tablespaces so as to reduce the backup size.
    In case you have already implemented such a scheme, I would like to know how you have implemented it.
    I am thinking of the following mechanism:
    -- Start using backups at tablespace level rather than 'level 0' at database level.
    -- Record the latest SCNs of all datafiles prior to back up.
    -- If the latest SCN has not changed since last backup and the tablespace is in read only mode then
    -- Check if a backup copy of the tablespace has been done within the recovery window and is accessible.
    -- If the copy exists then don't backup that tablespace, else backup the tablespace.
    -- If the tablespace is read/write then back it up.
    I haven't delved into the low level details, but this seems to be lot of work. So just wanted to know from you if there's any ready made feature which makes all this easier.
    Many thanks in advance.

    Thank you so much for your help.
    Backup optimization was indeed the thing I was looking for. To be honest I had done a bit of RTFM, but I didn't check the advanced user guide.
    Although my specific question has been answered, it would be interesting to know what other things other people are implementing to reduce backups etc.
    I am also thinking of following options:
    -- Turn on index monitoring to get rid of unused indexes.
    -- Stop the backups of 'index' tablespaces.
    -- Archive off old data.
    Any other ideas for reducing DW backup size?
    Many thanks.

  • Time Machine, last backup = none?!?

    Hi,
    Suddenly Time Machine wont recognize my backups anymore.... Yesterday I renamed the TM USB disk from "unknown" to "Time Machine".
    When I wanted to make a new backup, Time Machine told me the latest backup was "None" so I quickly renamed the disk back to "unknown".
    But no TM still wont display my last backup and now TM is making a full backup of ALL my files?!? (about 400GB)...
    How can I fix this please?
    Thank you!

    Unfortunately you discovered that you cannot just simply "rename" your Time Machine volume without it "reformatting" the hard drive itself and erasing all the previous files.  Which is what is has done.  I am afraid at this point you must start from scratch acquring backup files to save for the future.  The old backups are gone.
    Hope this helps

  • Time Machine shows no last backup date or oldest backup date

    Hi,
    Sorry for the long title and if this question has already been posted, a search didn't show it up. I'm running leopard 10.5.6 on my iMac 2.4ghz intel, and the time machine icon in the menu bar has stopped showing the date of the last backup and when I check in sys pref no date info is shown for the most recent of the oldest.
    Anyone have any idea how to cure this.
    Thanks.
    Jez.

    I have been using TM for about a month with a new LaCie d2 Quadra. I do not know how this is calibrated for dates. When I activate TM it shows today. For anything back from there it dates everything January 17, 2009 6:45 PMCDT until it goes back to February. In the spot indicating the latest backup it is Jan 17 09 6:45 PMCDT for today. What do you think is responsible for time and date being the same and the actual backups are dated with the wrong date going back until clicking back in time it's the Jan. date until March 20,2009 January 17,2009 6:45 AMCDT. I tried the com.apple.TimeMachine.plist idea. No change.

  • HT201250 What happens when you select Enter Time Machine to restore from backup and nothing happens?

    I have Time Machine running on my Mac for several years. No need to restore from a back up until today. I can see the time of my last backup and that was late yesterday. But when I press enter Time Machine nothing happens.
    What do I do next?

    See Pondini's TM FAQs for starters.

  • TS3992 Last backup could not be completed

    I am not able to back up my iPhone. The message says, "The last backup could not be completed." That is it. I've restarted my phone. The storage area says, "iCloud storage details are currently unavailable. Try again later."

    If you get the error "Backup not successful" and you've tried deleting the last backup and trying to back up manually without luck, try the following test:   Go to...
    Settings>iCloud>Storage & Backup>manage Storage, tap your device name in the Backups section, then look under Backup options.  Turn off all apps from backup and then do a manual backup.  If that doesn't work, then this post will not help.  If the backup works, then go back to the app list and turn some on and try another backup.  If successful, keep repeating these steps.  If it fails at some point, then try to zero in on the one app that seems to make the backup fail.  (I had this problem and found one app failing, probably due to a corrupt data file.)
    This process will take time, but if a backup works with no app data being used but clearly fails with the original settings, then somewhere in the mix of apps is a "bad" one.

  • When I try to use my iCloud backup it takes forever to backup and then sometimes it says unable to backup

    When I try to use my iCloud backup it takes forever to backup and then sometimes it says unable to backup what do I do

    If you get the error "Backup not successful" and you've tried deleting the last backup and trying to back up manually without luck, try the following test:   Go to...
    Settings>iCloud>Storage & Backup>manage Storage, tap your device name in the Backups section, then look under Backup options.  Turn off all apps from backup and then do a manual backup.  If that doesn't work, then this post will not help.  If the backup works, then go back to the app list and turn some on and try another backup.  If successful, keep repeating these steps.  If it fails at some point, then try to zero in on the one app that seems to make the backup fail.  (I had this problem and found one app failing, probably due to a corrupt data file.)
    This process will take time, but if a backup works with no app data being used but clearly fails with the original settings, then somewhere in the mix of apps is a "bad" one.

  • The last backup could not be completed - iPhone 5 after iOS 7 upgrade

    I'm using iPhone 5 & iPad with Retina Display.
    iCloud backup was used for both devices.
    Now everytime I try to backup manually, it says 'The last backup could not be completed.' after iOS 7 upgrade.
    Auto backup isn't working, either.
    I tried several things like backing up using iTunes then deleting previous backups then turnning iCloud backup again, or turning off Camera Roll in backup option , or holding the power button and home button to reset the device.
    None of them worked yet.
    What should I do?
    I just have noticed that I cannot find iPhone 5 among the products registered with my apple ID below before I was posting.
    Is it concerned with my apple ID or something? Not the devices?

    since i upgraded to iphone 6 have the same issus. that includ in my Ipad - probably something happened wiht the Apple ID.
    nothun is working/ and when i plug the divces to Itunes - it says that "Itunes coulnd not back up iphone/ipad an error accourd.
    can someone help me?!
    I deleted last backups and still nothing.
    i tried to backup with another authrized computer and other network and still nothing!
    thanks ahead!

Maybe you are looking for

  • ICloud Photo Library, some not all photos

    Is there a way to set up to store some photos, or photo albums in iCloud but not all? Seems like it's all or none.

  • What is my Mac and does it have blu-ray?

    I would like to know if my iMac supports blu-ray? It came out before the 2011 model and would also like to know what it is called?

  • [Bug] July 15th update ruined using the PS4 with XBR-55X850C...

    So the new July 15th update for Sony's 2015 Android TVs came with Dualshock 4 integration on the Home Screen and the new Playstation Now app. The bad part is that now it conflicts with using the Dualshock 4 for ONLY Playstation 4, not Playstation Now

  • Upgraded to 10.4.10 and auto connect to last wireless network does not work

    Hi ! just upgraded to 10.4.10 and now every time I boot I have to select my home wireless network to connect. This while I have the option automatic join selected, which worked until version 10.4.9. Anyone else experiencing this ? thanks for your tim

  • ASA load balance per destination

    Hello, I have an ASA with version 8.4.4.1 connected via a switch to two routers and I have two default routes on the ASA pointing to the two routers. The question is : Does the ASA load balance the traffic onto the two routers per-destination or per-