Backing Up Exchange Calendar

Post number 13 has been selected as the best answer.

Neil

Member
Outlook version
Outlook 2013 64 bit
Email Account
IMAP
I would like an automated method to backup my Exchange calendar (Outlook.com account on my Win 10 Outlook 365 desktop).
If you have any suggestions on backing exchange calendar would appreciate it. If not then do you have a suggestion on how I can automatically have a POP calendar to mirror my Exchange calendar?
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
You'd need to use a macro to back it up automatically.

>> I can automatically have a POP calendar to mirror my Exchange calendar?
As in copy the exchange calendar to calendar in the pop account's data file? You'll need to use a macro for that.

This macro copies the folder to a pst - i have one someone that would copy new items based on modified date, but copying the entire folder is faster.

 

Neil

Member
Outlook version
Outlook 2013 64 bit
Email Account
IMAP
You'd need to use a macro to back it up automatically.

>> I can automatically have a POP calendar to mirror my Exchange calendar?
As in copy the exchange calendar to calendar in the pop account's data file? You'll need to use a macro for that.

This macro copies the folder to a pst - i have one someone that would copy new items based on modified date, but copying the entire folder is faster.

The macro worked great!. This accomplishes my goal almost 100%. The macro does exactly what it you said but it still requires me to manually start the process. Is there a way that this macro could be started on a scheduled basis? The other macro that you have which only copies new calendar items might work out for me also if it just adds the new items to an existing PST file, so please point me to it (also like to know if it can be run on a scheduled basis).

Thanks so much for your help.
 

Neil

Member
Outlook version
Outlook 2013 64 bit
Email Account
IMAP
When the macro is executed, it creates the PST as you indicated. The PST file is then automatically added to Outlook and remains open. Is there a way to modify the macro so the newly created PST can be automatically closed?
 

saurabhjha

Member
Outlook version
Outlook on the web
Email Account
Exchange Server
Hello,
Go to Outlook, then open the calendar and select the export option to backup the calender.
 

dmsims

New Member
Outlook version
Outlook 2010 32 bit
Email Account
IMAP
Not quite what you asked for but we use SynGene to do a one way sync from an Outlook.com Calendar (and contacts) to a Gmail account.

It does that every 20 minutes and it's a paid service
 

Neil

Member
Outlook version
Outlook 2013 64 bit
Email Account
IMAP
The macro that was suggested by Diane Poremsky above does a great job. I was hoping that she or someone else would tell me about automatically closing the PST file that was created.
 

Neil

Member
Outlook version
Outlook 2013 64 bit
Email Account
IMAP
I was not looking for mail backup but for calendar and contacts which the macro above does fine. I was hoping that someone would be able to tell me how I could modify the macro so that I could automatically have the PST file closed.
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
You'd use
RemoveStore pstname

before end sub (I should add that to the macro - thanks for the idea)
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
if i could read, i'd be dangerous - removing the pst is already in the macro - you need to uncomment it.

' remove the pst from the folder list
'objNS.RemoveStore (objFolder)


Set oPA = Nothing
Set objNS = Nothing
End Sub
 

Neil

Member
Outlook version
Outlook 2013 64 bit
Email Account
IMAP
Thanks for the additional information but it still does not work. See below, I would appreciate a little more help.
VBA error Message.jpg


Macro Error.jpg
 

Diane Poremsky

Senior Member
Outlook version
Outlook 2016 32 bit
Email Account
Office 365 Exchange
grrrr..... a silly typo - no () around the store name

objNS.RemoveStore objFolder



Because it is using the last added store, it works. If you hover over the 'bad' code, you'll notice it uses the default pst name - yet the macro works because its still technically using the last pst. I initially thought that was the problem - until i fixed the name and it still failed.
2020-09-08_09-00-02-0000.gif
 

Neil

Member
Outlook version
Outlook 2013 64 bit
Email Account
IMAP
grrrr..... a silly typo - no () around the store name

objNS.RemoveStore objFolder



Because it is using the last added store, it works. If you hover over the 'bad' code, you'll notice it uses the default pst name - yet the macro works because its still technically using the last pst. I initially thought that was the problem - until i fixed the name and it still failed.
View attachment 3081
Thanks that works fine.

I think you previously said that you had another macro which would add contacts and calendar items to an existing PST file rather than creating a new PST file each time. If you have that macro I would appreciate you proving a link
 
