Viele Änderungen sind gemacht worden ... Und endlich ist es soweit: Die neue Version ist draussen.
Dies ist nur ein "release candidate", weil bisher nur wenige von meinen Testern (mich eingeschlossen 😉 das Skript ausprobiert haben. Aber alle Kommentare waren soweit positiv!
Zum download gehts hier: http://sourceforge.net/project/showfiles.php?group_id=162451&package_id=264323
Website: http://smarbs.sourceforge.net
Ich habe grosse Teile des Codes neu geschrieben und lokal eine ziemlich grosse "Testsuite" mit dem Ruby-Internen Test-Mechanismus gebastelt, um sicherzustellen, dass alles funktioniert und sich nicht neue Fehler einschleichen bei der Korrektur von alten oder bei der Änderung von Code. Und auch viele neue Features wurden eingebaut: Einige kannst du zum Beispiel sehen, wenn du nach dem installieren ein "smarbs --help" ausführst 😉
(⇒ Ja, jetzt kann man smarbs tatsächlich 'wie ein richtiges Programm' benutzen. smarbs --help zeigt z. Bsp. folgendes:
smarbs v0.8 (17. January 2007) Copyright (C) 2006-2007 by Jan Rüegg (rggjan) <http://smarbs.sourceforge.net/> smarbs 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. smarbs is a backup script written in ruby capable of doing intelligent and automated backups using rsync. Usage: smarbs [OPTION]... [CONFIGFILE]... Makes backup according to the specified configfile(s), when no configfile is specified and no information options are invoked, all existing configfiles are executed. Backup options: -V, --verbose increase verbosity, ignoring the configfile option --pass-rsync=OPTIONS pass OPTIONS to rsync before executing it =>use with caution! usually this is not needed Information options: (won't work together with backup options) -l, --list list available configfiles -h, --help show this help -V, --Version print version number Configfiles are stored in the directory /etc/smarbsconfig or ~/.smarbsconfig, if not executed as root.
)