peperoni
|
2008-02-14
, 15:21
|
Posts: 5 |
Thanked: 1 time |
Joined on Feb 2008
|
#1
|
|
2008-02-15
, 16:26
|
|
Posts: 1,648 |
Thanked: 2,122 times |
Joined on Mar 2007
@ UNKLE's Never Never Land
|
#2
|
sudo gainroot
cd /etc/osso-backup/applications/
mv claws-mail.conf claws-mail.conf.old
exit
sudo gainroot
cd /etc/osso-backup/applications/
mv claws-mail.conf.old claws-mail.conf
exit
|
2008-02-16
, 23:16
|
Posts: 6 |
Thanked: 0 times |
Joined on Feb 2008
|
#5
|
|
2008-02-17
, 02:21
|
|
Posts: 1,648 |
Thanked: 2,122 times |
Joined on Mar 2007
@ UNKLE's Never Never Land
|
#6
|
Thanks Saturn, that works for me too. It was driving me insane and I never would have figured out the Claws configuration file was hosing it. Keep us up to date if the Claws team fixes this issue, please!
<backup-configuration> <locations> <location type="file" category="settings">/home/user/.claws-mail/accountrc</location> <location type="dir" category="settings">/home/user/.claws-mail/addrbook</location> <location type="dir" category="settings">/home/user/.claws-mail/certs</location> <location type="file" category="settings">/home/user/.claws-mail/clawsrc</location> <location type="file" category="settings">/home/user/.claws-mail/folderitemrc</location> <location type="file" category="settings">/home/user/.claws-mail/folderlist.xml</location> <location type="dir" category="emails">/home/user/.claws-mail/imapcache</location> <location type="file" category="settings">/home/user/.claws-mail/matcherrc</location> <location type="file" category="settings">/home/user/.claws-mail/menurc</location> <location type="dir" category="emails">/home/user/.claws-mail/newscache</location> <location type="dir" category="settings">/home/user/.claws-mail/tagsdb</location> <location type="file" category="settings">/home/user/.claws-mail/tagsrc</location> <location type="file" category="settings">/home/user/.claws-mail/toolbar_*.xml</location> <location type="dir" category="emails">/home/user/Mail</location> <location type="file" category="settings">/home/user/.claws-mail/*_history</location> <location type="dir" category="emails">/home/user/.claws-mail/uidl</location> </locations> </backup-configuration>
|
2008-06-12
, 22:54
|
|
Posts: 1,648 |
Thanked: 2,122 times |
Joined on Mar 2007
@ UNKLE's Never Never Land
|
#7
|
#!/bin/sh # Backup/Restore Claws settings stamp=`date +%Y%m%d-%Hh%M`; path=/media/mmc2/claws/backup; if mount | grep -q mmc2; then echo Memory MMC2 is available. Cont..; else echo Memory MMC2 is missing; exit; fi; selection= until [ "$selection" = "0" ]; do echo "" echo "Backup/Restore Claws settings" echo "" echo "1 - BACKUP claws settings" echo "2 - DELETE claws settings" echo "3 - RESTORE claws settings (from last backup)" echo "4 - Show backup files" echo "" echo "0 - exit program" echo "" echo -n "Enter selection: " read selection echo "" case $selection in 0) exit ;; 1) tar czvf $path/backup-$stamp.tgz .claws-mail && echo "Backup has been created succesfully";; 2) rm -r /home/user/.claws-mail && echo "Claws folder has been deleted succesfully";; 3) export latest=`ls -al $path| grep -i backup- | awk '{last = $8} END{print last}'`; tar xzvf $path/$latest && echo "Backup file $latest has been restored succesfully" ;; 4) ls -al $path ;; *) echo "Please enter 1, 2, 3, 4 or 0" esac done;
chmod +x claws_backup.sh
./claws_backup.sh
The Following User Says Thank You to Saturn For This Useful Post: | ||
|
2008-08-17
, 08:31
|
|
Posts: 1,648 |
Thanked: 2,122 times |
Joined on Mar 2007
@ UNKLE's Never Never Land
|
#8
|
|
2008-08-17
, 22:17
|
Posts: 309 |
Thanked: 51 times |
Joined on Apr 2007
|
#9
|
|
2008-09-26
, 15:32
|
Posts: 53 |
Thanked: 6 times |
Joined on Sep 2008
|
#10
|
Are you using Claws and are you confortable with xterm and becomeroot?
If no please ignore the rest..
If yes could you do the following?
Open an xterm.
try to backup again choosing only 'settings'
does it work now?
Note that you can revert back to your previous configuration by doing the following:
It seems for me this is the root of the problem which makes my backup-osso nuts and I would like to double check with others before filling a bug.
Thanks.
Tags |
backup, claws |
Thread Tools | |
|