0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Pleasanter(Windows Server)のSQL Serverを定期バックアップする

0
Posted at

基本環境

Pleasanterバージョン:1.5.2.0
Windows Server 2025 Standard 24H2
SQL Server 16.0.1

設定ファイル

ここからDL
https://github.com/Implem/Implem.Pleasanter/blob/net-framework/Implem.Pleasanter/Tools/DbBackup.vbs

SQL Serverがインストールされているサーバーのローカルに保存

ファイル名年月日_時分秒.bak
頭にMyDataBase_ と追加したい場合は

path =       "c:\Backup\MyDataBase_" & _
             Replace(Replace(Replace(Now(), "/", ""), " ", "_"), ":", "") & _
             ".bak"

定期タスク設定

Windowsタスクスケジューラーを起動

基本タスクの作成 > タスクの名前 > トリガー プログラムの開始 > 保存したDbBackup.vbs > 完了

参考記事

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?