June 29, 2018 at 5:41 am
Hi,
My database size is 250 GB, big size due to filestream data.
How can take database backup and restore without filestream data.
pls advise
Regards
Binu
June 29, 2018 at 5:44 am
June 29, 2018 at 6:35 am
Backup required WITHOUT file stream
can tell script
June 29, 2018 at 6:55 am
binutb - Friday, June 29, 2018 5:41 AMHi,My database size is 250 GB, big size due to filestream data.
How can take database backup and restore without filestream data.pls advise
Regards
Binu
You use partial backup to exclude filestream data - it's documented in this article:
FILESTREAM Overview
Keep in mind that doesn't mean you can restore everything except the filestream data. The restores process become different from the regular restores. Just mentioned that as I thought you had some other posts with trying to reduce a database size with filestream after having removed the filestream documents. This wouldn't be how to accomplish that.
Sue
July 2, 2018 at 12:04 am
Hi,
Anybody can suggest script for take backup and restore database without file stream data.
My database size is 250gb.
I wish to restore the database in the same sever with different database name.
Regards
Binu
July 2, 2018 at 3:09 am
Hi,
I have taken backup FILEGROUP = PRIMARY and successfully restored that data file.
script used for back and restore database as below
-- Take a backup
BACKUP DATABASE NorthPole
FILEGROUP = 'PRIMARY'
TO DISK = 'C:\ArtOfFS\Demos\Chapter8\bak\NorthPolePrimary.bak' GO
-- RestoreRESTORE DATABASE NorthPolePartial
FROM DISK = 'C:\ArtOfFS\Demos\Chapter8\bak\NorthPolePrimary.bak'
WITH RECOVERY,
PARTIAL,
MOVE 'NorthPole' TO 'C:\ArtOfFS\Demos\Chapter8\NorthPolePartial.mdf',
MOVE 'NorthPole_log' TO 'C:\ArtOfFS\Demos\Chapter8\NorthPolePartial_log.ldf'
Database property File tab, File stream entries still exist.
below error when tried to delete file stream entries
Drop failed for DataFile < file stream logical file name> (Microsoft.SqlServer.Sno)
FILESTREAM's file system log record '$Recycle.Bin' under log folder is corrupted ( Microsoft SQL Server, Error:5511)
I want to remove old file stream entries and add new one
Regards
Binu
September 7, 2023 at 7:18 am
This was removed by the editor as SPAM
Viewing 7 posts - 1 through 6 (of 6 total)
You must be logged in to reply to this topic. Login to reply