Question Locked

Backup script excludes .pst files

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

What do I have to add to my backup scripts to include Outlook .pst file? Listes below is the script I have been using for yesrs.

@echo on

xcopy C:\ F:\ /R /C /D /S /Y

:END
echo Backup Script is FInished!
Pause
@echo on
exit

3 replies

by acer1986

The only thing I can think of, is to try the same script without /D
this is all the commands I use for my backups; xcopy D:\ F:\ /y /e /c /h /r /v, it doesn't miss out any files, and never has.
I hope this helps. let me know.

by churdoo

I think the key here is your /h switch. Outlook .pst's by default are stored within %userprofile%/local settings/... which is a system/hidden folder by default.

This discussion is closed to new replies.