Copy a folder daily automatically?


David9726

Well-known member
Local time
5:23 PM
Posts
32
OS
Win 11
To make a long story short, i run weather software in a windows 11 VM and i just need to copy it's data folder daily in cause of a crash etc the folder is only 400MB.

I plan to use Task Scheduler to shutdown the software run a backup of just the weather folder then use Task Scheduler to open the weather software again.

Any ideas? I just want to copy the data folder not looking to sync changes.
 

My Computer My Computer

At a glance

Win 11
OS
Win 11
This might help. Save it as a batch file (e.g., backup.cmd), and use it in your scheduled task. It should create a folder in the destination folder, with a name based on the date and time.

Batch:
@echo off

REM Set a timestamp based on the date and time.
set timestamp=%date% %time%

REM Replace some characters that might cause issues.
set timestamp=%timestamp:.=%
set timestamp=%timestamp::=%
set timestamp=%timestamp: =-%
set timestamp=%timestamp:/=-%

REM RoboCopy FTW!
robocopy.exe "C:\Path\To\Source\Folder" "C:\Path\To\Destination\%timestamp%" /mir /r:2 /w:5
 

My Computer My Computer

At a glance

Windows 11 Pro 25H212th Gen Core i7-1260P64 GB Micron PC4-25600Intel Iris Xe Graphics
OS
Windows 11 Pro 25H2
Computer type
PC/Desktop
Manufacturer/Model
Intel NUC12WSHi7
CPU
12th Gen Core i7-1260P
Motherboard
NUC12WSBi7
Memory
64 GB Micron PC4-25600
Graphics Card(s)
Intel Iris Xe Graphics
Sound Card
on-board Realtek HD Audio
Monitor(s) Displays
Dell U3219Q
Screen Resolution
3840 x 2160
Hard Drives
Samsung SSD 990 PRO 1TB
Crucial MX500 2 TB
Antivirus
Microsoft Defender
To make a long story short, i run weather software in a windows 11 VM and i just need to copy it's data folder daily in cause of a crash etc the folder is only 400MB.

I plan to use Task Scheduler to shutdown the software run a backup of just the weather folder then use Task Scheduler to open the weather software again.

Any ideas? I just want to copy the data folder not looking to sync changes.



Karen's Replicator



You can set it to a schedule, and assign it multiple "jobs".
You can use it to copy anything from a folder, up to a partition. :-)

It might be able to copy just a file... but I've never tried that.


Here's the Settings page...

Image1.png
 
Last edited:

