临时备份

Posted MrSandstorm

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了临时备份相关的知识,希望对你有一定的参考价值。

传感器上的MAC 0x00 0x12 0x4B 0x00 0x08 0xC6 0xF3 0xEF

新红外码转发器红外上的MAC 0x00 0x12 0x4B 0x00 0x09 0x51 0xB3 0x8D


proxy_gw 00:12:4B:00:07:B9:5B:F0 8070 0x00 0x12 0x4B 0x00 0x07 0xB9 0x5B 0xF0

proxy_gw2 00:12:4B:00:07:B9:5D:42 8084

proxy_gw2_coor 00 12 4B 00 07 B9 5E D7 8109


0x00 0x12 0x4B 0x00 0x07 0xB9 0x5B 0xF0
tail -f /var/log/user.log | grep --line-buffered HJ_Server | grep "0x00 0x12 0x4B 0x00 0x07 0xB9 0x5B 0xF0"

tail -f /var/log/user.log | grep --line-buffered HJ_Server | grep "0x00 0x12 0x4B 0x00 0x08 0xC6 0xF3 0xEF"

tail -f /var/log/user.log | grep --line-buffered HJ_Server | grep "0x00 0x12 0x4B 0x00 0x07 0xB9 0x5E 0xD7"

SAD=0x6E92

tail -f /var/log/user.log | grep HJ_Server | grep "0x00 0x12 0x4B 0x00 0x08 0xC6 0xF3 0xEF"
tail -f /var/log/user.log | grep HJ_Server | grep "0x00 0x12 0x4B 0x00 0x09 0x51 0xB3 0x8D"


传感器上的MAC 0x00 0x12 0x4B 0x00 0x08 0xC6 0xF3 0xEF

新红外码转发器红外上的MAC 0x00 0x12 0x4B 0x00 0x09 0x51 0xB3 0x8D

tail -f /var/log/user.log | grep HJ_Server

tail -f /var/log/user.log | grep --line-buffered HJ_Server | grep "5074"

tail -f /var/log/user.log | grep HJ_Server | grep "0x00 0x12 0x4B 0x00 0x08 0xC6 0xF3 0xEF"

tail -f /var/log/user.log | grep HJ_Server | grep "0x00 0x12 0x4B 0x00 0x09 0x51 0xB3 0x8D"

 

tail -f /var/log/user.log | grep --line-buffered HJ_Server | grep "5072"
tail -f /var/log/user.log | grep --line-buffered HJ_Server | grep "5073"
tail -f /var/log/user.log | grep --line-buffered HJ_Server | grep "5074"

tail -f /var/log/user.log | grep --line-buffered HJ_Server | grep -v "NEW_DEVICES" | grep "5685"
tail -f /var/log/user.log | grep --line-buffered HJ_Server | grep -v "NEW_DEVICES" | grep "5686"
tail -f /var/log/user.log | grep --line-buffered HJ_Server | grep -v "NEW_DEVICES" | grep "5687"

tail -f /var/log/user.log | grep --line-buffered HJ_Server | grep -v "NEW_DEVICES" | grep "cpp:173#" | grep "5072"
tail -f /var/log/user.log | grep --line-buffered HJ_Server | grep -v "NEW_DEVICES" | grep "cpp:173#" | grep "5073"
tail -f /var/log/user.log | grep --line-buffered HJ_Server | grep -v "NEW_DEVICES" | grep "cpp:173#" | grep "5687"

tail -f /var/log/user.log | grep --line-buffered HJ_Server | grep "cpp:173#" | grep "5685"
tail -f /var/log/user.log | grep --line-buffered HJ_Server | grep "cpp:173#" | grep "5686"
tail -f /var/log/user.log | grep --line-buffered HJ_Server | grep "cpp:173#" | grep "5687"

tail -f /var/log/user.log | grep --line-buffered HJ_Server | grep -v "NEW_DEVICES" | grep "5687"


tail -f /var/log/user.log | grep --line-buffered HJ_Server | grep -v "NEW_DEVICES" | grep "0x00 0x12 0x4B 0x00 0x08 0xC6 0xF3 0xEF"

tail -f /var/log/user.log | grep --line-buffered HJ_Server | grep "173#" | grep "5687"

 


!{"arg":{"mac":"00:12:4B:00:07:B9:5E:D7"},"nodeid":"4286","opcode":"DEL_DEVICE", "requester":"HJ_Server"}$ // 李峋 ModbusGW(无排座)

!{"arg":{"mac":"00:12:4B:00:07:B9:5D:42"},"nodeid":"4286","opcode":"DEL_DEVICE", "requester":"HJ_Server"}$ // ModbusGW

!{"arg":{"mac":"00:12:4B:00:07:B9:5B:F0},"nodeid":"4286","opcode":"DEL_DEVICE", "requester":"HJ_Server"}$ // ModbusGW(有线)

以上是关于临时备份的主要内容,如果未能解决你的问题,请参考以下文章

临时备份

Linux From Scratch(LFS11.0)进入 Chroot 构建临时工具 - 清理和备份临时系统

临时记录

Redis的持久化机制-RDB

sh 将MongoDB备份到S3的简单脚本,不会浪费磁盘空间来存储临时文件。还有一种从最新快照恢复的方法。

sh 将MongoDB备份到S3的简单脚本,不会浪费磁盘空间来存储临时文件。还有一种从最新快照恢复的方法。