Package: ibackup Version: 2.27-4.1 Severity: important Tags: patch In the last update of the ibackup package I lost my own config.
Following /usr/share/doc/ibackup/ibackup.html (see: "Can I add support for other configurations?"), I had my own backup paths and configs in the /usr/bin/ibackup script (following code of the other ones). But in the last update the script was overwrited and in some automated backups (by cron) I get a 0 bytes tar.gz :-/. Fortunately I realize it and now the problem is fixed in my box. But I think that the correct way to set this user backup paths and configs is in the ibackup.conf that the package have in the /usr/share/doc/ibackup/examples/ dir and the README.Debian says to copy to /etc. For this I test the following (and it works !!). Please review the code, so I don't have the skills for make it safe/good: 1. In /usr/bin/ibackup put the following (a new target for the user config, named "user" ;-)): case $@ in *user*) eval "$usercmd" ;; esac 2. In /usr/share/doc/ibackup/examples/ibackup.conf put the following (the location for the user paths and configs): #Add a user backup config (comands and paths) # like the ones in /usr/bin/ibackup: usercmd='' 3. In /usr/share/doc/ibackup/README.Debian, add some relevant info about how to use this new way of have a user backup config. Example: (in the 1. point): For get a personal backup configuration and paths, you can see the ones in the /usr/bin/ibackup script and copy anyone to your /etc/ibackup.conf, in the "usercmd" field (put the code between the brackets ('')). Then edit the code to fit your needs. Now you can create your own backups by execute: 'ibackup user'. And that's all. Maybe this package is not important, and this bug report fall in the forgotten box. But the impact off any update for the user config in ibackup can be important by the lost of data and user settings. Thats all. Many thanks for the attendance. Excuse my bad english. Greetings. Martintxo. --- System information. --- Architecture: i386 Kernel: Linux 2.6.24 Debian Release: lenny/sid 500 testing security.debian.org 500 testing ftp.fr.debian.org 500 testing ftp.eq.uc.pt --- Package information. --- Depends (Version) | Installed =======================-+-=========== | .... Fortunes power :-P .... Dios tarda pero no olvida. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]