• GilaMonster (3/26/2014)


    You said the production DB has initial size of 15GB, what's the actual size of the data file on disk?

    Edit: Native backups? What's the backup command? What's the restore command?

    15GB

    This is the backup command:

    BACKUP DATABASE [xxxx]

    TO DISK = N'D:\SQLDumps\xxxx_backup_<datetime stamp>.bak'

    WITH NOFORMAT

    , NOINIT

    , NAME = N'xxxx_backup_<datetime stamp>'

    , SKIP

    , REWIND

    , NOUNLOAD

    , COMPRESSION

    , STATS = 10

    This is the restore command:

    RESTORE DATABASE [xxxx]

    FROM DISK = N'E:\Transfer\xxxx_backup_<datetime stamp>.bak' WITH FILE = 1

    , MOVE N'xxxx_dat' TO N'D:\SQLData\xxxx.mdf'

    , MOVE N'xxxx_log' TO N'E:\SQLLogs\xxxx_1.ldf'

    , NOUNLOAD

    , STATS = 10

    Kurt

    Kurt W. Zimmerman
    SR DBA
    Lefrak Organization
    New York, NY

    http://www.linkedin.com/in/kurtwzimmerman