restore a folder mad by offlineIMAP on (Synology) NAS

Henny Zutt h.zutt at
Wed Aug 17 20:00:49 BST 2016

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. (

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


/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" miep at
/bin/rm /home/miep/imap.log

This is the -dot-offlineimaprc

root at Sheeva:/home/miep# cat .offlineimaprc
accounts = miep

[Account miep]
localrepository = Local
remoterepository = Remote

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

[Repository Remote]
type = IMAP
remotehost =
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!


More information about the OfflineIMAP-project mailing list