增量式备份
This commit is contained in:
parent
3ae38dc76a
commit
5c1898dd48
@ -45,6 +45,7 @@ echo "$CURRENT_BINLOG $CURRENT_POSITION" > "last_backup.txt"
|
||||
|
||||
backup_files=()
|
||||
|
||||
cd $backUpPath
|
||||
find "${dbName}-incremental-*.sql.zip" -type f -print0 | while IFS= read -r -d '' file; do
|
||||
file_date=$(stat -c %Y "$file")
|
||||
current_time=$(date +%s)
|
||||
|
Loading…
x
Reference in New Issue
Block a user