From mboxrd@z Thu Jan 1 00:00:00 1970 From: marco-oweber@gmx.de (Marc Weber) Date: Tue, 7 Jul 2009 15:08:44 +0200 Subject: [sup-talk] Backups ? Message-ID: <20090707130844.GA23073@gmx.de> 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