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. General Programming
  3. C / C++ / MFC
  4. Command

Command

Scheduled Pinned Locked Moved C / C++ / MFC
c++databasehelpquestion
4 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.
  • T Offline
    T Offline
    tanarnelinistit
    wrote on last edited by
    #1

    I have a database, and I would want to create a backup before I delete everything that's in it, but using VC++. So can I issue a comand(when the user clicks new, let's say) that will copy the databse from it's folder to a backup folder? Or what solution would you recommend?

    M 1 Reply Last reply
    0
    • T tanarnelinistit

      I have a database, and I would want to create a backup before I delete everything that's in it, but using VC++. So can I issue a comand(when the user clicks new, let's say) that will copy the databse from it's folder to a backup folder? Or what solution would you recommend?

      M Offline
      M Offline
      Milton Karimbekallil
      wrote on last edited by
      #2

      Backup what kind of database? is it an ms access mdb file or an sql server mdf file or any other type of database? Milton Kb

      T 1 Reply Last reply
      0
      • M Milton Karimbekallil

        Backup what kind of database? is it an ms access mdb file or an sql server mdf file or any other type of database? Milton Kb

        T Offline
        T Offline
        tanarnelinistit
        wrote on last edited by
        #3

        Milton KB wrote:

        Backup what kind of database? is it an ms access mdb file or an sql server mdf file or any other type of database?

        I use sql server mdf.

        M 1 Reply Last reply
        0
        • T tanarnelinistit

          Milton KB wrote:

          Backup what kind of database? is it an ms access mdb file or an sql server mdf file or any other type of database?

          I use sql server mdf.

          M Offline
          M Offline
          Milton Karimbekallil
          wrote on last edited by
          #4

          u can use Sql DMO for backing up sql server db. its a time consuming process which varies depends on the size of the db to be copied. so its better to make the backup once and ync the backup with changes in the actual db in realtime. cheers ..Milton KB

          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