My Computers My Computers

  • At a glance

    Win 11 Home ♦♦♦26200.8655 ♦♦♦♦♦♦♦25H2AMD Ryzen 7 3700XG.Skill (F4-3200C14D-16GTZKW)EVGA RTX 2070 (08G-P4-2171-KR)
    OS
    Win 11 Home ♦♦♦26200.8655 ♦♦♦♦♦♦♦25H2
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® [May 2020]
    CPU
    AMD Ryzen 7 3700X
    Motherboard
    Asus Pro WS X570-ACE (BIOS 5302)
    Memory
    G.Skill (F4-3200C14D-16GTZKW)
    Graphics Card(s)
    EVGA RTX 2070 (08G-P4-2171-KR)
    Sound Card
    Realtek ALC1220P / ALC S1220A
    Monitor(s) Displays
    Dell U3011 30"
    Screen Resolution
    2560 x 1600
    Hard Drives
    2x Samsung 860 EVO 500GB,
    WD 4TB Black FZBX - SATA III,
    WD 8TB Black FZBX - SATA III,
    DRW-24B1ST CD/DVD Burner
    PSU
    PC Power & Cooling 750W Quad EPS12V
    Case
    Cooler Master ATCS 840 Tower
    Cooling
    CM Hyper 212 EVO (push/pull)
    Keyboard
    Ducky DK9008 Shine II Blue LED
    Mouse
    Logitech Optical M-100
    Internet Speed
    300/300
    Browser
    Firefox (latest)
    Antivirus
    Bitdefender Total Security
    Other Info
    Speakers: Klipsch Pro Media 2.1
  • At a glance

    Windows XP Pro 32bit w/SP3AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Operating System
    Windows XP Pro 32bit w/SP3
    Computer type
    PC/Desktop
    Manufacturer/Model
    Built by Ghot® (not in use)
    CPU
    AMD Athlon 64 X2 5000+ (OC'd @ 3.2Ghz)
    Motherboard
    ASUS M2N32-SLI Deluxe Wireless Edition
    Memory
    TWIN2X2048-6400C4DHX (2 x 1GB, DDR2 800)
    Graphics card(s)
    EVGA 256-P2-N758-TR GeForce 8600GT SSC
    Sound Card
    Onboard
    Monitor(s) Displays
    ViewSonic G90FB Black 19" Professional (CRT)
    Screen Resolution
    up to 2048 x 1536
    Hard Drives
    WD 36GB 10,000rpm Raptor SATA
    Seagate 80GB 7200rpm SATA
    Lite-On LTR-52246S CD/RW
    Lite-On LH-18A1P CD/DVD Burner
    PSU
    PC Power & Cooling Silencer 750 Quad EPS12V
    Case
    Generic Beige case, 80mm fans
    Cooling
    ZALMAN 9500A 92mm CPU Cooler
    Keyboard
    Logitech Classic Keybooard 200
    Mouse
    Logitech Optical M-BT96a
    Internet Speed
    300/300
    Browser
    Firefox 3.x ??
    Antivirus
    Symantec (Norton)
    Other Info
    Still assembled, still runs. Haven't turned it on for 15 years?
As Ghot suggests, Karen's Replicator I use it daily.
There is also Cobian Reflector...
.https://www.cobiansoft.com/cobianbackup.html.
I use it to back up my Weatherlink and Cumulus data daily.
Both cheap at twice the price
 

My Computer My Computer

At a glance

Win 11 ProAMD Ryzen 7 9700XG.Skill Trident Z5 Neo RGB 64GB Kit (2x32GB) ...PowerColor Radeon RX 9060 XT Reaper GDDR6 16GB
OS
Win 11 Pro
Computer type
PC/Desktop
Manufacturer/Model
N/A
CPU
AMD Ryzen 7 9700X
Motherboard
Asrock 870E Nova WiFi
Memory
G.Skill Trident Z5 Neo RGB 64GB Kit (2x32GB) DDR5-6000 C30
Graphics Card(s)
PowerColor Radeon RX 9060 XT Reaper GDDR6 16GB
Sound Card
USB Out NAD M51 DAC with Adams A8 powered speakers
Monitor(s) Displays
Dell 3219Q
Screen Resolution
3840 x 2160
Hard Drives
5 x WD_BLACK SN850x PCIe Gen4 NVMe M.2 SSD - 4TB
PSU
be quiet! DARK POWER 13 1000W Titanium PCIe 5.0 ATX Modular PSU
Case
Fractal Design Define 7 Full Tower Case (Black)
Cooling
Noctua NH-D15 G2 LBC - High Performance Multi-Socket PWM CPU Cooler
Keyboard
Razer Huntsman V2
Mouse
Razer Viper Ultimate
Internet Speed
Starlink 94Mbps down 20Mbps up
Browser
Brave
Antivirus
ESET
As Ghot suggests, Karen's Replicator I use it daily.
There is also Cobian Reflector...
.https://www.cobiansoft.com/cobianbackup.html.
I use it to back up my Weatherlink and Cumulus data daily.
Both cheap at twice the price

Yes i use Cumulus, i put it in a VM and just want to save the data! They say you should close Cumulus before saving the data do you close yours?

I'm using Cumulus MX btw.
 

My Computer My Computer

At a glance

Win 11
OS
Win 11
David, no i just run Cobian Reflector on a schedule and forget about it.
I have Cumulus MX and also the older version 1.9 as it does monthly averages better. I can't run both at the same time though.
My Weatherlink is connected to a Meteobridge and Cumulus(s) drags the information from there.
 

My Computer My Computer

At a glance

Win 11 ProAMD Ryzen 7 9700XG.Skill Trident Z5 Neo RGB 64GB Kit (2x32GB) ...PowerColor Radeon RX 9060 XT Reaper GDDR6 16GB
OS
Win 11 Pro
Computer type
PC/Desktop
Manufacturer/Model
N/A
CPU
AMD Ryzen 7 9700X
Motherboard
Asrock 870E Nova WiFi
Memory
G.Skill Trident Z5 Neo RGB 64GB Kit (2x32GB) DDR5-6000 C30
Graphics Card(s)
PowerColor Radeon RX 9060 XT Reaper GDDR6 16GB
Sound Card
USB Out NAD M51 DAC with Adams A8 powered speakers
Monitor(s) Displays
Dell 3219Q
Screen Resolution
3840 x 2160
Hard Drives
5 x WD_BLACK SN850x PCIe Gen4 NVMe M.2 SSD - 4TB
PSU
be quiet! DARK POWER 13 1000W Titanium PCIe 5.0 ATX Modular PSU
Case
Fractal Design Define 7 Full Tower Case (Black)
Cooling
Noctua NH-D15 G2 LBC - High Performance Multi-Socket PWM CPU Cooler
Keyboard
Razer Huntsman V2
Mouse
Razer Viper Ultimate
Internet Speed
Starlink 94Mbps down 20Mbps up
Browser
Brave
Antivirus
ESET
Thanks looks easy to setup!
 

My Computer My Computer

At a glance

Win 11
OS
Win 11
I use FreeFileSync/RealTimeSunc
Free forever, unrestricted, easy, never misses a beat, highly configerable.


Check the tutorials for an idea of how it works.

 

My Computers My Computers

  • At a glance

    Windows 11 Pro 25H2 Build 26200.8655Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz32.0 GB of I forget and the box is in storage.Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    OS
    Windows 11 Pro 25H2 Build 26200.8655
    Computer type
    PC/Desktop
    Manufacturer/Model
    Sin-built 2013
    CPU
    Intel(R) Core(TM) i7-4770K CPU @ 3.50GHz
    Motherboard
    ASUS ROG Maximus VI Formula
    Memory
    32.0 GB of I forget and the box is in storage.
    Graphics Card(s)
    Gigabyte nVidia GeForce GTX 1660 Super OC 6GB
    Sound Card
    ROG SupremeFX Formula 8-Channel High Definition Audio
    Monitor(s) Displays
    5 x LG 25MS500-B - 1 x 24MK430H-B - 1 x Wacom Pro 22" Touch Screen Tablet
    Screen Resolution
    All over the place
    Hard Drives
    Too many to list. OS on Samsung 1TB 870 QVO SATA
    PSU
    Silverstone 1500
    Case
    NZXT Phantom 820 Full-Tower Case
    Cooling
    Noctua NH-D15 Elite Class Dual Tower CPU Cooler / 6 x EziDIY 120mm / 2 x Corsair 140mm somethings / 1 x 140mm Thermaltake something / 2 x 200mm Corsair.
    Keyboard
    Corsair K95 / Logitech diNovo Edge Wireless
    Mouse
    Logitech: G402 / G502 / Mx Masters / Mx Air Cordless
    Internet Speed
    2000/500Mbps
    Browser
    All sorts
    Antivirus
    Kaspersky Premium
    Other Info
    ㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤㅤ⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀
    TP-Link BE9300 WiFi 7 Bluetooth 5.4 (Archer TBE550E)
    TP-Link TX201 V1 2.5GB Lan

    Grandstream HT812 - VoIP
    ASUS DSL-AX82U - Mesh
    ASUS RT-AC68U - Mesh
    ASUS RT-BE88U Router

    Brother MFC-L2880DW Printer

    I’m on a horse.
  • At a glance

    Windows 11 Pro 25H2 Build 26200.8655 (Wifes)13th Generation Intel® Core™ i5-1340P Process...16GB LPDDR5-52001x Intel® Iris® Xe Graphics
    Operating System
    Windows 11 Pro 25H2 Build 26200.8655 (Wifes)
    Computer type
    Laptop
    Manufacturer/Model
    LENOVO Yoga 7 14IRL8 - Type 82YL
    CPU
    13th Generation Intel® Core™ i5-1340P Processor(Core™ i5-1340P)
    Memory
    16GB LPDDR5-5200
    Graphics card(s)
    1x Intel® Iris® Xe Graphics
    Sound Card
    Optimized with Dolby Atmos®
    Screen Resolution
    QHD 2880 x 1800 OLED
    Hard Drives
    M.2 512 GB SSD PCIe
    Mouse
    Logiteck MX Master 3S
    Internet Speed
    2000/500
    Antivirus
    Defender / Malwarebytes
    Other Info
    …still on a horse.


    Wireless Network: Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above
    Ports: 1x 1 Novo button; 2 in 1 Audio Combo jack; Micro SD Card Reader; HDMI 1.4b; 2 x USB Type-C (TBT4)
    USB 3.2 Gen 2 DP 1.4a
    PD 3.0); 1 x USB 3.2 Gen1 Type A
    Camera
    1x 1080P FHD IR/RGB Hybrid with Privacy Shutter and Dual Array Microphone
    Graphics
    1x Intel® Iris® Xe Graphics
    Monitor
    14" WUXGA
    Form Factor
    Convertible Notebook
  • Windows 11 Pro 25H2 Build 26200.8655 (Wifes)

    Yoga 7 2-in-1 14IML9 - Type 83DJ

    Processor: Intel® Core™ Ultra 7 155H Processor(Core™ Ultra 7 155H)

    Memory: 32GB LPD5X-7467

    Hard Drive: 1 TB SSD PCIe

    Wireless Network: 1x Wi-Fi 6E 2x2 AX; Bluetooth® 5.1 or above

    Ports: 1 x HDMI 2.1 TMDS; 1 x Novo Button; 1 x Combo Audio Jack
    2 x USB-C (USB 4.0)
    1 x USB-A 3.2 Gen 1

    Camera: 1080P FHD IR Hybrid with Dual Microphone

    Graphics: Intel® Arc™ Graphics

    Monitor: 14" 2.8K

    ...Where's my horse?

Latest Support Threads

Back
Top Bottom