Hi group,

I am a newbie with offlineIMAP, so have some patience .......

I've looked on the net, but could not find a proper procedure to restore a folder i backuped with
offlineIMAP from a synology NAS. (192.168.2.99)

This is my simple script to make the backup ( on a debian linux system under user miep)

#!/bin/sh
PATH=/opt/someApp/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin

/usr/bin/offlineimap >> /home/miep/imap.log 2>&1
echo `date +%d-%m-%y` >> /home/miep/imap.log
tail -2 imap.log |mail -s "Backup-Mail-miep" [email protected]
/bin/rm /home/miep/imap.log

This is the -dot-offlineimaprc

root@Sheeva:/home/miep# cat .offlineimaprc
[general]
accounts = miep

[Account miep]
localrepository = Local
remoterepository = Remote

[Repository Local]
type = Maildir
localfolders = /MailBackup/miep

[Repository Remote]
type = IMAP
remotehost = 192.168.2.99
remoteuser = miep
remotepass = known-to-me
readonly = true

How do i restore a single folder or if thats not possible the whole set from the debian linux system
back to the server ?  ( in a different user ?)

Help appreciated!

Poekel












_______________________________________________
OfflineIMAP-project mailing list: [email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/offlineimap-project

OfflineIMAP homepages:
- https://github.com/OfflineIMAP
- http://offlineimap.org

Reply via email to