简体   繁体   中英

SQL Server database backup file (.bak ) file gets corrupted

I have been working on a SQL Server database designing since long now and I have observed that when a .bak file is mailed or kept and downloaded from ftp site, it gets corrupted.

When I try to restore, it gives me 3013 error code with messsage:

"Backup or restore operation terminating abnormally.

I tried RESTORE VERIFYONLY FROM DISK='C:\\abc.bak' as well but it says

VERIFY DATABASE is terminating abnormally.

Any idea why this is happening and also, is there a better way to move the database file from one server to another (I do not have the access to source server)

Thanks in advance.

For FTP make sure that you use binary mode. Did you try to send plain attachment to yourself and compare the results with the files from sent and received email?

As mentioned here

You may need to repair your mdf file first using some tools. There are lot of tool available in the market. There is tool called Restore MS SQL Database which is very useful to repair the mdf files.

The issue might me because of corrupted transaction logs, you may use tool Restore MS SQL Database to repair your corrupted mdf file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM