Hallo zusammen,
ich habe bereits seit einiger Zeit das Backup von mehreren Servern auf das QNAP dadurch gemacht, dass ich per crontab ein rsync script starte, und dieses dann alle Daten von den Servern zieht. Das hat lange gut funktioniert, das Script ist also in Ordnung. Seit einigen Wochen funktioniert dies jedoch nicht mehr, wenn das Script per crontab gestartet wird. RSync Ausgaben leite ich in ein Logfile um - das wird zwar erzeugt, hat aber 0kb. Wenn ich mich jedoch per ssh einlogge und das Script von Hand starte, läuft es durch wie es soll. Kann sich darauf jemand einen Reim machen?
Der rsync Aufruf erfolgt prinzipiell so:
Code
rsync -a --no-o --no-g --delete --log-file="$RSYNC_LOG_FILE" --password-file /share/Backup/pwd.pwd rsync://rsync@172.16.1.23/C/ /share/Backup23/C/ >>"$LOG_FILE" 2>&1
rsync infos:
Code
[~] # which rsync
/opt/bin/rsync
[~] # rsync --version
rsync version 3.1.2 protocol version 31
Copyright (C) 1996-2015 by Andrew Tridgell, Wayne Davison, and others.
Web site: http://rsync.samba.org/
Capabilities:
64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
no socketpairs, hardlinks, symlinks, IPv6, batchfiles, inplace,
append, ACLs, xattrs, iconv, symtimes, prealloc
rsync comes with ABSOLUTELY NO WARRANTY. This is free software, and you
are welcome to redistribute it under certain conditions. See the GNU
General Public Licence for details.
[~] # opkg install rsync
Package rsync (3.1.2-1a) installed in root is up to date.
Alles anzeigen
Viele Grüße
Psy