The release schedule of rsnapshot is glacial. The current release 1.3.1 was packaged in August 2008 and contains at least one serious bug which prevents backup paths from containing spaces or special characters. I have written a new ebuild and patch which updates the 1.3.1 release with a diff of all SVN commits from the 2008 release up to June 2011 (1.430). This fixes several important bugs including the issue with spaces. Reproducible: Always
Created attachment 278597 [details] rsnapshot-1.3.1-r2 ebuild
Created attachment 278599 [details, diff] svn diff from 1.398 to 1.430
Created attachment 278601 [details, diff] files/rsnapshot-1.3.1-cp_al.patch
fyi, added to Funtoo Linux: https://github.com/funtoo/funtoo-overlay/commit/86b531303669361db84cc4db67661b90269f86a3 I will be testing it here.
Using the new rsnapshot: ninja2 backup # ./backup.sh echo 8383 > /var/run/rsnapshot.pid mv /root/rsnapshot/daily.4/ /root/rsnapshot/daily.5/ mv /root/rsnapshot/daily.3/ /root/rsnapshot/daily.4/ mv /root/rsnapshot/daily.2/ /root/rsnapshot/daily.3/ mv /root/rsnapshot/daily.1/ /root/rsnapshot/daily.2/ native_cp_al("/root/rsnapshot/daily.0", "/root/rsnapshot/daily.1") ---------------------------------------------------------------------------- rsnapshot encountered an error! The program was invoked with these options: /usr/bin/rsnapshot -v daily ---------------------------------------------------------------------------- ERROR: rsync_cleanup_after_native_cp_al() only works on directories ERROR: Error! cp_al("/root/rsnapshot/daily.0/", "/root/rsnapshot/daily.1/") rm -f /var/run/rsnapshot.pid failure: rsnapshot
I'm not going to add a _revbump_ with a SVN snapshot, and I won't be patching it either. If you wish to submit an ebuild ofr an SVN snapshot, it should use a specific tarball with the SVN sources (and not their .svn directories either). But since Daniel also shown that it doesn't work as good as it is supposed to, I'd rather hope that you can bring the release up with upstream....