This question is about the SQL Server 2019.
Scenario: I have a source table, which is partitioned by MonthId (YYYYMM). I also have an archive table of identical structure (except it lives in a different schema).
As the time goes by, the older records from the "source" table are moved to the "archive" table using Partition SWITCH. At the same time all of these records remain on the same filegroup because of the requirement that "Source and target tables must share the same filegroup" https://learn.microsoft.com/en-us/previous-versions/sql/sql-server-2008-r2/ms191160(v=sql.105)
This means that the "cold" records must continue to be backed and restored along with the "active" records. I.e. I cannot take advantage of the capability afforded by the filegroups in terms of being able to backup/restore only the desired filegroups rather than the entire database.
Is there any way to have your cake and eat it too? In other words, to archive "old" records to another "archive" table AND avoid having to repeatedly backup/restore these static records along with the rest of the database?