<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Restic on Zheng Zhang, Ph.D., DABR</title>
    <link>https://zhengzhangxrt.com/tags/restic/</link>
    <description>Recent content in Restic on Zheng Zhang, Ph.D., DABR</description>
    <generator>Hugo</generator>
    <language>en</language>
    <lastBuildDate>Sat, 12 Oct 2019 00:19:00 +0000</lastBuildDate>
    <atom:link href="https://zhengzhangxrt.com/tags/restic/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>A few simple scripts for automated data backup</title>
      <link>https://zhengzhangxrt.com/post/powershell-backup-script/</link>
      <pubDate>Sat, 12 Oct 2019 00:19:00 +0000</pubDate>
      <guid>https://zhengzhangxrt.com/post/powershell-backup-script/</guid>
      <description>PowerShell on Windows work computer Work computers within the hospital network typically restrict administrative rights to install custom tools. Over the years, I have found that PowerShell + robocopy nightly backup to an intranet network share is the most straight-forward method.&#xA;First create the following PowerShell script and save it as nightly-backup.ps1 under User Home.&#xA;ROBOCOPY C:\Workspace \\INTRANET\UserHome\Backup\Workspace /DCOPY:DA /MT /MIR /FFT /Z /XA:SH /R:0 /TEE /XJD Then create a task in Task Scheduler to be run every midnight.</description>
    </item>
  </channel>
</rss>
