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


ACUF Campaign

July is our annual ACUF campaign for donations to help offset the cost of the board. Please click the link below for more details.

Most Recent Posts
Can someone please tell me what is going on here!
by Shrinkrap - 07/04/2025 9:19 AM
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
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
bmdubu
bmdubu
Tampa
Posts: 34
Joined: August 2010
Newest Members
ozonr666, ESMI, It's me, Paradise Family, MedCode
4,595 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
2025 ACUF Annual July Contributions
Help fund this site.
ACUF Donation
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Who's Online Now
1 members (Ruben), 94 guests, and 37 robots.
Key: Admin, Global Mod, Mod
Top Posters(30 Days)
Bert 10
beagle 3
ESMI 2
Raj1 1
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