Hi,
I have a production database with some of the bigger tables partitioned.
I need to restore the database into a dev server without some of the filegroups where the old data is, so to keep the database small and the restore quick.
After the restore I am getting some error messages about unavailable filegroup(s) when running queries like "select * from mypartitionedtable".
I need the database without the archive partition and I need this to be transparent to the application as is that filegroup has never been there.
I was thinking of restoring the entire database, then truncating the data which belongs in the archive filegroup and then doing filegroup restore without the archive filegroup.
Any ideas?