Creating a Backup job!!

  • Does anybody have an idea on how to create a job( for a list of tables) to backup any data older than 7 days to a backup table and clean up the backup table of any data older than 14 days? Any help would be highly appreciated.:)

  • You can design DTS package (SSIS) to do insert / delete operation and schedule DTS package.

    ---------------------------------------------------
    "Thare are only 10 types of people in the world:
    Those who understand binary, and those who don't."

  • Y, those are pretty simple DML operations, so either create an SP and run it in a job, or paste the query text directly into the job, or create a package. It's pretty straight forward...

    which part are you having trouble with?

    Watch my free SQL Server Tutorials at:
    http://MidnightDBA.com
    Blog Author of:
    DBA Rant – http://www.MidnightDBA.com/DBARant

    Minion Maintenance is FREE:

  • having difficulty in SP or query to carry out this operation.

  • You can also script this stuff out and then put it in to a job. SSIS might be overkill, depending on what you need.

    Please show us some of what you've tried. What is difficult. We like to help, but we're not here to do all the work for you.

Viewing 5 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic. Login to reply