Hi, I'd like to setup an automatic backup system cause I don't want to
tag my mails twice and I don't want to loose the information about
archived mails etc.
What do you think about something like this?
Is it enough to keep 4 dumps?
What about moving this code into sup shutdown?
I think everyone wants to have this feature?
run_sup(){
# untested draft
local dump_dir="/var"
sup
sup-dump | bzip2 > "$dump_dir/sup-dumps-`date`"
ls -1t "$dump_dir"/sup-dumps-* | { read; read; read; read; cat } | xargs rm
}
Marc Weber
_______________________________________________
sup-talk mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/sup-talk