TAR backup fails with unspecific RC 2 #821
Jackie78De
started this conversation in
Polls
Replies: 1 comment
-
Either exclude the log files from the backup or stop FHEM before you start the backup |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I try to backup my Raspi 3B+, but the TAR backup fails. Can you please have a look at the output to determine what the problem may be? Any help is appreciated, thank you!
pi@fhem:~ $ sudo raspiBackup.sh -a : -o : -m detailed -t tar
--- RBK0009I: fhem: raspiBackup.sh V0.6.6 (d85a087) started at Thu 26 Dec 17:13: 50 CET 2024.
--- RBK0031I: Checking whether a new version of raspiBackup.sh is available.
--- RBK0080I: ;-) There is a new version 0.6.9 of raspiBackup available for down load. You are running version 0.6.6 and now can use option -U to upgrade your lo cal version.
--- RBK0114I: Visit https://www.linux-tips-and-tricks.de/en/versionhistory/ to r ead about the changes in the new version.
--- RBK0168I: :-D raspiBackup.sh beta version 0.7.0 is available. Any help to te st this beta is appreciated. Just upgrade to the new beta version with option -U . Restore to the previous version with option -V
--- RBK0114I: Visit https://www.linux-tips-and-tricks.de/en/versionhistory/ to r ead about the changes in the new version.
--- RBK0151I: Using backuppath /backup with partition type cifs.
!!! RBK0157W: No services to stop.
--- RBK0036I: Saving partition layout.
41+1 records in
41+1 records out
43838464 bytes (44 MB, 42 MiB) copied, 5.84873 s, 7.5 MB/s
--- RBK0158I: Creating native tar backup "/backup/fhem/fhem-tar-backup-20241226- 171348/fhem-tar-backup-20241226-171348.tar".
--- RBK0085I: Backup of type tar started. Please be patient.
tar: Removing leading
/' from member names tar: Removing leading
/' from hard link targetstar: /opt/fhem/log/MyLWZ-2024-12.log: file changed as we read it
tar: /opt/fhem/logdaily/MyLWZDaily-2024-12-26.log: file changed as we read it
tar: /.ppm/run/5501.sock: socket ignored
tar: /.ppm/run/5503.sock: socket ignored
tar: /.ppm/run/5506.sock: socket ignored
tar: /.ppm/run/5508.sock: socket ignored
tar: /.ppm/run/5502.sock: socket ignored
tar: /.ppm/run/controller.sock: socket ignored
tar: /.ppm/run/5507.sock: socket ignored
tar: /.ppm/run/5505.sock: socket ignored
tar: /.ppm/run/5504.sock: socket ignored
tar: /var/log/fhem/Events-2024-12.log: file changed as we read it
tar: /var/lib/samba/private/msg.sock/785: socket ignored
tar: /var/lib/samba/private/msg.sock/583: socket ignored
tar: /var/lib/samba/private/msg.sock/819: socket ignored
tar: /var/lib/samba/private/msg.sock/816: socket ignored
tar: /var/lib/samba/private/msg.sock/740: socket ignored
tar: /var/lib/samba/private/msg.sock/578: socket ignored
tar: /var/lib/samba/private/msg.sock/579: socket ignored
tar: /var/lib/samba/private/msg.sock/777: socket ignored
tar: /var/lib/samba/private/msg.sock/813: socket ignored
tar: /var/lib/samba/private/msg.sock/794: socket ignored
tar: /var/lib/samba/private/msg.sock/850: socket ignored
tar: /var/lib/samba/private/msg.sock/749: socket ignored
tar: /var/lib/samba/private/msg.sock/852: socket ignored
tar: /var/lib/samba/private/msg.sock/568: socket ignored
tar: /var/lib/samba/private/msg.sock/788: socket ignored
tar: /var/lib/samba/private/msg.sock/829: socket ignored
tar: /var/lib/samba/private/msg.sock/814: socket ignored
tar: /var/lib/samba/private/msg.sock/750: socket ignored
tar: /var/lib/samba/private/msg.sock/595: socket ignored
tar: /var/lib/samba/private/msg.sock/575: socket ignored
tar: /var/lib/samba/private/msg.sock/823: socket ignored
tar: /var/lib/samba/private/msg.sock/800: socket ignored
tar: /var/lib/samba/private/msg.sock/784: socket ignored
tar: /var/lib/samba/private/msg.sock/768: socket ignored
tar: /var/lib/samba/private/msg.sock/585: socket ignored
tar: /var/lib/samba/private/msg.sock/584: socket ignored
tar: /var/lib/samba/private/msg.sock/806: socket ignored
tar: /var/lib/samba/private/msg.sock/793: socket ignored
tar: /var/lib/samba/private/msg.sock/797: socket ignored
tar: /var/lib/samba/private/msg.sock/733: socket ignored
tar: /var/lib/samba/private/msg.sock/582: socket ignored
tar: /var/lib/samba/private/msg.sock/805: socket ignored
tar: /var/lib/samba/private/msg.sock/576: socket ignored
tar: /home/pi/shares/edhomeserver: Cannot open: No such device
tar: /home/pi/.cache/keyring-X4BOK1/control: socket ignored
tar: /home/pi/.cache/pcmanfm-socket--0: socket ignored
tar: Exiting with failure status due to previous errors
??? RBK0021E: Backupprogram for type tar failed with RC 2.
--- RBK0033I: Please wait until cleanup has finished.
--- RBK0043I: Removing incomplete backup in /backup/fhem/fhem-tar-backup-20241226-171348. This may take some time. Please be patient.
--- RBK0049I: Messages saved in /home/pi/raspiBackup.msg.
--- RBK0026I: Debug logfile saved in /home/pi/raspiBackup.log.
--- RBK0010I: fhem: raspiBackup.sh V0.6.6 (d85a087) stopped at Thu 26 Dec 17:30:40 CET 2024 with rc 109.
??? RBK0005E: Backup failed. Check previous error messages for details.
Beta Was this translation helpful? Give feedback.
All reactions