Thread starter Similar threads Forum Replies Date
Fozzie Bear Backing up Exchange Emails Exchange Server Administration 2
R Backing up Outlook w/ Exchange settings Using Outlook 2
C Backing up Exchange 2010? Exchange Server Administration 15
abnet Advice required re backing up .ost and .pst files Using Outlook 7
V Carbonite not backing up .ost files Using Outlook 7
T Backing Up My .pst File Using Outlook 3
N Backing Up Navigation Pane Customizations - WinXP Using Outlook 11
M backing up and restoring pst files / no calendar or contacts Using Outlook 4
S Set up Outlook 2010 by backing up pst files, incoming mail fine but outgoing originally gave me the Using Outlook 1
H Backing up Outlook 2007 to .pst file. Using Outlook 14
I backing up outlook 2010 Using Outlook 1
A backing up 2 year old files, when no pst was used with that account. Using Outlook 1
G Backing up Outlook 2007 question Using Outlook 2
T Error 'Database msdb cannot be opened' when backing up BCM BCM (Business Contact Manager) 2
A Ol16 desktopT suddenly can't connect with Exchange Using Outlook.com accounts in Outlook 5
T How can Exchange be configured to sync/push one-way so that the server data can't be affected Exchange Server Administration 0
E How to display "Change Folder" in Change Default Email Delivery Location in Exchange Outlook 2016 Using Outlook 1
J Outlook 2016 Moving IMAP emails to Exchange Using Outlook 1
L How to Import Exchange OST file into Outlook? Using Outlook 3
O Outlook 365 Exchange .ost within Personal Vaul Using Outlook 0
D Outlook 2016 Migrate 'On My Computer' (local storage) Calendar from Mac Outlook to Exchange Account Using Outlook 5
A .restrict results changing after moving to Exchange online Outlook VBA and Custom Forms 0
D Can Exchange Admin Center create a pst for users email/contacts/calendar? Exchange Server Administration 0
S Messages moved / deleted by auto-archive are not synchronized to exchange Exchange Server Administration 8
llama_thumper Setting up forwarders on Exchange server Exchange Server Administration 0
D Importing Outlook Categories from another domain (Exchange 2016/Outlook 2016) Using Outlook 4
M WMI query for Get Disk IO performance in exchange Exchange Server Administration 0
B Outlook 2013/Exchange 2013 - Conf Rooms not fully booking "resolved conflict" meetings Using Outlook 3
D Adding Enterprise Exchange Email Account to Outlook Prevents Sending via Outlook.com Account Using Outlook.com accounts in Outlook 10
O Benefits of Exchange over IMAP and why would I choose Exchange? Using Outlook 2
F Delete/create/reset Exchange mailbox on Outlook.com Using Outlook.com accounts in Outlook 3
A Prevent connection to Public Folders on Exchange? Exchange Server Administration 3
S Add Exchange Account as Secondary to Existing PST? Exchange Server Administration 1
S Adding new Exchange (2016) rule very slow down Microsoft Outlook Exchange Server Administration 0
CWM030 A quick question for Diane about Exchange Exchange Server Administration 2
G How to have domain client use owa server instead of exchange server while connect to network Using Outlook 1
J Outlook 2016 message content does not display - outlook.com; exchange Using Outlook.com accounts in Outlook 9
C Filter/Search emails sent to internal Exchange address only Using Outlook 2
B Copy/Move Exchange inbox to Pop inbox Using Outlook 4
Fozzie Bear Correct Method to set up Outlook.com accounts as Exchange Using Outlook.com accounts in Outlook 7
P AutoArchive exchange folder to exchange folder Using Outlook 1
J Syncing notes between Outlook 2016/Exchange and Outlook for Android Using Outlook 2
Brian Murphy Exchange Online Everything a Transport Rule should do and cannot Exchange Server Administration 1
E Customer wants a portion of GAL from exchange to sync down to Android contacts via Activesync Using Outlook 2
R Problem with searching public folders Exchange 2013/16 Exchange Server Administration 2
I outlook 2016 manual exchange config Using Outlook 0
R Add Exchange Account to existing POP3 Outlook 2007 Profile Using Outlook 0
Fozzie Bear Office 365 Home Premium with Exchange Online email accounts Using Outlook 3
S What is /O=FIRST ORGANIZATION/OU=EXCHANGE ADMINISTRATIVE GROUP(***************)/CN=RECIPIENTS/CN=... Using Outlook 5
Commodore Microsoft Exchange Add-in Using Outlook 2
Similar threads


















































Top