On Thu, 21 Jul 2005, Dag Wieers wrote:
> On Wed, 20 Jul 2005, Chester R. Hosey wrote:
>
> > It's a nice feature. It would be nice if up2date-with-rpm did something
> > similar, or if RHN noted that an upgrade didn't include a configuration
> > file update due to user changes. I'd be really impressed if RHN went to
> > far as to provide a diff of the configuration files so the administrator
> > could evaluate the importance without having to log in and search
> > for .rpm{new|save|orig} files manually.
>
> I don't think it belongs as part of RHN, besides I don't think you can
> implement all the complexity correctly, which would only become a
> liability to Red Hat if they have to support it.
>
> And since you're interested. Here is the script I was refering to and
> hope to implement in python one day (with extra features like diffs and
> more intelligence).
>
> clup.sh cleans up left-over config files
> bup.sh makes a poor man's backup (partly replaced/rewritten with dconf)
>
> Use at own risk :) Preferably with cloop if you're unsure.
>
> clup.sh [-f] [-h] [-q] [-t] [-v] [-x] [paths...]
>
> -f force-mode, perform changes
> -h help (apparently not updated)
> -t test-mode, only report changes (default)
> -q quiet
> -v verbose
> -x don't leave mount-point
>
> bup.sh [-f] [-i] [-h] [-l] [-t] [-u] [-x] [paths...]
>
> -f full backup
> -i incremental backup
> -h help (also not updated)
> -l list files (no backup made)
> -t test-mode
> -u include user directories
> -x don't leave mount-point
Now, with batteries included :)
Kind regards,
-- dag wieers, dag wieers com, http://dag.wieers.com/ --
[all I want is a warm bed and a kind word and unlimited power]Clean-up utility """""""""""""""" Scans the harddisk for left-over .rpmnew and .rpmorig files. Upon request deletes duplicate files or diffs/merges files Options: -f Take full backup -i Take incremental backup -x Skip different filesystems
Back-up utility """"""""""""""" Scans the harddisk for non-packaged files or changed configuration files. By default it will only look in a few system-wide directories (eg. /boot, /etc, /mnt, /opt, /usr/local, /var) Options: -f Take full backup -i Take incremental backup -l Simply list the files -q Be quiet -u Add default user-directories (/root and /home) -x Skip different filesystems Arguments: List of filesystems/paths to consider Configuration: /etc/bup/bup.conf General configuration file backup-file= /etc/bup/paths List of paths to consider eg. /boot /etc /mnt /opt /usr/local /var /etc/bup/ignore Regexp to filter out certain files eg. *~|*.bak *.rpmnew /etc/rc.d/rc?.d/* /etc/gconf/gconf.xml.defaults/*
Attachment:
clup.sh
Description: Bourne shell script
Attachment:
bup.sh
Description: Bourne shell script