Backing up .mdf's and .ldf's using hard drive backup utility deleting SQL Server backup devices...

I am a software developer using Windows 8.1, Visual Studio 2013, and SQL Server 2014. I have a number (30+) of SQL Server databases that I use in my development and support activities.
Every time I run a backup (full or incremental) all of the backup devices in my instance of SQL Server 2014 are being deleted. I can add them all back in (a time-consuming and irritating process after about the 5th time), and the very next time I run either
the Acronis Backup and Paragon Hard Drive Backup against the volume (D:) that contains all of the .mdf and .ldf files, all of the backup devices are again deleted.
I hope someone can give me some idea of how to get around this problem or how to eliminate it completely.  Should I not be using these types of backup utilities to copy the .mdf's and .ldf's?  I've just never seen backup devices be deleted from SQL
Server.  I have dumped the contents of the backup devices data within SQL Server and the rows are definitely gone after the either of the backups run.
Thanks in advance for any light you can shed on this problem. It is very time-consuming and seems pretty silly to me -- but it's happening nonetheless.

The last backup location you use is never stored in sys.backup_devices.  That's an instance-wide table for registering shared backup locations, mosly for tape backups in the old days.
Per-database backup history is stored in msdb, and AFAIK the database backup dialog in SSMS is pre-populated with a location from msdb.  It looks like it runs this query
exec sp_executesql N'SELECT
bkpmf.media_family_id AS [ID],
bkpmf.family_sequence_number AS [FamilySequenceNumber],
bkpmf.media_count AS [MediaCount],
bkpmf.logical_device_name AS [LogicalDeviceName],
bkpmf.physical_device_name AS [PhysicalDeviceName],
CASE WHEN bkpmf.device_type > 100 THEN bkpmf.device_type - 100 ELSE bkpmf.device_type END AS [BackupDeviceType],
CAST(CASE WHEN bkpmf.device_type > 100 THEN 1 ELSE 0 END AS bit) AS [IsBackupDevicePermanent],
bkpmf.physical_block_size AS [PhysicalBlockSize]
FROM
msdb.dbo.backupmediaset bkpms
INNER JOIN msdb.dbo.backupmediafamily bkpmf ON bkpmf.media_set_id=bkpms.media_set_id
WHERE
(bkpms.media_set_id=@_msparam_0)',N'@_msparam_0 nvarchar(4000)',@_msparam_0=N'3'
So it's possible that your backup software is purging that table, eg by runningmsdb.dbo.sp_delete_database_backuphistory. 
Or perhaps more likely, your backup software is adding data to the SQL Server backup history that prevents SSMS from pre-populating the backup dialog with your last TSQL backup location.
In any case, you don't need to manually take the bakcups through SSMS every day.  You can just save a script of your backup commands (by hitting the Script button on the backup dialog) and run that.  Or create a SQL agent job to run the script
or use a database maintence plan.
David
David http://blogs.msdn.com/b/dbrowne/

