MIS Systems Thread, Problem with batch backup or SIMS.net using DBAttach in Technical; Hi,
I'm trying to create a .bat file to backup the SIMS.net database using the DBAttach facility. I've cribbed the ...
-
3rd July 2007, 03:24 PM #1
- Rep Power
- 0
Problem with batch backup or SIMS.net using DBAttach
Hi,
I'm trying to create a .bat file to backup the SIMS.net database using the DBAttach facility. I've cribbed the dbattach command from someone else's batch file but I've having trouble with the username and password. When I double click my .bat file it just shows me the Database Management Utility screen and when I click connect it says login failed for user Backup. I created user "Backup" using System Manager in SIMS.net and made this user a System Manager. Should I have created this Backup user some other way? Or does this user have to have permissions other than those of a system manager?
Any help appreciated
-
-
IDG Tech News
-
3rd July 2007, 04:10 PM #2 Re: Problem with batch backup or SIMS.net using DBAttach
Isn't there a dedicated backup user?
-
-
3rd July 2007, 07:02 PM #3 Re: Problem with batch backup or SIMS.net using DBAttach
This is our backup script:
Code:
dbattach.exe /user:"backup" /password:"password" /backup /SERVER:"server_name" /DATABASE:"sims" /AUTO
No specific rights for the backup user.
-
-
3rd July 2007, 07:59 PM #4 Re: Problem with batch backup or SIMS.net using DBAttach
We created a dedicated "backup" user (as recommended by Capita) and use a bach file for backing up. One of their KBs explains why they think it's necessary. It isn't compulsory but we thought it more secure to use a limited SIMS user account since the password is in plain text. We also put the batch file in an area where only admins have access to.
Our batch file is scheduled to run over night.
I also make a copy of the Docstorage folder at the same time so that there's always a matched pair if we need to restore.
HBJB
-
-
4th July 2007, 09:54 AM #5
- Rep Power
- 0
Re: Problem with batch backup or SIMS.net using DBAttach
Thank you all for your replies. I checked out the capita website for the knowledge base article and found it (KB29316). I followed the instuctions for creating the user and then copied their batch file. All worked fine. Still not sure if the problem was with the user or the batch file itself, but anyway I'm happy as I've got a working backup!
-
-
18th August 2009, 08:48 AM #6 
Originally Posted by
steve
dbattach.exe /user:"backup" /password:"password" /backup /SERVER:"server_name" /DATABASE:"sims" /AUTO
Shouldn't the Server part have read - Server_name\Instance_name?
EDIT - Sorry just saw the age of this thread....
-
SHARE:
Similar Threads
-
By ndavies in forum MIS Systems
Replies: 11
Last Post: 21st November 2007, 04:13 PM
-
By Jawloms in forum MIS Systems
Replies: 2
Last Post: 26th October 2007, 03:17 PM
-
By ajbritton in forum MIS Systems
Replies: 0
Last Post: 24th November 2006, 12:31 PM
-
By Grommit in forum Windows
Replies: 8
Last Post: 28th September 2006, 11:02 PM
-
By Chris in forum Windows
Replies: 4
Last Post: 7th June 2006, 11:56 AM
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules