Use md2mb: Difference between revisions

From DEV UW-Math Wiki
Jump to navigation Jump to search
(New page: === Using md2mb To Backup Your Mail === A program named md2mb allows you to make a backup of your mail in mbox format. To use md2mb, follow the directions below: Note that the math Departm...)
 
No edit summary
 
(11 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=== Using md2mb To Backup Your Mail ===
This is outdated, since it refers to our math email server that no longer exists.  If you'd like to make a backup of the email on DoIT's system, this link [https://kb.wisc.edu/search.php?q=backup+email] may be helpful.  You can also ask the IT staff for assistance, and they'll help on a best effort basis.
A program named md2mb allows you to make a backup of your mail in mbox format. To use md2mb, follow the directions below: Note that the math Department also makes backups of your mail on a nightly basis. But you can use md2mb to make your own backups or to take your mail with you when  leave the department.
 
 
 
 
 
 
 
 
 
 
 
=== Making a Backup Your Mail ===
The Math Department makes a nightly backup of your mail and archives this backup to tape. However, users may wish to make their own backups or to make a copy of their mail in order to take it with them when they leave. You can use a program called md2mb for this purpose. Md2mb allows users to make backups of their mail in mbox format which is recognized by the import function in most email clients. To use md2mb, follow the directions below.  


# [[Use an ssh client to log onto login.math.wisc.edu]].
# [[Use an ssh client to log onto login.math.wisc.edu]].
# Run the program md2mb.  If you run the program with no options, it will make a copy of each of your mail folders, starting with your Inbox, each in a seperate file in the ~/mail/ folder in your home directory.  
# Run the program md2mb.  If you run the program with no options, it will make a copy of each of your mail folders, starting with your Inbox, each in a separate file in the ~/mail/ folder in your home directory. Use the --folder=<foldername> to make a backup of a single folder.  Use the --quiet option to silence progress messages during the backup.
 
Caution: Md2mb makes a copy of your mail in the ~/mail/ directory in your network space. This could easily put you over your disk space quota.
 
===command line help===
Would you like help using md2mb, run
 
md2mb --help
 
from a command line.


=== Examples ===
=== Examples ===
Line 10: Line 31:
to the ~/mail/ directory in your home directory.
to the ~/mail/ directory in your home directory.


md2mb  
md2mb


2. Copy the Sent-Mail folder to the file ~/mail/Sent-Items.mbx :
2. Copy the Sent-Mail folder to the file ~/mail/Sent-Items.mbx :
Line 16: Line 37:
md2mb --folder=Sent-Mail
md2mb --folder=Sent-Mail


3. Copy all of your mail but do not issue progress reports:
3.  Extract mail in all folders exceptTrash, spam, and Sent.
 
md2mb --skip=Trash,spam,Sent
 
4. Copy all of your mail but do not issue progress reports:


md2mb --quiet
md2mb --quiet
===How do I view my saved mail?===
[https://backupify.zendesk.com/hc/en-us/articles/203099158-Gmail-Exports-How-to-import-MBOX-exports-back-to-your-Gmail-account-]
https://backupify.zendesk.com/hc/en-us/articles/203099158-Gmail-Exports-How-to-import-MBOX-exports-back-to-your-Gmail-account-
is a pretty good step by step on how to reimport your data to something like Thunderbird. 
You won't need to worry about Step 3 in this set of instructions.  We'll give you your files untarred.

Latest revision as of 17:33, 2 February 2016

This is outdated, since it refers to our math email server that no longer exists. If you'd like to make a backup of the email on DoIT's system, this link [1] may be helpful. You can also ask the IT staff for assistance, and they'll help on a best effort basis.






Making a Backup Your Mail

The Math Department makes a nightly backup of your mail and archives this backup to tape. However, users may wish to make their own backups or to make a copy of their mail in order to take it with them when they leave. You can use a program called md2mb for this purpose. Md2mb allows users to make backups of their mail in mbox format which is recognized by the import function in most email clients. To use md2mb, follow the directions below.

  1. Use an ssh client to log onto login.math.wisc.edu.
  2. Run the program md2mb. If you run the program with no options, it will make a copy of each of your mail folders, starting with your Inbox, each in a separate file in the ~/mail/ folder in your home directory. Use the --folder=<foldername> to make a backup of a single folder. Use the --quiet option to silence progress messages during the backup.

Caution: Md2mb makes a copy of your mail in the ~/mail/ directory in your network space. This could easily put you over your disk space quota.

command line help

Would you like help using md2mb, run

md2mb --help

from a command line.

Examples

1. Copy all your mail folders, starting with the Inbox to the ~/mail/ directory in your home directory.

md2mb

2. Copy the Sent-Mail folder to the file ~/mail/Sent-Items.mbx :

md2mb --folder=Sent-Mail

3. Extract mail in all folders exceptTrash, spam, and Sent.

md2mb --skip=Trash,spam,Sent

4. Copy all of your mail but do not issue progress reports:

md2mb --quiet


How do I view my saved mail?

[2]

https://backupify.zendesk.com/hc/en-us/articles/203099158-Gmail-Exports-How-to-import-MBOX-exports-back-to-your-Gmail-account- is a pretty good step by step on how to reimport your data to something like Thunderbird.

You won't need to worry about Step 3 in this set of instructions. We'll give you your files untarred.