troubleshooting Question

Daily Backup

Avatar of jjafferr
jjafferrFlag for Oman asked on
Microsoft DOS
9 Comments1 Solution392 ViewsLast Modified:
Hi Experts

I have a network of PCs, and would like to make a bat file that will:
copy (backup) the updated files from a specific directory (say outlook)

these files should be copied to a network drive which is password protected (say \\jaffer\f),
under \\jaffer\f
I want to make directories based on the date the backup is done (say 16),
under \\jaffer\f\16
I want to make directories based on the user name (say Adolf),
so the directories should look like this:
\\jaffer\f\16\Adolf
\\jaffer\f\16\Jaffer
\\jaffer\f\17\Adolf
\\jaffer\f\17\Jaffer

The dates are 1 to 31 (our date format is dd-mm-yy).
So the code should look at the current date then copy (Xcopy or Replace) the Outlook folder to the right folder in the network drive.

http://www.chebucto.ns.ca/~ak621/DOS/Bat-Adv.html#CDUL
and
http://www.chebucto.ns.ca/~ak621/DOS/Bat-Adv.html#UPDATE
look short and interesting, but I leave it to you guys.

It will be best if the password could be encrypted.

Any help is appreciated,

jaffer
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 9 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 9 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros