1.    30 Oct 2016 #1

    Batchfile to automatically backup a folder


    I have tried several free file/folder backup utilities, with not much success.

    the most success I had was with backup maker, but although it states free for private use, it still pops,up a nag screen occaisonly, I could accept this better , if I jones in advance, rather than having installed it and learnt the program and set up a backup....

    the other her programs were confusing and seemed to want to backup my entire hard drive, even though I never set it to....maybe it's just me, I don't know.

    could someone please assist me by writing a batchfile or VBS script, with the following options.
    1-choose a source folder
    2-chose a destination path for the backed up folder
    3-each backup to be appended with the system date and time.
    4-hopefully allow the backed up folder to be verified
    5-allow backups to be performed at PC startup automatically.
    6-produce a message on successfull /verified backup

    or maybe someone knows of a free program to do this...

    thanks
      My System SpecsSystem Spec


  2. Join Date : Dec 2015
    Posts : 2,358
    Windows10
       30 Oct 2016 #2

    reddwarf4ever said: View Post
    I have tried several free file/folder backup utilities, with not much success.

    the most success I had was with backup maker, but although it states free for private use, it still pops,up a nag screen occaisonly, I could accept this better , if I jones in advance, rather than having installed it and learnt the program and set up a backup....

    the other her programs were confusing and seemed to want to backup my entire hard drive, even though I never set it to....maybe it's just me, I don't know.

    could someone please assist me by writing a batchfile or VBS script, with the following options.
    1-choose a source folder
    2-chose a destination path for the backed up folder
    3-each backup to be appended with the system date and time.
    4-hopefully allow the backed up folder to be verified
    5-allow backups to be performed at PC startup automatically.
    6-produce a message on successfull /verified backup

    or maybe someone knows of a free program to do this...

    thanks
    Why not use the inbuilt backup tool (File History Backup) - plenty of guides on web.
      My System SpecsSystem Spec

  3.    30 Oct 2016 #3

    Didn't think,it covered all my requirements....will have a look

    update, it doesn't appear to have an option to backup when windows starts or append file names with the date and time...
    Last edited by reddwarf4ever; 30 Oct 2016 at 17:13.
      My System SpecsSystem Spec


  4. Join Date : Oct 2013
    Covington, Louisiana
    Posts : 519
    Windows 10 Pro 64
       30 Oct 2016 #4

    I use SyncToy from MS to backup my folders. It has two option to auto run folder backups.

    It can use the cmd prompt or add the cmd prompt to the Windows Scheduler. The HELP menu in SyncToy has all the information but here is a quick quote.

    Run SyncToy from a Command Line

    SyncToy can be run from the command line to provide support for scheduling or automating folder pair execution. The command line executable by default is located at: [System Drive]\Program Files\SyncToy 2.1\SyncToyCmd.exe. SyncToy does not support running multiple copies of SyncToyCmd.exe at the same time. If a second instance of SyncToyCmd.exe is executed, there will be no errors and the command will not be executed.

    The parameters provided by this command line interface are described below:
    • -R Run all folder pairs that are marked as Active For Run All.
    • -R [Name] Run the named folder pair (only one folder pair can be specified).


    Usage Examples:
    • SyncToyCmd -R MyFolderPair
    • SyncToyCmd -R
    Hope this helps.

    Jim
      My System SpecsSystem Spec

  5.    30 Oct 2016 #5

    Thanks, will have a look
      My System SpecsSystem Spec


  6. Join Date : Jul 2016
    Crewe Cheshire
    Posts : 364
    windows 10
       30 Oct 2016 #6

    In built robocopy get a free gui to write script for you this is a MS product been around for years very fast Utility Spotlight: Robocopy GUI
      My System SpecsSystem Spec


  7. Join Date : Aug 2016
    S/E England
    Posts : 807
    10 Home x64 (1607), Pro x86 (1511)
       30 Oct 2016 #7

    reddwarf4ever said: View Post
    update, it doesn't appear to have an option to backup when windows starts or append file names with the date and time...
    File History can be set to run every 10 minutes. It does append date/time - look in your File History folder. For example, in mine a backed up copy of a desktop.ini is named: desktop (2016_10_28 21_03_57 UTC).ini
      My System SpecsSystem Spec

  8.    31 Oct 2016 #8

    Need it to backup at windows startup.....using backup maker and just have to put up with the splash screeen advert....
    thanks
      My System SpecsSystem Spec


  9. Join Date : Dec 2015
    Posts : 2,358
    Windows10
       31 Oct 2016 #9

    reddwarf4ever said: View Post
    Didn't think,it covered all my requirements....will have a look

    update, it doesn't appear to have an option to backup when windows starts or append file names with the date and time...
    It store multiple copies with date and time stamps (see picture below) etc. Re backup - just plug in external drive and it will backup. You can probably run a task from task scheduler on login.



    Click image for larger version. 

Name:	2016_10_31_15_08_461.png 
Views:	11 
Size:	12.9 KB 
ID:	108341
      My System SpecsSystem Spec

  10.    31 Oct 2016 #10

    Thanks everyone, got enough to go on now


    .......
      My System SpecsSystem Spec


 


Similar Threads
Thread Forum
Backup of Users folder seen as system folder post Win10 clean install
Hi All, I've recently setup a clean install of Win10 onto a new system. Prior to this I backed up my 'Users' folder from the old setup (also Win10) onto my d:\ drive, on a second HDD. Now that the system is up and running, I've noticed that the...
General Support
Automatically pin shortcuts in folder
Where dose windose 10 keep the real pinned information? I moved all my shortcuts over but it ignores them in the "AppData\Roaming\Microsoft\Internet Explorer\Quick Launch\User Pinned\TaskBar" folder, it will put a duplicate there once I re pin it...
General Support
Solved Open a website (NOT a folder) in its own window automatically.
Example : I have Tenforums.com opened. Now I access TechNet forum. I would like to have TechNet opened in its own window. I know I can always drag it out from the tab and make it its own window. I just want it done automatically. Thank you.
Browsers and Email
Folder rename prompt closes automatically.
Hi all, I'm using a custom built desktop with Windows 10 Pro. I'm having issues when I rename a folder. It closes the rename prompt on its own in about 2-3 seconds after I've clicked rename. How do I fix this? Also this may not be related but a...
General Support
Folder go to the top automatically
Hey, I have this weird issue with windows explorer. Sometimes when I open a folder and open a file in it, it scrolls it up automatically without me doing it. It happens sometimes and I don't know what causing that to happen. Also, I have a...
General Support
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

Designer Media Ltd

All times are GMT -5. The time now is 13:34.
Find Us
Twitter Facebook Google+



Windows 10 Forums