Closed pobrn closed 1 year ago
It is a missing update on the comment in ioiconf.sh
:
commit 4fb023afecaf5eceeceaaed624bad0ceb5323bd6
Author: Ashar Fuadi <fushar@gmail.com>
Date: Thu Jun 9 13:47:40 2022 +0700
Lower the max file size limit for ioibackup
diff --git a/bin/ioibackup.sh b/bin/ioibackup.sh
index 9dde7dd..7adf149 100755
--- a/bin/ioibackup.sh
+++ b/bin/ioibackup.sh
@@ -24,12 +24,12 @@ echo $$ >> /opt/ioi/run/ioibackup.pid
if [ "$MODE" = "backup" ]; then
cat - <<EOM
-Backing up home directory. Only non-hidden files up to a maximum of 1 MB
+Backing up home directory. Only non-hidden files up to a maximum of 100 KB
in size will be backed up.
EOM
rsync -e "ssh -i /opt/ioi/config/ssh/ioibackup" \
-avz --delete \
- --max-size=1M --bwlimit=1000 --exclude='.*' --exclude='*.pdf' ~ioi/ ioibackup@${BACKUP_SERVER}:
+ --max-size=100K --bwlimit=1000 --exclude='.*' --exclude='*.pdf' :
ioiconf.sh
saysbut
ioibackup.sh
has a limit of 100KiB and says