Similar Messages

  • My husband backed up our music and movies onto a hard drive and now all my playlists in my itunes have disappeared, how do I retrieve them back into my itunes library???

    My husband backed up our music and movies onto a hard drive and now all my playlists in my itunes have disappeared, how do I retrieve them back into my itunes library???

    Sounds more like the media was moved.
    Move it back.

  • Back up files from Mac Mini to external hard drive

    how do I back up the files and pictures to External Hard Drive before i Install the newer OSX Snow Leopard. current OSX is Leopard 10.5.8
    any Helpful Tips and Tricks will be appreciated in basic step by step which I am not a Mac Expert.
    Thanks!
    Jay

    Disk Utility can make a bootable copy of OS X onto a properly formatted External HD, but I prefer to use Carbon Copy Cloner because it is easier. Plus not only can you boot from the clone if you run into trouble, but you can continue to use it as part of your normal backup strategy.

  • HT201250 I use Time Machine to back up my entire computer with my external hard drive. I am getting a brand new iMac this month and was wondering what is the process of using this back up to restore my new computer exactly how my old computer was?

    I use Time Machine to back up my entire computer with my external hard drive. I am getting a brand new iMac this month and was wondering what is the process of using this back up to restore my new computer exactly how my old computer was? I want to make sure I will still have various important files on my new computer, like my songs in iTunes, my photos in iPhoto, etc, etc. Thanks so much in advance!

    Welcome to the Apple Support Communities
    When you turn on the new iMac for the first time, Setup Assistant will ask you to restore a backup, so connect the external disk and follow steps to restore all your files to your new iMac. Your new Mac will have the same settings and programs as your old computer.
    In other cases, I would recommend to restore the whole backup without using Migration Assistant or Setup Assistant, but a Late 2012 iMac uses a special OS X build, so the OS X version that you're using on your old Mac won't work on the new one. For more information, see > http://pondini.org/OSX/Home.html

  • Every time I try to back up my Macbook Pro with an external hard drive using Time Machine, I receive the error of "the disk does not have enough space". I have a 500GB hard drive and only 120GB Macbook. It worked fine before the latest Maverick's

    Every time I try to back up my Macbook Pro with an external hard drive using Time Machine, I receive the error of "the disk does not have enough space". I have a 500GB external hard drive and only 120GB Macbook. It worked fine before the latest Maverick's update. Any help would be greatly appreciated.

    My guess would be it has created an entirely new backup of your drive when you upgraded to Mavericks.
    See Here: http://pondini.org/TM/1.html
    And here: http://pondini.org/TM/9.html
    Peruse the whole site. There is a lot of information there.

  • I am not much of a computer technician. I bought a time capsule thinking I could use this for an external hard drive and keep my MAC hard drive free. Was I mistaken? One I back everthing up on the TC, can I delete everything off of my MAC?

    I am not much of a computer technician. I bought a time capsule thinking I could use this for an external hard drive and keep my MAC hard drive free. Was I mistaken? Once I back everything up on the TC, can I delete everything off of my MAC and then use my TC as my hard drive??

    Once I back everything up on the TC, can I delete everything off of my MAC and then use my TC as my hard drive??
    TC was designed to backup your Mac. The TC literature is pretty clear about this:
    If your Mac's hard drive has a problem....it will sooner or later....you can use your backup on the TC to rebuild your Mac.
    But.....if you move all of your data to the TC from your Mac....you only have one version of that data now, and it is on the TC.
    Have you thought about what will happen when....not if....the TC has a problem?  Since the only version of your important data was on the TC, and the TC has failed......you lose all of your data.....because you have no backup.
    A much better plan would be to add a USB or FireWire hard drive and connect it directly to your Mac. Move the data on your Mac over to the hard drive.
    Then, the TC will backup both your Mac and the hard drive.  So, you have original data on on one drive and backups on another drive.
    That would be a minimum backup plan. Most of us have more than one set of backups.

  • I have backed up my disk using Time Machine.  Now I want to delete the backed-up files from my hard drive.  But when I do and reconnect the external hard drive, the files are also deleted on that.  What do I do?

    I have backed up my disk using Time Machine.  I then deleted the back-up files from my MacBook hard drive.
    I then reconnected my external hard drive and find the files I deleted from my hard drive are also deleted from
    my external hard drive.  Can someone tell my what what happened?  I'm confused.

    Hello,
    Time Machine is not a good way to do that, when it eventually needs more room it deletes old Backups to make room.
    If you really want to keep Files but remove them from the Internal Drive, then I'd get another external drive to copy or clone them to that is not used for TM.

  • I am planning on using my time capsule as a network and essentially an external hard drive - not just back up, is this ok?

    I am planning on using my time capsule as a network and essentially an external hard drive - not just back up, is this ok?

    Most users should use the Time Capsule for backups. This assumes that "original" copies of your data are on the computer and backups of this data are stored on the Time Capsule.
    If either the Time Capsule or the hard drive on your computer fails, there are at least copies of your important data on the other drive.
    If you are asking if you can place "original" files on the Time Capsule, do you have a plan to backup those files?
    If the Time Capsule drive has a problem....and your only copy of your important data is on the Time Capsule....you will lose everything.
    If you are asking if this is OK, the answer for most folks would be "no".
    Can you clarify if this is what you are asking?

  • I was just wondering if I can use time capsule with my iphone for both back up and to access the hard drive on the capsule?

    I was just wondering if I can use time capsule with my iphone for both back up and to access the hard drive on the capsule?

    I don't think backup is supported but you may be able to access the TC's internal drive, from the iPhone, with an application like: NetPortal
    Note: I haven't actually tried this app, so if someone else has and was successful in accessing the TC's drive they can certainly chime in.
    Follow-up. Just downloaded and installed this app ... and I can now verify that it, indeed, can access both my TC's internal and externally attached USB HDD.

  • I got a new computer and backed up my iTunes library to an external hard drive.  The external hard drive is not allowing me to access the drive.  Is there a way to transfer the songs from my iPod touch to my new computer?

    I got a new computer and backed up my iTunes library to an external hard drive.  The external hard drive is not allowing me to access the drive.  I no longer have access to the old computer.  Is there a way to transfer the songs from my iPod touch to my new computer?

    That's a bummer, didn't realize the exHD files were corrupt, esp if you have tried from another PC and not just this new computer.
    You can get purchases from the itunes store transferred from an iPod using these directions:
    http://support.apple.com/kb/HT1848?viewlocale=en_US
    If you want everything (meaning non-itunes songs, app data, photos, etc) you need to buy a 3rd-party ipod manager that support iTouch. Here is an iLounge article to start your research:
    http://www.ilounge.com/index.php/articles/comments/copying-music-from-ipod-to-co mputer/P2/

  • Backed up my songs from itunes onto a hard drive and now my playlists in itunes are gone! How do I retrieve them back to the way it was before?

    Help! My husband backed up my songs from itunes onto a hard drive and now my playlists in itunes are gone from my library! How do I retrieve them back to the way it was before?

    Hello Nataroo007,
    Thank you for using Apple Support Communities!
    There is a file in the iTunes library folder that contains your playlist information is the iTunes Library.xml file.
    Try and find the file, usually located in one of these locations depending on your OS:
    Operating System
    Default location of iTunes Folder
    Mac OS X
    /Users/[your username]/Music
    Microsoft Windows XP
    \Documents and Settings\[your username]\My Documents\My Music\
    Microsoft Windows Vista
    \Users\[your username]\Music\
    Microsoft Windows 7
    \Users\[your username]\My Music\
    Then you can import this file to your iTunes Library like this:
    1. Choose File > Library > Import Playlist.
    2. Navigate to the "iTunes Library.xml" file
    3. Windows users: Click Open.
    If your Podcasts list in iTunes is empty after following these steps, learn how to add them back into iTunes.
    Note: information in this post comes from article:
    iTunes: How to re-create your iTunes library and playlists
    http://support.apple.com/kb/HT1451
    Cheers,
    Sterling

  • How can I restore files from a time machine back-up of my iMac to an EXTERNAL hard drive connected to MacBook Pro. Using Migrat

    I would like to restore files from a time machine back-up of my iMac to an EXTERNAL hard drive connected to MacBook Pro. When I tried using Migration Assistant it only gives me my internal hard drive as an option to restore to. The internal hard drive on my macbook isnt large enough to store the files.

    Welcome to Apple Support Communities
    OS X can only restore data to the drive where Time Machine backed up files from.
    If you want to restore files from the Time Machine backup onto an external drive, your only option is to access to the Time Machine drive manually (open a Finder window and choose your Time Machine drive in the Finder sidebar), navigate through its folders and copy the files you want to the external drive

  • When using Time Machine, if I delete items from my computer, will they still be backed up to access later on my external hard drive? In other words, when time machine backs up again, will it delete the files from the back up?

    When using Time Machine, if I delete items from my computer, will they still be backed up to access later on my external hard drive? 
    In other words, when time machine backs up again, will it delete the files from the back up that I have deleted from my computer?

    No, I do not believe so. Time Machine would keep all those now-deleted files in previous backups, and as time goes by those backups might be deleted if you needed room, but it would still keep one backup from each day in last month, as well as one from each week forever, as long as you don't start running out of room, then just the oldest would be deleted to make room if needed.
    I use a backup drive about double the size of my drive to be backed up, so I would guess it will never get to the point where deleted files being replaced by new ones being backed fill up that drive to the point where backups actually have to get deleted.

  • In Process of Backing up 459.29 GB on a external hard drive from my iMac, it backed up 24.87 GB and now has stopped backing up and I have a color pinwheel turning for the past hour... what should I do?

    Help with Time Machine for iMac.... Trying to back up iMac on to 2 TB external Hard Drive... it backed up 24.87 GB or the 459.29 GB and stopped.... now have a pinwheel... should I start over or let it work through?

    Please read and use Time Machine FAQs & Time Machine Troubleshooting. If those do not solve your problem then please repost in the version of OS X you are using. Time Machine is part of OS X therefore you will find the most information for it there. For example if you are using Snow Leopard then use that forum.
    Also when posting it's critical we at least know what version of OS X is installed on your iMac. Please complete your profile in the Your Stuff link above. 

  • MacBook will not start. I have restarted with original CD. I have used Utilities and "no problem" with hard drive. I have reset PRAM. I have tried safe boot. Nothing is work. Gray screen with Apple logo and rotating wheel. Thanks for any suggestions!

    MacBook will not start. I have restarted with original CD. I have used Utilities and "no problem" with hard drive. I have reset PRAM. I have tried safe boot. Nothing is work. Gray screen with Apple logo and rotating wheel. Thanks for any suggestions!

    Snow Leopard is a Mac OS X version. You say that it's the version you have in your Mac (10.6.8). Do a back up of your files, format the hard drive (using Disk Utility) and reinstall again

Maybe you are looking for

  • Va05 open sales order qty

    Hi, When we run the VA05 Transaction it is not showing the open sales order qty as out put. Please help me how can achieve it. we are using 4.7 Thank you.

  • How do I sync an iPhone to a new computer?

    Ok so I have a Mac with my own user account and itunes, iphone and ipad etc. My partner was using her windows laptop for syncing her itunes for her iphone. She has now created a user account on my mac to use instead of her laptop. To enable us to hav

  • Need help on implementing the BADI ME_GUI_PO_CUST

    Hi All, As per my requirement I need to do Enhancement for Unloading point field on PO.This filed will get all the department numbers applicable for the site on the line item. For this I need to Implement the BADI BADI ME_GUI_PO_CUST. The Method whic

  • How can we hide userid & password from browser

    How can we hide the userid,password and connectionstring from the address bar of explorer when we run 9i forms on browser

  • Too many archived logs when trying a backup

    Hello all, I'm having a bit of trouble running a backup script on an Oracle instance (10g1, on Solaris). As a normal DBA practice, I guess the backup should be scheduled and run from the very beginning of using a DB. Sometimes, from various reasons,