备份 H2 数据库 - 7.3

Talend安装指南

Version
7.3
Language
中文(简体)
Operating system
Mac
Subscription type
订阅
Product
Talend Big Data
Talend Big Data Platform
Talend Data Fabric
Talend Data Integration
Talend Data Management Platform
Talend Data Services Platform
Talend ESB
Talend MDM Platform
Talend Real-Time Big Data Platform
Module
Talend Activity Monitoring Console
Talend Administration Center
Talend Artifact Repository
Talend CommandLine
Talend Data Preparation
Talend Data Stewardship
Talend DQ Portal
Talend ESB
Talend Identity and Access Management
Talend Installer
Talend JobServer
Talend Log Server
Talend MDM Server
Talend MDM Web UI
Talend Repository Manager
Talend Runtime
Talend SAP RFC Server
Talend Studio
Content
安装和升级
Last publication date
2022-10-30

H2 数据库备份的配置参数已默认设置,以便每天进行备份。

如需更改配置,请编辑配置文件: <ApplicationPath>/WEB-INF/classes/configuration.properties

该嵌入式数据库的基于 cron 的备份在全年中每天凌晨 3:45 触发。配置格式为“秒 分 时 日 月 星期几 年”。例如:

  • 0 45 3 ? * * * (默认设置 - 每天凌晨 3:45 触发)

  • 0 45 5 ? * MON-FRI (每个周一、周二、周三、周四和周五凌晨 5:45 触发)

http://www.quartz-scheduler.org/documentation/quartz-2.3.0/tutorials/tutorial-lesson-06.html 提供了更多示例。

其他自动备份在应用程序服务器启动和关闭时执行。

database.embedded.backup.doBackupAtStartup=true
database.embedded.backup.doBackupAtShutdown=true

备份文件存储在以下位置,最多存储 30 个最新备份:<ApplicationPath>/WEB-INF/database/backups