[opensuse] Automating Backups - missing module?
We've been discussing this problem for a while now, and I have one specific related question left. It all seems to boil down to a shell script that contains, among other things, these lines: # start backup - set cron mode, set nice level to not slowdown other processes # set server component testsuite to parse UI requests nice -n 15 /usr/lib/YaST2/bin/y2base backup '("cron")' '("'$PROFILE'")' testsuite > /dev/null The messages from cron that end up in root mail look something like this: Subject: Cron <root@SuSE64> /usr/lib/YaST2/bin/backup_cron "profile=partial_backup" X-Cron-Env: <SHELL=/bin/sh> X-Cron-Env: <HOME=/root> X-Cron-Env: <PATH=/usr/bin:/bin> X-Cron-Env: <LOGNAME=root> X-Cron-Env: <USER=root> Date: Mon, 24 Dec 2007 00:01:02 -0800 (PST) No such client module backup Question is, where is client module 'backup' supposed to come from? One would think that YaST would be installed with whatever modules are needed to handle the tasks that it offers, but perhaps not? Does anyone know if there's something more I need to install in order for this not to fail? Thanks, Jerry -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
On Monday 24 December 2007 19:32:01 Jerry Houston wrote:
Question is, where is client module 'backup' supposed to come from? One would think that YaST would be installed with whatever modules are needed to handle the tasks that it offers, but perhaps not? Does anyone know if there's something more I need to install in order for this not to fail?
The package is called yast2-backup, but you're right that it should be installed already. Strange Anders -- Madness takes its toll -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
Anders Johansson wrote:
On Monday 24 December 2007 19:32:01 Jerry Houston wrote:
Question is, where is client module 'backup' supposed to come from? One would think that YaST would be installed with whatever modules are needed to handle the tasks that it offers, but perhaps not? Does anyone know if there's something more I need to install in order for this not to fail?
The package is called yast2-backup, but you're right that it should be installed already. Strange
It is. Not including the documentation, these are the files that YaST says are installed for that module: /usr/lib/YaST2/bin/backup_archive.pl /usr/lib/YaST2/bin/backup_cron /usr/lib/YaST2/bin/backup_search.pl /usr/lib/YaST2/servers_non_y2/ag_file_append /usr/lib/YaST2/servers_non_y2/ag_free_space /usr/share/YaST2/clients/backup.ycp /usr/share/YaST2/clients/backup_available_packages.ycp /usr/share/YaST2/clients/backup_get_packages.ycp /usr/share/YaST2/clients/backup_save_profile.ycp /usr/share/YaST2/include/backup /usr/share/YaST2/include/backup/functions.ycp /usr/share/YaST2/include/backup/help_texts.ycp /usr/share/YaST2/include/backup/ui.ycp /usr/share/YaST2/modules/Backup.ybc /usr/share/YaST2/modules/Backup.ycp /usr/share/YaST2/scrconf/cfg_backup.scr /usr/share/YaST2/scrconf/cfg_backup_freespace.scr /usr/share/YaST2/scrconf/proc_filesystems.scr /usr/share/applications/YaST2/backup.desktop Not knowing exactly what y2base expects from its parameters, or what exactly a "ycp value" is, I can't really go much farther with it. I don't know which of these might be involved in the 'no such client module backup' message from cron. I was hoping someone here might know what that refers to, and could provide a clue where to find the missing module. Thanks, Jerry -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org
participants (2)
-
Anders Johansson
-
Jerry Houston