Back up and Restore to make a copy of DB on another server
I am trying to make a copy of a database on a dev server. I was going to back up the Prod DB on the Prod Server and Restore it on the Dev Server. When I open the backup dialog, and select a Destination on disk it shows the disk drives on the Prod Server.
These are different than the drives I see on the Dev Server. It doesn't look like I can browse to a directory outside the server. Don't I need a destination that is available to both Servers? How do I set this up? Can I use my desktop machine?
Any advice would be appreciated.
Thanks,
Mike
Create a shared folder on dev server and simply use backup statement and provide disk=\\devserver\backup path.
BACKUPDATABASE Proddb TODISK='\\devserver\backup\Proddb.bak'http://sql-articles.com/articles/general/backup-sql-database-to-remote-location/
Similar Messages
-
My iPod camera won't work. The shutter doesn't open at all. I backed up and restored my iPod but it didn't make it work. Now I'm so mad and confused. Please help.
If you restored to factory settings/new iPod via iTunes (Not via Settings>General>Reset>Erase all Content and Setting) and still have the problem that indicates a hardware problem.
Make an appointment at the Genius Bar of an Apple store..
Apple Retail Store - Genius Bar -
Hi all. I am having problems with my windows PC, i am going to have to wipe the hard drive and reinstall windows.
What is the best way to back up and restore iTunes?
I want to keep all my playlists, music data, such as number of times player etc and which songs are ticked.
I also have a iphone and a ipad, is there anyway to transfer their data and backups?
I don't want the trouble of re-syncing the iphone and ipad apps/music etc.
My library is about 40gb. In the past I have simply copied and pasted the itunes folder (on a portable harddrive), but it never remembers the data listed above and I have always had to re-sync all of my music and apps to iphone and ipad, which are full up with 32gb and would take a considerable amount of time.
Is there any way to do this so my iPhone and iPad think itunes is exactly the same and won't require (wiping and) re-syncing/re-authorising and will carry on as normal.
I would be greatful for any help. Thank you.Copying and later restoring the entire iTunes folder should have you covered. I suspect you did something wrong with the restore phase on your previous attempts.
All your media should be inside your iTunes\iTunes Media folder. If that is not the case then you should consolidate the library. File > Library > Organize Library > Consolidate files. If the option is available you should also use File > Library > Organize Library > Rearrange files in the folder "iTunes Media". If your media folder isn't a subfolder of the main iTunes library folder then see this post.
Backup the library with UserTip. Before you wipe the hard drive deauthorize the computer and make one final update of the backup.
Once you have rebuilt your computer install SyncToy and use the same process to clone the backup copy of your library back into the Music folder of your new profile as ...<User's Music>\iTunes. Then install iTunes and authorize the install of the operating system to your account. Your devices can now be connected and backed up on the new system. They will sync without losing any data.
Keep using SyncToy periodically to keep your backup up to date.
tt2 -
Satellite P750/P755 - Back Up And Restore Windows 7
Hi,
My harddrive is about to fail on my Windows 7 Satellite P750; I have been getting warnings of an impending failure for a month now. I have purchased a new harddrive and it is ready to go, however I am unable to create a backup and restore point. I am getting an error 0x81000037: "Shadow files cannot be read".
Let me give you some of the history of my machine before getting to the issue. Windows 7 came preinstalled on this machine. About a year ago I created a new partition and installed Linux. Linux then took over the boot responsibilities. A couple of weeks ago I deleted the Linux partition. This gave me a problem as the computer was unable to boot. Fortunately I had recently created a back up and restore point, and during the process I was asked if I wanted to create a Windows 7 Home Premium Repair Disc. I was able to use this CD to access a command line tool which made the machine bootable again.
However, I no longer have a hidden boot partition on my machine (at least according to the Disk Management snap-in I don't). I am now getting the above error when I attempt to create a new backup and restore point. I no longer have a copy of the previous back up and restore point (I deleted it to make room for a new one).
From my research, apparently one of the possible causes of the error 0x81000037 is related to the hidden boot partition size. Since i do not have the hidden boot partition I fear that this could be the cause.
There are other possible reasons for this error. For example a virus which anti-virus refuses to allow access to during the back up and restore partition, and junction points in the drives to be backed up which are mounted volumes. I have run a full scan on my computer and cannot find any threats. I have checked my junction points (of which there are a few) and none are mounted drives.
This leads me to suspect that the lack of a boot partition is the problem. I have seen some people in forums suggest that it is best to back up all my data in the traditional manner (already done, since you ask), install the new harddrive and then install Windows 7 again.
So finally, we get to my question!
As Windows 7 came installed on my machine, I believe that I do not have the disks to reinstall it on a new harddrive. Is this correct? Am I able to obtain a copy?
To be honest I wouldn't mind reinstalling Windows on a new harddrive, rather than using a back up and restore point. I have a LOT of programs and rubbish which have accumulated in this one over the last (almost) 3 years.
Thanks for your patience. If there are some specifics which would be helpful, but which I have left out (I am sure there are) please let me know.>As Windows 7 came installed on my machine, I believe that I do not have the disks to reinstall it on a new harddrive. Is this correct? Am I able to obtain a copy?
You did not get any disks because Toshiba provides own recovery disk creator software which is always preinstalled on the new notebooks.
This recovery disk or media creator tool creates Recovery disk which can be used to recover the notebook.
It was a big mistake not to create such disk however, you have a possibility to order such disk here:
http://backupmedia.toshiba.eu/landing.aspx -
It started last month before I ungraded to iOS5. So my network provider advised me to upgrade. It fixed the problem but it happens again after several days. I lose signal then when I do hard reset, signal is back but I can't send or receive SMS or make and receive calls. But from the other end my phone is ringing but nothing is happening to my phone.This is really frustrating! Coz it happens weekly and the only way to fix it is to back-up and restore. Which is a hassle coz it takes me about 3 hours! Please help. My phone is still under warranty but the provider is telling me it might take them 3 months to check and fix.
I think there is a bug with the iOS5 coz it happen when it I upgraded. Before I was quite happy with my iPhone4 but now it has become a source of anxiety and stress. I've received a lot of complaints at work coz they couldn't contact me.Try to set it up as new device without using the last backup: How to back up your data and set up as a new device
-
I have an iPHone 5 64GB with iTunes 11 installed on an 2 yr old HP laptop running Windows 7. I am having sync'ing issues. I am receiving an overcapacity error I have not seen before even though I can manually remove audiobooks I have previously loaded to get the overcapacity down below the available 64GB limit. I have removed most of them now and can get the sync to begin. Not sure if it will actually complete. But now I do not have but a relatively few audio books loaded. I have backed up and restored to see it that helps but am still getting the same overcapacity error. Seems whatever I had included was doubled in an "other" category. Also, in the recent upgrade to iTunes, it takes forever to sync when I change content. Sync'ing takes a lot longer than before. Has anyone else experienced similar performance issues.
Lawrence Finch has previously provided the following helpful info...
"Other" data is real data that you put on your phone by using the built in apps. It is not music, not videos, not pictures and not App Store app data. It is "OTHER" meaning everything that does not fall into these categories. Such as:
email messages and attachments
Reminders
Calendar entries
Contacts
Text messages (*** this can take up a lot of space)
MMS messages and attachments
Genius data
Music cover art
Operating system settings
Safari cache
bookmarks
Game Center status
Music catalog
If you have a lot of text messages stored, that can make "Other" very large. Another problem area is corrupted files. When app and data files become corrupted, they may end up in "Other". To fix that, perform a restore from a recent backup. That prevents corrupt files from showing up. -
I am having problems unlocking my iphone 5. I have received an email from my old provider confirming that the phone is being unlatched and I need to complete the process through itunes. I have backed up and restored but I have not received a message from itunes stating the phone is unlocked. Do I use the old or new sim card while connecting to itunes or does it not matter. I dont know what else to do to finish the unlock?
You can use either, but if you restored to the backup, then you will not see the message. You need to restore the device as new first, then restore the backup. Make sure you can continue with the unlock first. Many of the emails report, "Your unlock has been approved, restore your device in iTunes in 24 hours", or something like that. If it is ready to go, then as I said earlier, restore as new first, and then you should see the confirmation.
-
my bookmaks are disappeared yesterday all of sudden.tried to get back ups by doing restoring from import and back up colum, yet nothing can be processed.
Rather late to mention that it is good practice to keep backups, for instance by following
* [[backing up and restoring bookmarks]]
* and although it must not be regarded as a backup method consider using [[what is firerfox sync|sync]] that is intended to allow you to sync two devices, you then effectivly have a backup on another device.
Make a manual backup of whatever you have now and store it somewhere safe, not in firefox profile or program paths - maybe use the Windows Desktop location. Note unfortunatly the restore process overwrites existing bookmarks.
See also http://kb.mozillazine.org/Lost_bookmarks that article goes into a bit more depth, and is relatively accurate still. (It tends to refer to Firefox 3, there are now more copies of bookmark backups by default for instance in Firefox 7) -
Are Notes and Highlights backed up and restorable?
I want to download some books and mark them up pretty good with notes and highlights but I can't afford for my Ipad to crash and then only be able to restore the clean version of the book. Does anyone know if notes and highlights I make to a book are saved / backed up in case I ever need to restore them upon a crash? thanks!
Yes, they seem to get backed up and restored.
I tried: add a note to a book. Sync the iPad. Remove the book from the iPad by unchecking it in iTunes and syncing. Verify that the book is gone from iBooks. Put it back on the iPad from iTunes, and the note was intact. -
How To: Best way to Back Up and Restore many DBs ?
Hi Forum,
I have 200 databases (SharePoint databases) that are running on one single instance e.g. (Server1\Instance1), and the names of the databases are e.g.: (DB1, DB2, DB3....DB200).
I want to migrate all these 200 databases to another instance e.g. (Server2\Instance2).
Of course, I can use the SSMS to Back Up and Restore the databases, But, For 200 databases, This is quite impractical.
Therefore, I have two questions:
1) Which option is the safest way to Back Up 200 databases which their sizes combined together could be around 80 GB? Using T-SQL or Maintenance Plan? Obviously, I want a process that doesn't hang or fail.
2) I found the script below on: (http://www.mssqltips.com/sqlservertip/1070/simple-script-to-backup-all-sql-server-databases/) - Is it excellent script? Any better script?, Also, Could you please tell me how to keep the exact name of the databases
without any changes at all (Without appending date nor time)?
DECLARE @name VARCHAR(50) -- database name
DECLARE @path VARCHAR(256) -- path for backup files
DECLARE @fileName VARCHAR(256) -- filename for backup
DECLARE @fileDate VARCHAR(20) -- used for file name
-- Back Up Directory
SET @path = 'E:\Backup\'
-- Filename format
SELECT @fileDate = CONVERT(VARCHAR(20),GETDATE(),112)
DECLARE db_cursor CURSOR FOR
SELECT name
FROM master.dbo.sysdatabases
WHERE name NOT IN ('master','model','msdb','tempdb') -- exclude these databases
OPEN db_cursor
FETCH NEXT FROM db_cursor INTO @name
WHILE @@FETCH_STATUS = 0
BEGIN
SET @fileName = @path + @name + '_' + @fileDate + '.BAK'
BACKUP DATABASE @name TO DISK = @fileName
FETCH NEXT FROM db_cursor INTO @name
END
CLOSE db_cursor
DEALLOCATE db_cursor
3) Any script for restoring all these databases from the Backup directory to the new SQL Server instance (Server2\Instance2) ?You would have to develop the script for a single database move, test it thoroughly, then write the dynamic SQL WHILE loop.
At any rate, this appears like a good task for an experienced DBA
and not for a Data Architect.
Here is another example for a dynamic SQL WHILE loop:
http://www.sqlusa.com/bestpractices2008/rebuild-all-indexes/
PowerShell is another alternative:
Copy user databases to a different server with PowerShell
Kalman Toth Database & OLAP Architect
SQL Server 2014 Database Design
New Book / Kindle: Beginner Database Design & SQL Programming Using Microsoft SQL Server 2014 -
I just updated my Iphone 4S to the new software. Ever since I did the update it has been searching for cell service and I am not able to make outgoing calls or get texts. I have tried to back up and restore but it keeps giving me the error message 3002. I tried to click on the error number but there is no info about it. Could someone help?? Thanks
After I upgraded to Mavericks I was also having this message when I tried to update. There was a previous post about this problem which offered this simple solution which worked for me:
b0n0b0
Re: Recently upgraded to Maverick from SnowLeopard. Unable to get updates from App store.
Mar 15, 2014 9:05 AM (in response to Terence Devlin)
Got it! Thanx. What I did was go to my account, check that they had my new ID and Password which they did, then hit reset button. All fixed. -
Backing up and restoring site definitions
Losing your site definitions in Dreamweaver can be a disaster, but it does happen sometimes. The best way to prepare for such an eventuality is to back up your site definitions on a regular basis.
Creating a backup
You can back up all your site definitions in a single operation by selecting Site > Manage Sites. In the dialog box that opens, Shift-click to select all site names, and then click Export.
In Dreamweaver CS6, the Manage Sites dialog box looks like this:
In earlier versions of Dreamweaver, it looks like this:
Dreamweaver asks if you want to include passwords and login details (this is the default option). Whichever option you choose will be applied to all sites, so click Cancel if you want to treat some sites separately, and export your sites in two sets by using Ctrl/Cmd-click to select them.
When you click OK, Dreamweaver asks where you want to export the definitions. Navigate to a suitable location, leave the File name field unchanged, and click Save. Although only one site name is listed in the File name field, Dreamweaver exports all the site definitions as .ste files in a single operation.
NOTE: This process backs up only the details of your sites, such as the location of the root folder, FTP details, and so on. It does not back up the actual files in your site, such as .html (or .php, .asp, .cfm) files, images, and style sheets. It's a good idea to use your normal file backup routine on your actual files from time to time, as well as exporting the site definitions.
Restoring site definitions
In the event of losing your site definitions in Dreamweaver or moving to a new computer, open the Manage Sites dialog box, and use the Import button to navigate to your backup .ste files.
What if I don't have a backup?
Often, if you don't have a backup of .ste files, you need to go through the whole process of re-entering the details for each site manually.
However, you might be able to restore them by using a restore point on Windows or Time Machine in Mac OS X.
On Windows, the site definitions for Dreamweaver CS6 are stored in the Windows Registry at HKEY_CURRENT_USER\Software\Adobe\Common\12.0\Sites.
In Mac OS X, they are at Macintosh HD:<username>:Library:Application Support:Adobe:Common:12.0:Sites:Site Prefs.
In recent versions of Mac OS X, the Library folder is hidden. In the Mac Finder, select Go > Go to Folder, type ~/Library in the search field, and click Go.
Dreamweaver CS5.5 site definitions are in the same location, except use 11.5 instead of 12.0. The numbers for CS4 and CS3 are 10 and 9 (without a decimal fraction) respectively. For earlier versions of Dreamweaver, substitute Macromedia for Adobe, and adjust the number accordingly.
If you don't have a backup of the actual files on your site, download the files from your remote server.Hello,
We are running iPlanet 5.2 Messaging Server and need
to migrate to another (duplicate) 5.2 Messaging
Server. We have all the software installed and the
LDAP user accounts created. Now we just need to move
the existing mail from one server to the other.
I found the Backing Up and Restoring the Message
Store section in the Admin Guide says to back up and
restore your data, Messaging Server provides the
imsbackup and imsrestore utilities.
However I am wondering about the Queue?
Under <instance>/imta/queue
What is the difference between the Message Store
and the Queue? The Message Store is where messages get delivered to, so you can read them.'
The queue is where messages are temporarily stored, pending delivery to wherever they go.
You can use tar, cpio, or what have you for the queue. Stop the server first. . .
You then just restore the files to the new server. No need to restart or anything like that. Just dump the files in, and run
imsimta cache -sync
to tell the MTA to re-read the queue.
Can I just backup and restore the
Queue using tar or cpio?
Thanks in advance for any advice.
Regards,
Tim -
Backing up and restoring X2 iphones - having conflict issues
Hi,
My wife and I have been using the 3gs for 2 years and have now upgraded ;-) I pluged mine into itunes and backed it up, then pluged in my new one and restored and it all works fine.
However when I tried to backup my wifes phone and then restored - it just restored as mine again, so we had 2 new phones with all my details on it!!
So I restored to factory setting on the iphone 4s
I have tried uninstalling Itunes and reinstalling but it still has my phones info on it.
Please can you tell me how to back up and restore my wire iphone and for it not to keep using my phones details ??
Thanks Chris.As long as you are NOT running a production application on Oracle's Hosted site.. You can't really run a scheduler job, since it would usually export stuff to your local server, but you don't have access to that on Oracle's site.. Unless you just want to build a form to output data from your tables, that would push the data down to your workstation, there is no other rel means.. Other hosting companies will allow you to use Sql Developer and such, but then again you are paying to use their site..
Thank you,
Tony Miller
Webster, TX
There are two kinds of pedestrians -- the quick and the dead. -
Backing Up and Restoring the Message Store v.s. the queue
Hello,
We are running iPlanet 5.2 Messaging Server and need to migrate to another (duplicate) 5.2 Messaging Server. We have all the software installed and the LDAP user accounts created. Now we just need to move the existing mail from one server to the other.
I found the Backing Up and Restoring the Message Store section in the Admin Guide says to back up and restore your data, Messaging Server provides the imsbackup and imsrestore utilities.
However I am wondering about the Queue?
Under <instance>/imta/queue
What is the difference between the Message Store
and the Queue? Can I just backup and restore the Queue using tar or cpio?
Thanks in advance for any advice.
Regards,
TimHello,
We are running iPlanet 5.2 Messaging Server and need
to migrate to another (duplicate) 5.2 Messaging
Server. We have all the software installed and the
LDAP user accounts created. Now we just need to move
the existing mail from one server to the other.
I found the Backing Up and Restoring the Message
Store section in the Admin Guide says to back up and
restore your data, Messaging Server provides the
imsbackup and imsrestore utilities.
However I am wondering about the Queue?
Under <instance>/imta/queue
What is the difference between the Message Store
and the Queue? The Message Store is where messages get delivered to, so you can read them.'
The queue is where messages are temporarily stored, pending delivery to wherever they go.
You can use tar, cpio, or what have you for the queue. Stop the server first. . .
You then just restore the files to the new server. No need to restart or anything like that. Just dump the files in, and run
imsimta cache -sync
to tell the MTA to re-read the queue.
Can I just backup and restore the
Queue using tar or cpio?
Thanks in advance for any advice.
Regards,
Tim -
i generally back up and restore my phone every week.. just that i dont have any problem with the network issues. !!
today at 00:46 1st june.. i backed up my iphone and it was perfect...
when i try to restore it.. it is taking 15+ hours .. and that time stays like that for almost 3 hours... it does not happen.
i even called the apple help center. and they said me to install as a new device... and when i said what wil happen to my messages.. they say .. they wont stay.. and wil be deleted.. and all my apps i need to download again..
but earlier i din need to do any of it.!!! it worked really fine .!!!
please help me..!!! i got some important details in this back up.... please help me.!!!Once in a while the restore process seems to mess up. What I don't understand is why you would perform a weekly restore.
At any rate, if you must restore, perform a device reset (settings>general>reset) and then you will have the opportunity to restore from iCloud. Restore a device whenever it no longer works correctly, not just as a matter of maintenance. If it ain't broke, don't fix it.
Maybe you are looking for
-
Weird error message. can anyone help.
i never had a problem burning from my lacie external cd burner. but today i got this error message. the attempt to burn a disc failed. The device is not accessible, probably because it was removed. anyone know what it could be? obvioulsy i didnt unpl
-
I keep my photo files on a separate external hard drive, separate from my laptop hard drive. And I want to be able to use time machine as the back-up system to back up BOTH the computer's hard drive AND the external hard drive.... and i want all of t
-
Passing information between class
Greetings Fellow Developers, I have what I believe to be a simple question but my brain is only thinking in procedural at the moment so I'm in a bit of a fix. I'm working on a midlet and creating an message book application I must pass informatin cla
-
Hi all I keep losing my wireless internet connection. Intermittently, my connection is lost and I get the message that the page cannot be found. I need to repair my wireless connection in order to surf the net after that. Its quite grinding. Her
-
Hi, Anyone knows what I have to do in Solaris 8 for using pppd 4.0? I have added the packege, but when I tried to run pppd, I got "kernel lacks ppp support"........... Thanks, BR. //Steven