
一 |
一键部署OpenClaw 网站备份是出事之后最后悔没做的东西。 The next round of indirect talks between Iran and the United States will take place in Doha, Qatar instead of the usual venue of Vienna, and will occur sometime within the next few days, the Iranian Students’ News Agency reported on Monday.,“It is expected that negotiations over reviving the Joint Comprehensive Plan of Action (JCPOA) will be held in the coming days in Doha by Iran, the US and EU’s delegations,” ISNA indicated in a report on Iranian Ambassador to Qatar Hamidreza Dehghani’s meeting with Qatari Deputy Foreign Minister Abdulaziz al-Khulaifi.,Mohammad Marandi, a media advisor to Iranian nuclear negotiator Ali Bagheri Kani, confirmed to ISNA that the indirect talks, facilitated by the European Union, would take place in the Qatari capital, and said Iran “has chosen Qatar to host the talks because of Doha’s friendly ties with Tehran.”,In a press conference earlier Monday, Iranian Foreign Ministry spokesman Saeed Khatibzadeh confirmed that a new round of talks on the JCPOA would take place this week, and that “one of the countries in the Persian Gulf will host” them. “The ball is in Washington’s court. If they come up with an answer, an agreement would be reached,” he said.,A source told Reuters that US Special Envoy for Iran Robert Malley will arrive in Qatar on Monday, and that the talks could take place Tuesday and Wednesday.,Iran Asks to Join BRICS17:19 GMT,The renewed negotiations, and at a venue besides Vienna, where Iran, other JCPOA members, and the United States have spent over a year discussing the restoration of the 2015 nuclear deal, comes amid media reports of behind-the-scenes agreements on a range of issues of concern to Tehran.,Iran has long insisted that the US remove its illegal sanctions against Tehran and the Islamic Republic’s elite Revolutionary Guard security forces from its ‘Foreign Terrorist Organization’ watch list. Progress in this direction appeared to have been made last week, with Secretary of State Antony Blinken and Secretary of Homeland Security Alejandro Mayorkas issuing a joint notice Thursday announcing the lifting a blanket ban on Iranian nationals who served in the IRGC as part of their military service from entering the US.,On Sunday, Ynet reported that senior Israeli defense officials had broken from Tel Aviv’s long-held opposition to the JCPOA, and expressed support for its revival. The outlet’s sources indicated that Mossad, which successfully lobbied the Trump administration into scrapping the nuclear deal in 2018, continues to oppose the agreement.,Separately on Sunday, Israel’s Channel 12 reported that Tel Aviv had relented on a US-negotiated deal to allow for the delivery of Iranian oil supplies to Syria. If accurate, the report would be a stark break from Israel’s previous policy, which has included efforts to sabotage tankers carrying emergency energy supplies to Syria as the US continues its occupation of the oil-rich third of the war-torn country.,Israel May Agree to ‘US-Brokered Deal’ for Iran Oil to be Shipped to Syria - Media09:40 GMT,Last week, Saeed Khaitibzadeh indicated that Tehran remains committed to JCPOA negotiations, notwithstanding the Biden White House’s pursuit of hostile policies similar to those of its predecessor. “In spite of all American violations and the continuation of Trump’s approach, this train has not yet derailed,” he said. “We are ready for a good, lasting and effectual agreement and consider that all grounds are prepared to achieve it.”。很多人服务器被黑后才发现数据库没备份,几年的内容一夜归零。其实一个shell脚本加一个定时任务就能解决。

二 | 下面这个脚本同时备份MySQL数据库和网站源码,按日期命名,保留最近7天。Linux服务器直接放到/root/backup.sh,Windows可以改成PowerShell版本,或者把Linux脚本放在宝塔面板的Shell终端里执行。
#!/bin/bash
SITE_DIR="/www/wwwroot/yoursite"
DB_NAME="yourdb"
DB_USER="root"
DB_PASS="yourpass"
BACKUP_DIR="/backup/$(date +%Y%m%d)"
mkdir -p $BACKUP_DIR
# 备份数据库
mysqldump -u$DB_USER -p$DB_PASS --single-transaction $DB_NAME | gzip > $BACKUP_DIR/db.sql.gz
# 备份网站文件
tar -czf $BACKUP_DIR/files.tar.gz -C $(dirname $SITE_DIR) $(basename $SITE_DIR)
# 删除7天前的备份
find /backup -maxdepth 1 -type d -mtime +7 -exec rm -rf {} \; 脚本写好之后加一条crontab,每天凌晨3点执行。备份文件建议再同步一份到对象存储,比如阿里云OSS或腾讯云COS,做到异地容灾。 # crontab -e 0 3 * * * /bin/bash /root/backup.sh >> /var/log/backup.log 2>&1 数据来源:MySQL Reference Manual 8.0(mysqldump),Linux crontab官方文档 申请创业报道,分享创业好点子。点击此处,共同探讨创业新机遇!。
Current article:http://gal2pw4.pisezuibanzoukou.cyou/list_8nm0w/m6lna.html
Published on:18:25:58