0

We tried to copy 500GB data to local drive using copy option in SQL management studio but it getting failed after 2 or 3 hours...is there any size limitation to copy?

How much size script file should be if we take for 500 GB database? Please let me know other way to take backup since server have insufficient storage space in c drive?

2
  • How about mounting a remote share for your backup? – Gerald Schneider May 10 '20 at 13:22
  • Yes.... That's the option we have used now for taking compressed backup as suggested by Mr.Peter below – bhuva nesh May 10 '20 at 14:17
0

In SQL Server Management Studio, try the following:

  1. Right-click database > Tasks > Backup...
  2. Check the box that say "Copy-only backup"
  3. On the left pane, select Backup Options and set backup compression to "Compress Backup"

With compression enabled, the database backup file should be much smaller than the original 500 GB. For reference, my 5GB database backed up with compression was 1 GB.

If you have nothing to lose, you can also try reducing the database log file size before proceeding with the backing up:

  1. Right-click database > Properties > Options
  2. Change database Recovery model from Full to Simple
  3. Right-click database > Task > Shrink > Files
  4. Select File Type Log and click OK

Hope this helps!

4
  • Thanks....In above scenario,minimum free space in server should have 250GB. But current server have less then 200GB.. is it possible to make scripts in less size? – bhuva nesh May 10 '20 at 1:36
  • You can backup the database into multiple parts by adding multiple paths to the backup destination. I normally add 5 parts, for example (C:\backup1.bak, C:\backup2.bak, D:\backup3.bak, D:\backup4.bak, D:\backup5.bak) where D:\ is my external hard drive. When you restore the database, all files must be added when you restore, otherwise you can't restore. The point is, you'll still need free space somewhere, it doesn't have be all on 1 drive. – Peter May 10 '20 at 2:10
  • Ok.Thanks. will check and get back if any doubts – bhuva nesh May 10 '20 at 4:28
  • Thanks.... It's successfully restored.... Hope all data should be there – bhuva nesh May 11 '20 at 14:00

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.