The 03.07.01 at 19:33, Thomas Jones wrote:
Do you know if it is possible to make Yast backup remember it's configuration from one run to the next? A configuration file, perhaps? Or do I need to hardcode it?
I have a long list of directories I do not want to backup, and it is a real nuisance that yast doesn't remember them.
I'm really not sure........i have never tried that scenario. I usually just let the script do it's thing.
If I do, and I select "Search files which do not belog to any package" Yast will backup even the directory where I save this and other backups. Also, I'm not interested in yast saving copies of the updates rpms, my downloaded files, compiled sources, etc, because these, being already compressed, I backup separately to CD. Also, the resulting backup would be so big that Yast runs out of temporary space (/tmp) and crashes. Notice that I use (try to) Yast to do the backup, I have never used those two scripts independently. Probably I'll have to write my own script that calls them, and use a bunch of "--exclude-dir"
Interesting idea though. Given that it already is fed from the other script, it should be fairly easy to call upon a "listing" or configuration file from say:
/var/adm/backup/backup_weekly.conf
Let me know how it works. ;)
I'll try :-) -- Cheers, Carlos Robinson