Skip to content

Commit

Permalink
modified: 安装部署-数据备份与还原
Browse files Browse the repository at this point in the history
  • Loading branch information
2lipan committed Jun 18, 2024
1 parent ab48676 commit 7637086
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/installation/backup_data.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@

cd $backupDir
tar -cvf ms_data_backup.tar ${msDataDir} --exclude=${msDataDir}/kafka --exclude=${msDataDir}/mysql --exclude=${msDataDir}/redis --exclude=${msDataDir}/prometheus
tar -zcvf $backupTarFileName $dumpSqlFile
tar -zcvf $backupTarFileName $dumpSqlFile ms_data_backup.tar
#发送备份文件到远程机器
scp $backupTarFileName $remoteUser@$remoteIp:$remotePath 2>> "error.log"

Expand Down

0 comments on commit 7637086

Please sign in to comment.