backup and recovery

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • deviii
    New Member
    • Aug 2007
    • 13

    backup and recovery

    Hello Vb experts

    I have one problem in my project .i used MS-Acess as my Backend.I want to take backup i used the coding

    fsys.CopyFile "D:\jai\db\milk .mdb", "D:\jai\db\Back up\", True

    What is wrong in it? Please any one help me please?It shows the error path not found while i run it.

    Thanking You
    Rathiga
  • fplesco
    New Member
    • Jul 2007
    • 82

    #2
    Originally posted by deviii
    Hello Vb experts

    I have one problem in my project .i used MS-Acess as my Backend.I want to take backup i used the coding

    fsys.CopyFile "D:\jai\db\milk .mdb", "D:\jai\db\Back up\", True

    What is wrong in it? Please any one help me please?It shows the error path not found while i run it.

    Thanking You
    Rathiga
    Hey -

    You've missed the filename of the backup file.
    Code:
     fsys.CopyFile "D:\jai\db\milk.mdb", "D:\jai\db\Backup\milk.mdb", True 
    or
     fsys.CopyFile "D:\jai\db\milk.mdb", "D:\jai\db\Backup\milk_backup.mdb", True

    Comment

    Working...