April 17, 2011 at 6:35 pm
I'm planning to upgrade sql server 2005 to 2008. For now I'm just planning on it. If we use side by side upgrade, we will have to either copy data files to another server, or copy backup files to another server.
They are quite large size files. What are the best way to copy them? Currently, I only know manually use copy then paste to another \\serverB\$D\Data or \\serverB\$D\backup. Any other way of doing that for faster copy?
Thanks
April 17, 2011 at 9:16 pm
Restore from tape maybe?
--Jeff Moden
Change is inevitable... Change for the better is not.
April 18, 2011 at 2:09 am
Jeff Moden (4/17/2011)
Restore from tape maybe?
Of course, if they don't have the tape drive directly connected to the SQL server itself (or SAN, if they're using one) that would just come back to a network transfer under a different name... 🙂
April 18, 2011 at 5:11 am
That, most definitely, would be true. 🙂
--Jeff Moden
Change is inevitable... Change for the better is not.
April 18, 2011 at 7:11 am
I have helped several clients with this and often the fastest mechanism is USB drive(s). If you do have multiple USB 2.0 ports on separate busses on the server you can get good very good transfer rates. Write out your backups to a number of files equal to the USB drive count. If you are at the high end I have even had companies buy cheapo direct attached storage and moved files that way. Sneakernet can be WAY faster than the existing network, and it doesn't affect existing operations either.
Best,
Kevin G. Boles
SQL Server Consultant
SQL MVP 2007-2012
TheSQLGuru on googles mail service
April 18, 2011 at 8:08 am
I had to lookup Sneakernet on Wiki , already anticipating installing something ultra fast on my network;
That one made my day.
Lowell
April 18, 2011 at 10:46 am
The total size files are about 100 gb.
Can I use RoboCopy, never used it before, just heard it is faster?
Do I need to download something in order to run the command, and what is the syntax to copy all the files from one server to another?
Thanks
April 19, 2011 at 1:36 am
I can't see any reason why Robocopy would be any faster than using a normal copy from a command prompt--it's not like it compresses the data it's copying or anything like that! It might be a bit faster than copying using the GUI, but even then, probably not enough of a difference to be worth worrying about.
How big are the files we're talking here, anyway?
April 19, 2011 at 9:35 am
The total size may be around 100gb.
April 19, 2011 at 10:59 am
If you have limited bandwith, you could zip the backup to make it smaller.
Keep in mind, it will take some time to zip and unzip the backup, so this only really saves you time if you have limited bandwidth.
April 19, 2011 at 11:02 am
I think we have the regular bandwith just as other companies have.
Not sure how long it will take to copy 100gb files.
April 19, 2011 at 11:19 am
We're on a rather fast san here (48 1TB drives 15 K rpm.) It would take over 100 minutes to copy 100 GB.
One way to do it is to move the full backup whenever you have time. Then take a diff backup (will be 1-5 GB at the most). Restore those 2 files. Then take a tail log backup and finish the restore with it.
That can also give you extremely small downtime while you do the switch.
April 19, 2011 at 12:34 pm
Thank you. That's a good idea.
What's the difference between transaction log back and log tail backup, so far I have not used log tail backup, when should we use it?
April 19, 2011 at 2:14 pm
The tail backup is a way to say the "final" log backup to get the latest transactions since the diff.
As for compressing the backup, it might be worth spending the 2-8 hours it takes to do that and save some bandwith on the network. It wouldn't be an issue where I work, but it might be where you are...
after that the diff and tlog should just fly on the network in minutes.
April 21, 2011 at 8:43 am
Here's an option I had never heard of. I used to do this manually but this is much better :
There's a way to both take the tail t-log and "shut down" the db at the same time so you're certain to really have everything. Tx gail.!
Viewing 15 posts - 1 through 15 (of 21 total)
You must be logged in to reply to this topic. Login to reply