What are the challenges you face when working across database platforms? Take the survey


UrsusHorribilisUrsusHorribilis Posts: 22
edited November 21, 2007 10:20PM in SQL Backup Previous Versions
Is the new COPY_ONLY functionality for SQL2005 available in SQB5.2? Thanks


  • Options
    Yes, the COPY_ONLY keyword was introduced in SQL Backup 5.0, and is used in the same way as it would be in a native backup in SQL Server 2005.

  • Options
    Would adding it after the existing WITH statement like below work okay?

    EXECUTE master..sqlbackup N'-SQL "BACKUP DATABASE [Test] TO DISK = ''W:\Test\<database>\<AUTO>.sqb'' WITH COMPRESSION = 2, THREADCOUNT = 4, COPY_ONLY"'

  • Options
    peteypetey Posts: 2,358 New member
    Yes, that would be fine. Like SQL Server, it doesn't matter where you write the COPY_ONLY option, as long as it's after the WITH keyword.
    Peter Yeoh
    SQL Backup Consultant Developer
    Associate, Yohz Software
    Beyond compression - SQL Backup goodies under the hood, updated for version 8
Sign In or Register to comment.