You are not logged in.
I have rsnapshot set up to run daily via systemd.
I notice that I've been getting weird errors with this (it does seem to be making backups though....):
----------------------------------------------------------------------------
rsnapshot encountered an error! The program was invoked with these options:
/usr/bin/rsnapshot daily
----------------------------------------------------------------------------
ERROR: /usr/bin/rsync returned 0.08984375 while processing /
ERROR: /usr/bin/rsync returned 0.08984375 while processing /run/media/user/some/directory
ERROR: /usr/bin/rsync returned 0.08984375 while processing /run/media/user/some/other/directory
mysqldump: Got error: 1049: "Unknown database 'mydatabase'" when selecting the databaseI don't find anything via Google when searching for "/usr/bin/rsync returned 0.08984375"
Does anyone have any idea why this would be occurring?
Offline
Interestingly enough, this popped up in another thread recently: https://bbs.archlinux.org/viewtopic.php … 0#p1560210
There is a very detailed explanation as to why this happens further in the topic.
EDIT: whether or not it assists you in finding a solution, I don't know.
Last edited by WorMzy (2015-09-16 15:49:05)
Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD
Making lemonade from lemons since 2015.
Online
Exactly the same error here while running a backup. The posted link doesn't really help.
Offline
The posted link seems to offer an explanation of why it happens; it doesn't help in fixing it. But my backups appear to be being done properly, despite the error.
Offline
The error happened here, too. Is the link to the other thread correct? I'm asking, because I only get the "Bad request. The link you followed is incorrect or outdated." page.
Nevertheless can the problem be circumvented by downgrading rsnapshot. I returned to version 1.4.0-1 for now and everything works as it should again.
Offline
I don't use rsnapshot myself so I cannot help you very much, but that message indicates that rsync exited with the exit code 23, which means "Partial transfer due to error". The previous version of rsnapshot seems to work only because it just ignores rsync exit codes (it seems that the feature was added only in august https://github.com/bebehei/rsnapshot/co … d04009bb12).
If I were in you, I would check the permissions of the files listed in the error message, then try to backup them manually with rsync in verbose mode and check for a more meaningful error message.
PS:
The error happened here, too. Is the link to the other thread correct? I'm asking, because I only get the "Bad request. The link you followed is incorrect or outdated." page.
The link is correct, but you have to be logged in in order to view the page.
Offline
Thank you very much, mauritiusdadd! Your post got me thinking, so I checked a few things in /etc/rsnapshot.conf.
My configuration is working now without any errors with rsnapshot version 1.4.1-1. What I did was, follow the corresponding Wiki-Page, uncommented the suggested commands, and changed this:
# If this is enabled, rsync won't span filesystem partitions within a
# backup point. This essentially passes the -x option to rsync.
# The default is 0 (off).
#
one_fs 1I also edited verbose and loglevel to 5 for the moment, so when errors occur, I could better analyze them. But everythings seems to be good for the moment, what a integrity check also confirms.
Offline
Ok, here is the actual error in the journal logs:
Nov 07 10:05:17 sindhu rsnapshot[1925]: /usr/bin/rsync -aAXv --delete --numeric-ids --relative --delete-excluded \
Nov 07 10:05:17 sindhu rsnapshot[1925]: --exclude=/dev/* --exclude=/proc/* --exclude=/sys/* --exclude=/tmp/* \
Nov 07 10:05:17 sindhu rsnapshot[1925]: --exclude=/run/* --exclude=/mnt/* --exclude=/media/* \
Nov 07 10:05:17 sindhu rsnapshot[1925]: --exclude=/lost+found --exclude=/home/*/.gvfs \
Nov 07 10:05:17 sindhu rsnapshot[1925]: --exclude=/home/*/.thumbnails/* --exclude=/home/*/.cache/mozilla/* \
Nov 07 10:05:17 sindhu rsnapshot[1925]: --exclude=/home/*/.cache/google-chrome/* \
Nov 07 10:05:17 sindhu rsnapshot[1925]: --exclude=/home/*/.cache/chromium/* \
Nov 07 10:05:17 sindhu rsnapshot[1925]: --exclude=/home/*/.cache/conkeror.mozdev.org/* \
Nov 07 10:05:17 sindhu rsnapshot[1925]: --exclude=/home/*/.cache/deadbeef/* --exclude=/home/*/.cache/moonchild\ \
Nov 07 10:05:17 sindhu rsnapshot[1925]: productions/* --exclude=/home/*/.local/share/Trash/* \
Nov 07 10:05:17 sindhu rsnapshot[1925]: --exclude=/home/*/.Trash/* --exclude=/home/*/.Trash-1000/* \
Nov 07 10:05:17 sindhu rsnapshot[1925]: --exclude=/home/*/.local/share/Steam/* --exclude=/home/*/Maildir/* \
Nov 07 10:05:17 sindhu rsnapshot[1925]: --exclude=/home/*/.offlineimap/* --exclude=/home/*/WALLPAPER/* \
Nov 07 10:05:17 sindhu rsnapshot[1925]: --exclude=/home/*/tmp/* --exclude=/home/*/Downloads/* \
Nov 07 10:05:17 sindhu rsnapshot[1925]: --exclude=/home/*/Torrents/* --exclude=/home/*/VM/* \
Nov 07 10:05:17 sindhu rsnapshot[1925]: --exclude=/home/*/gPodder/Downloads/* /media/babbage/.Genymobile/ \
Nov 07 10:05:17 sindhu rsnapshot[1925]: /media/turing/BACKUPS/SINDHU/daily.0/localhost/.Genymobile/
Nov 07 10:05:17 sindhu rsnapshot[1925]: sending incremental file list
Nov 07 10:05:17 sindhu rsnapshot[1925]: rsync: link_stat "/media/turing/BACKUPS/SINDHU/productions/*" failed: No such file or directory (2)
Nov 07 10:05:17 sindhu rsnapshot[1925]: sent 1,797 bytes received 27 bytes 3,648.00 bytes/sec
Nov 07 10:05:17 sindhu rsnapshot[1925]: total size is 13,338,308,044 speedup is 7,312,668.88
Nov 07 10:05:17 sindhu rsnapshot[1925]: rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1165) [sender=3.1.1]
Nov 07 10:05:17 sindhu rsnapshot[1925]: ERROR: /usr/bin/rsync returned 0.08984375 while processing /media/babbage/.Genymobile/
Nov 07 10:05:17 sindhu rsnapshot[1925]: /usr/bin/logger -p user.err -t rsnapshot[1925] /usr/bin/rsnapshot daily: \
Nov 07 10:05:17 sindhu rsnapshot[1925]: ERROR: /usr/bin/rsync returned 0.08984375 while processing \
Nov 07 10:05:17 sindhu rsnapshot[1925]: /media/babbage/.Genymobile/
Nov 07 10:05:17 sindhu rsnapshot[2331]: /usr/bin/rsnapshot daily: ERROR: /usr/bin/rsync returned 0.08984375 while processing /media/babbage/.Genymobile/The only thing that actually looks like an error is:
...
Nov 07 10:05:17 sindhu rsnapshot[1925]: rsync: link_stat "/media/turing/BACKUPS/SINDHU/productions/*" failed: No such file or directory (2)
...I don't know what "productions" is. It's not part of the backup (I get this same error message for each of the separate backup options/locations). I even tried creating a directory in the location called "productions", but I still get the same error.
If I run rsync by hand, I don't get any errors.
Offline
Can you post your /etc/rsnapshot.conf?
Nov 07 10:05:17 sindhu rsnapshot[1925]: --exclude=/home/*/.cache/deadbeef/* --exclude=/home/*/.cache/moonchild\ \ Nov 07 10:05:17 sindhu rsnapshot[1925]: productions/* --exclude=/home/*/.local/share/Trash/* \
It seems that productions/* is spawn in between the --exclude options. Also the url in each --exclude option is terminated with a wildcard except the one preceding the entry productions/*... could it be that you wanted to exclude from the backup the path "/home/*/.cache/moonchild productions/*" but you forgot to escape the withespace?
--exclude=/home/*/.cache/moonchild\ productions/*--edit:
Ohh, well... it seems that the whitespace is indeed escaped ![]()
Last edited by mauritiusdadd (2015-11-08 07:40:08)
Offline
Can you post your /etc/rsnapshot.conf?
emacsomancer wrote:Nov 07 10:05:17 sindhu rsnapshot[1925]: --exclude=/home/*/.cache/deadbeef/* --exclude=/home/*/.cache/moonchild\ \ Nov 07 10:05:17 sindhu rsnapshot[1925]: productions/* --exclude=/home/*/.local/share/Trash/* \It seems that productions/* is spawn in between the --exclude options. Also the url in each --exclude option is terminated with a wildcard except the one preceding the entry productions/*... could it be that you wanted to exclude from the backup the path "/home/*/.cache/moonchild productions/*" but you forgot to escape the withespace?
--exclude=/home/*/.cache/moonchild\ productions/*--edit:
Ohh, well... it seems that the whitespace is indeed escaped
Maybe that's not the right way of escaping white space in rsnapshot.conf? I'll look into it. It does seem to be concerned with that bit. Thanks
Offline
JFYI. In FreeBSD a broken link caused the error. Thank you for the hints.
# ll /etc/.#rc.conf
lrwxr-xr-x 1 root wheel 0 Nov 20 08:10 /etc/.#rc.conf@ -> [2015-11-21T01:07:05] skipping symlink with 0-length value: "/etc/.#rc.conf"
[2015-11-21T01:07:05] IO error encountered -- skipping file deletion
[2015-11-21T01:07:05] rsync error: some files/attrs were not transferred (see previous errors) (code 23) at ma
in.c(1187) [sender=3.1.1]
[2015-11-21T01:07:05] /usr/local/bin/rsnapshot hourly: ERROR: /usr/local/bin/rsync returned 0.08984375 while processing /etc/Offline