I had to prepare testing environment with SQL Server 2014 database. On PROD DB has two file group PRIMARY (operational - 50 GB) and STROAGE (archive - 1100 GB).
In TEST environment I have copy of database from 6 months ago, it hasn't got STORAGE filegroup but of course PRIMARY exists.
I need on TEST only PRIMARY filegroup. I've backuped from PROD:
BACKUP DATABASE [base] FILEGROUP = 'PRIMARY' TO DISK = D:\ WITH COMPRESSION
After recovering on TEST
RESTORE DATABASE KW_GRECOS
FILE = 'KW_DBASE',
FILEGROUP = 'PRIMARY'
FROM DISK = 'd:\Backup_2018-01-08 18.50.01.flg'
WITH noRECOVERY
Data base is still in Recovery mode.
What is the simplest method to copy only one filegroup, I want only actual data in tables.