Most Recent Posts
Archiving Old Data Solution
by JamesNT - 06/28/2025 12:06 AM
Need Advice regarding Data Archiving
by JamesNT - 06/28/2025 12:06 AM
Prescription Drug Monitoring Program
by Bert - 06/26/2025 8:25 AM
AI?
by Bert - 06/25/2025 7:52 AM
PRINTING SCHEDULE
by Raj1 - 06/24/2025 9:54 AM
AC Version 12.3
by beagle - 06/15/2025 8:57 PM
A Tale of Woe: Only Partial Backups
by JamesNT - 06/12/2025 3:00 PM
Member Spotlight
DocGene
DocGene
Cumberland, Md
Posts: 1,023
Joined: February 2011
Newest Members
ESMI, It's me, Paradise Family, MedCode, MZ Medical Billi
4,594 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Joined: Aug 2009
Posts: 288
SoloMio Offline OP
Member
OP Offline
Member
Joined: Aug 2009
Posts: 288
So, I'm curious, in creating the backups, are you just automating ACBackup? or some other application? What routine is your script calling? Can't wait to dissect that.


Peter
"1 Doctor, 0 Staff"
Internal Medicine
Joined: Sep 2003
Posts: 12,884
Likes: 34
Member
Offline
Member
Joined: Sep 2003
Posts: 12,884
Likes: 34
The batch file is simply a text file with a series of commands which are executed by command.exe. A batch file .bat or a command file .cmd are used a lot for copying one folder to another folder via xcopy or copy with some variables called swithches.

The batch file has nothing to do with the AC program itself. It simply copies a folder and all of its contents to another location:

xcopy "C:\Program Files\Amazing Charts\" "\\server\acbackup\" /S /Y /H

For SQL you would need something like

Net Stop "SQL Server (AMAZINGCHARTS)" before the copy command line and

Net Start "SQL Server (AMAZINGCHARTS)" after the copy line
Pause

Write the code for time and date stamp is a bit more complicated and write maintenace code is as well.

But, all of the code is on the Internet.


Bert
Pediatrics
Brewer, Maine

Page 2 of 2 1 2

Moderated by  ChrisFNP, DocGene, JBS, Wendell365 

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Who's Online Now
0 members (), 47 guests, and 23 robots.
Key: Admin, Global Mod, Mod
Top Posters(30 Days)
Bert 10
beagle 3
imcffp 3
ESMI 2
Top Posters
Bert 12,884
JBS 2,986
Wendell365 2,366
Sandeep 2,316
ryanjo 2,084
Leslie 2,002
Wayne 1,889
This board is dedicated to the memory of Michael "Indy" Astleford. February 6, 1961 -- April 16, 2019




SiteLock
Powered by UBB.threads™ PHP Forum Software 7.7.5