staradmin unload db
in the command prompt. Unloading a database will fetch all data in the database and write out INSERT-statements to a file that, when reapplied, will insert the unloaded data inside a new, empty database. This file is sometimes referred to as a dump.staradmin unload db --allowPartial
.Before.cs
Before.cs
with that of After.cs
staradmin unload --file=data.sql
staradmin reload --file=data.sql
.--allowPartial
flag, i.e. staradmin unload --allowPartial
.