Debt Consolidation - Find jobs - Web directory - Find jobs - Find jobs

PDA

View Full Version : Optigold Backup CMD Files?


davet
Jul 12th 2004, 8:31 pm
Does anyone have an example of the .cmd files they use to pause and backup Optigold when using Filemaker Server 5?

Below is what my CMD file looks like but am not sure if it is pausing the databse correctly. How can I assure that the database is being paused correctly?



if not exist c:\FMBackup goto create
rmdir /s /q c:\FMBackup

:create
mkdir c:\FMBackup
"C:\Program Files\FileMaker\FileMaker Server 5\Fmserver.exe" pause
xcopy "C:\Program Files\FileMaker\FileMaker Server 5\Optigold\*" /s c:\FMBackup
"C:\Program Files\FileMaker\FileMaker Server 5\Fmserver.exe" resume





if not exist c:\Backup\Optigold\Backup0600 goto create2
rmdir /s /q c:\Backup\Optigold\Backup0600

:create2
mkdir c:\Backup\Optigold\Backup0600\
xcopy c:\FMBackup\*.* /s c:\Backup\Optigold\Backup0600\


if not exist d:\Backup\Optigold\Backup0600 goto create3
rmdir /s /q d:\Backup\Optigold\Backup0600

:create3
mkdir d:\Backup\Optigold\Backup0600\
xcopy c:\FMBackup\*.* /s d:\Backup\Optigold\Backup0600\

digitalpoint
Jul 12th 2004, 9:19 pm
Why not just use the backup scheduler that is built into FileMaker Server?

davet
Jul 26th 2007, 6:29 am
What if I am not using Filemaker Server for an install? How do i do a backup if the files are opened in Filemaker Pro?

diob
Jan 13th 2008, 1:19 am
Use backup scheduler.

verticity
Feb 21st 2008, 4:39 am
for bugs I'll reccomend this site:


launchpad (https://launchpad.net/~verticity)

doubler
May 8th 2008, 8:38 pm
it would be really very hard to do it manually, you should use backup scheduler for CMD backup files...