Omlouváme se, informace na této stránce jsou k dispozici pouze anglicky. Použít překladač Přepnout do angličtiny


Automated Safe Shutdown and Startup of FileMaker Server


The customer operated a FileMaker Server on a macOS-based server, which underwent scheduled restarts every Sunday for maintenance purposes. If the system restarted without first properly closing all FileMaker databases, it could result in data corruption. The customer therefore needed to automate a secure shutdown and startup process for the server and databases.

Ensuring safe shutdown of FileMaker Server before system restart

We developed a Python script to gracefully close all FileMaker databases and stop the FileMaker Server. This script was scheduled using the macOS system task scheduler, ensuring it runs automatically every Sunday before the system reboot. Once the server and databases shut down properly, the system performs a safe shutdown with no risk of corruption. The script also reports to monitoring systems, indicating that the outage is intentional and doesn't require an alert.

Process of automated shutdown and safe restart of FileMaker Server using scripts

We also created a second Python script that runs automatically at system startup to verify that the previous shutdown was completed correctly. If everything is in order, the script starts the FileMaker Server and opens all databases automatically. If an issue is detected, the script sends an email alert and keeps the server safely offline so an administrator can manually resolve the situation. Automatic startup is intentionally disabled in this case, since improper shutdowns could cause latent database corruption, which may surface only later—making it critical to prevent such risks in advance.

For another customer in Africa, we also delivered a manual version of this system, where users manually trigger the script via a desktop shortcut before shutdown, due to frequent power outages in the region.

Used technologies

Zaujalo Vás toto řešení?
Kontaktujte nás se svými požadavky a my jej přizpůsobíme přesně Vašim potřebám.

Call us Volejte
nám

+420 608 301 880

Obvykle jsme dostupní v pracovní dny mezi 8. a 18. hodinou

Pokud budete volat z viditelného čísla a nedovoláte se, zavoláme vám zpátky

Let us call you Voláme
zpět

Vyplněním a odesláním tohoto formuláře udělujete 24U s.r.o., IČ: 26152584, se sídlem Zvole u Prahy, Skochovická 88, PSČ 252 45, zapsané v obchodním rejstříku vedeném Městským soudem v Praze, oddíl C, vložka 74920 souhlas s využitím Vašich osobních údajů, které jsou obsaženy ve formuláři, k zasílání obchodních sdělení o nabídkách a novinkách 24U s.r.o. Poskytnutí osobních údajů je dobrovolné. Svůj souhlas můžete kdykoli odvolat. Podrobnosti o nakládání s Vašimi osobními údaji a Vašich právech s tím souvisejících jsou obsaženy v zásadách zpracovávání a ochrany osobních údajů.

Loader Image