July is our annual ACUF campaign for donations to help offset the cost of the board. Please click the link below for more details.
Amazing Charts User Forum Donation Campaign

Goal $650 Dollars - $600 Received
2025 ACUF Annual July Contributions
Help fund this site.
ACUF Donation
Most Recent Posts
A Tale of Woe: Only Partial Backups
by JamesNT - 09/05/2025 3:29 PM
Need suggestions
by ChrisFNP - 08/27/2025 7:25 PM
Merged Charts
by ChrisFNP - 08/20/2025 3:09 PM
no office note but it was billed
by ChrisFNP - 08/15/2025 1:25 PM
Removing a medication
by ChrisFNP - 08/14/2025 9:30 AM
How to get in touch with tech support
by ChrisFNP - 08/08/2025 10:08 AM
Member Spotlight
Posts: 53
Joined: July 2021
Newest Members
sne787, Dr. Christine Se, ozonr666, ESMI, It's me
4,597 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,899
Likes: 34
Member
Offline
Member
Joined: Sep 2003
Posts: 12,899
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
1 members (JBS), 47 guests, and 29 robots.
Key: Admin, Global Mod, Mod
Top Posters(30 Days)
imcffp 3
JBS 2
Bert 2
beagle 1
Top Posters
Bert 12,899
JBS 2,991
Wendell365 2,367
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