Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Database & SysAdmin
  3. Database
  4. Automate job schedule

Automate job schedule

Scheduled Pinned Locked Moved Database
databasesql-serversysadminagentic-aixml
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • N Offline
    N Offline
    Neelesh_Rmsi
    wrote on last edited by
    #1

    i have to schedule backup of particular schema objects, using sql server agent jobs. in database there is five schema like schema [a] [a].tbl_a -- Table [a].usp_a --Procedures [a].fn_a -- udf schema[b] [b].tbl_b --Table [b].usp_b --Procedures [b].fn_b --udf where [a] and [b] are the schemas. now i have to schedule full backup of only "[a]" schema objects. And there is only one file group(Primary) for database. using sql server agent job,is it possible or not?

    S 2 Replies Last reply
    0
    • N Neelesh_Rmsi

      i have to schedule backup of particular schema objects, using sql server agent jobs. in database there is five schema like schema [a] [a].tbl_a -- Table [a].usp_a --Procedures [a].fn_a -- udf schema[b] [b].tbl_b --Table [b].usp_b --Procedures [b].fn_b --udf where [a] and [b] are the schemas. now i have to schedule full backup of only "[a]" schema objects. And there is only one file group(Primary) for database. using sql server agent job,is it possible or not?

      S Offline
      S Offline
      SilimSayo
      wrote on last edited by
      #2

      Have you tried googling it?

      1 Reply Last reply
      0
      • N Neelesh_Rmsi

        i have to schedule backup of particular schema objects, using sql server agent jobs. in database there is five schema like schema [a] [a].tbl_a -- Table [a].usp_a --Procedures [a].fn_a -- udf schema[b] [b].tbl_b --Table [b].usp_b --Procedures [b].fn_b --udf where [a] and [b] are the schemas. now i have to schedule full backup of only "[a]" schema objects. And there is only one file group(Primary) for database. using sql server agent job,is it possible or not?

        S Offline
        S Offline
        SilimSayo
        wrote on last edited by
        #3

        Here is suggestion which I have not tried with database backups but I have used from scheduling jobs with the windows scheduler. Create a batch program(text file with DOS commands, and with extension .bat). In the batch program connect to -iSQL and pass to it a .sql file that contains the backup instructions.--> That means you also have to create a .sql file. Now create a schedule in windows scheduler that executes the bat program Windows Scheduler calls mybackup.bat; mybackup.bat calls -isql which in turn calls mybackup.sql. Test the whole thing on test on test database.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups