Like to Create data backups From CMD command can i ?

Page 2 of 3 FirstFirst 123 LastLast

  1. Posts : 2,487
    Windows 10 Home, 64-bit
       #11

    MadPaxx said:
    yes i did i just need you to walk me through the command line

    give me an example and i will use the same
    thats all i need many thanks
    I haven't used that program in 3 or 4 years and when I did I didn't use the command line.

    So I can't help you with that.

    Not sure why you would insist on command line backup.
      My Computer


  2. Posts : 226
    Windows 10 PRO 64
    Thread Starter
       #12

    ignatzatsonic said:
    I haven't used that program in 3 or 4 years and when I did I didn't use the command line.

    So I can't help you with that.

    Not sure why you would insist on command line backup.
    Just trying some thing new and easy

    i already use Acronis boot from CD
    but i figured it would be much easer if i just set a command line

    any way it was a try
      My Computer


  3. Posts : 18,430
    Windows 11 Pro
       #13

    In your command prompt window, you first have to:
    cd c:\Program Files\FreeFileSync
      My Computer


  4. Posts : 226
    Windows 10 PRO 64
    Thread Starter
       #14

    essenbe said:
    Take a look at Robocopy. This is from sevenforums but works exactly the same on Windows 10 ROBOCOPY - Create Backup Script - Windows 7 Help Forums
    Ok Found it Many thanks now im set

    Like to Create data backups From CMD command  can i ?-ashampoo_snap_wednesday-august-15-2018_02h29m38s_003_.png
      My Computer


  5. Posts : 12,801
    Windows 11 Pro
       #15

    MadPaxx said:
    thank you for your help
    but its not the program i cant handle
    it me not understanding the cmd command

    if u can give me an example i will do the same Just replace C source and D destination

    This is what I use. There are probably better ways to do it, but this works for me. It makes a duplicate copy of my data files in a folder on my external drive, or wherever you choose to put it. The first time you run it, everything will be copied. Each time you run it after that, it will delete any files you delete from your data and add any files you add to your data. It will also copy and changes you make to a document or a folder. It takes a while the first time you run it. After that, it only does the changes which is usually very quick, depending on how often you run it and how many changes you made.

    e = copy all subfolders
    mir= Mirror. Make the backup folder exactly the same as the data folder
    np just means no progress counter
    tee means to show the results in the cmd window and the log it creates.
    log:backup_log.txt only means to name the backup log file backup_Log

    E:/Users is my data, the source file
    W:/Robocopy is the destination folder I created on an external hard drive

    This is the command robocopy E:\users W:\Robocopy /e /mir /np /tee /log:backup_log.txt

    I have a very simple batch file that I can just click and the backup runs.

    Code:
    echo
    robocopy E:\users W:\Robocopy /e /mir /np /tee /log:backup_log.txt
    pause
    I think I got all of that right.

    You could also use an imaging program, like free Macrium. It will create an image file of your data. You can mount the image file and go through it or copy/paste file from it. In the event of a serious failure, you can restore the entire image all at one time.
      My Computer


  6. Posts : 226
    Windows 10 PRO 64
    Thread Starter
       #16

    essenbe said:
    This is what I use. There are probably better ways to do it, but this works for me. It makes a duplicate copy of my data files in a folder on my external drive, or wherever you choose to put it. The first time you run it, everything will be copied. Each time you run it after that, it will delete any files you delete from your data and add any files you add to your data. It will also copy and changes you make to a document or a folder. It takes a while the first time you run it. After that, it only does the changes which is usually very quick, depending on how often you run it and how many changes you made.

    e = copy all subfolders
    mir= Mirror. Make the backup folder exactly the same as the data folder
    np just means no progress counter
    tee means to show the results in the cmd window and the log it creates.
    log:backup_log.txt only means to name the backup log file backup_Log

    E:/Users is my data, the source file
    W:/Robocopy is the destination folder I created on an external hard drive

    This is the command robocopy E:\users W:\Robocopy /e /mir /np /tee /log:backup_log.txt

    I have a very simple batch file that I can just click and the backup runs.

    Code:
    echo
    robocopy E:\users W:\Robocopy /e /mir /np /tee /log:backup_log.txt
    pause
    I think I got all of that right.

    You could also use an imaging program, like free Macrium. It will create an image file of your data. You can mount the image file and go through it or copy/paste file from it. In the event of a serious failure, you can restore the entire image all at one time.
    Great Info
    many thanks
      My Computer


  7. Posts : 226
    Windows 10 PRO 64
    Thread Starter
       #17

    Just another fast one

    this is what i was dying to remember yesterday

    Found it

    Like to Create data backups From CMD command  can i ?-ashampoo_snap_wednesday-august-15-2018_20h09m42s_001_.png

    How do you copy files from one drive to another drive?
      My Computer


  8. Posts : 31,593
    10 Home x64 (22H2) (10 Pro on 2nd pc)
       #18

    MadPaxx said:
    this is what i was dying to remember yesterday

    Found it
    XCOPY was a welcome addition to DOS 3.2 in 1986 and I've been using it ever since. The /S /E options are particularly useful as it will recreate the entire directory tree on the destination. You may have missed it, but I did mention Xcopy in post #5.

    RoboCopy is more powerful and can do far more than Xcopy, but for a simple copy of files/folders to another place they both work.
      My Computers


  9. Posts : 226
    Windows 10 PRO 64
    Thread Starter
       #19

    Bree said:
    XCOPY was a welcome addition to DOS 3.2 in 1986 and I've been using it ever since. The /S /E options are particularly useful as it will recreate the entire directory tree on the destination. You may have missed it, but I did mention Xcopy in post #5.
    RoboCopy is more powerful and can do far more than Xcopy, but for a simple copy of files/folders to another place they both work.
    Pity i missed the The /S /E options

    they did not mention that on the site

    so next time

    Still have one more question that no one has asked

    Now i have C backed up how do i use it to recover windows if i need to ?
    Any Help

    many thanks
      My Computer


  10. Posts : 2,487
    Windows 10 Home, 64-bit
       #20

    MadPaxx said:

    Now i have C backed up how do i use it to recover windows if i need to ?
    Any Help

    many thanks
    Backing up the individual files on the C drive isn't going to help you much in recovery of Windows.

    That typically requires imaging.

    There must be hundreds of threads on the topic on this forum.
      My Computer


 

  Related Discussions
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 00:49.
Find Us




Windows 10 Forums