Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

export folders growing after each export #146

Open
stp-ip opened this issue Sep 18, 2013 · 3 comments
Open

export folders growing after each export #146

stp-ip opened this issue Sep 18, 2013 · 3 comments

Comments

@stp-ip
Copy link
Contributor

stp-ip commented Sep 18, 2013

Used command:
gmvault export -d /folder /folder

I noticed that after running the export command multiple times the size grew after each export, not just by the size of the new mails, but in the end it was almost 8 times bigger than after removing the folders and exporting again. I assume about 8 exports were run.
Know issue? Did I do something wrong?

@superalino
Copy link

If you have e-mails that have more than one label I suppose that the export command put a copy of every e-mail in all directory with that labels name.
example:

2334.eml.gz -> 2234.meta -> labels: ["\Inbox", "\Important", "\Lucky", "\Love"]

When you launch export command you will have the e-mail 2334.eml on 4 different folders: ./Inbox ./Important ./Lucky ./Love

@stp-ip
Copy link
Contributor Author

stp-ip commented Feb 17, 2014

@superalino That was not what I meant.
I was saying that if you already have an mbox export and you redo it ontop of the files. The export doubles in size roughly.

  1. run: mbox/test -> 10mb
  2. run: mbox/test -> 19mb

My solution is to remove the files before I run the export command. But it still seems like a bug.

@abides
Copy link

abides commented Feb 24, 2017

@stp-ip I realize this while im exporting to dovecot. Its not replace the email already exported before, its just create new one. So every export all emails are created again. Probably thats why its keep growing. I asked if there is skip option (#294) because its hard to delete all before export when you have 40k emails in gmail.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants