Solved

How to copy documents folder to network folder automatically as backup?

Posted on 2016-10-29
15
88 Views
Last Modified: 2016-11-07
Hi Expert
How to setup PC to copy documents folder in C drive to network folder automatically as backup? My PC is win 7.
Thank you
0
Comment
Question by:eemoon
  • 5
  • 4
  • 3
  • +2
15 Comments
 
LVL 93

Assisted Solution

by:John Hurst
John Hurst earned 125 total points
ID: 41865279
I use Sync Back Pro do to this.

You can set it to a schedule and back up at a certain time.
You could run it as a task in Task Scheduler to backup upon startup.
You might also be able to kick it off as a logoff script, but I have not tried that.

I just run it whenever I change a bunch of files and last thing before shutting down my ThinkPad.
0
 
LVL 53

Expert Comment

by:Joe Winograd, EE MVE
ID: 41865280
I've been using SyncBack from 2BrightSparks for many years:
http://www.2brightsparks.com/

I started with their SE version and then moved to their Pro version. They also have a Free version, which I've installed for many users (it works well, as long as you don't need any SE or Pro capabilities). Here's a comparison table for all three versions:
http://www.2brightsparks.com/syncback/compare.html

They all can do what you're looking for (even the Free one). I use it the same way you're looking to use it, i.e., backing up my W7 computers automatically to a network folder (on a local NAS). I also use it to back up to SD and CF cards, external USB and firewire drives, as well as to FTP to an offsite NAS. It utilizes the Windows Task Scheduler to schedule the automatic backups. I run numerous backup profiles during the day...every hour of every day...and other backups daily during the wee hours. It allows you to specify the number of versions of a file to keep, which has saved me many times. The Free version may meet your needs, but even the SE and Pro versions are reasonably priced. This is extraordinarily good software...I would not be without it! Regards, Joe

P.S. I added Storage Software as a Topic to attract more of the right experts for your question.
0
 

Author Comment

by:eemoon
ID: 41865294
Thank you for your fast reply. I like John's idea. I want to keep two copies in network folder. once the pc create new copy, it will delete older one from two copies automatically. can i do that?
0
NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

 
LVL 93

Expert Comment

by:John Hurst
ID: 41865302
The backup method we proposed will not delete alternative backups. You could set up 2 backups and sync to both using separate profiles. I have done something similar to keep backups on two different drives.
0
 
LVL 88

Expert Comment

by:rindi
ID: 41865323
Rather than saving the data locally, you should do that on the server in the first place, and then backup your server. That's what a server is for after all. You store everything centrally on the server and only need to backup one machine.
0
 
LVL 53

Assisted Solution

by:Joe Winograd, EE MVE
Joe Winograd, EE MVE earned 125 total points
ID: 41865343
> I want to keep two copies in network folder. once the pc create new copy, it will delete older one from two copies automatically. can i do that?

Yes! You may keep as many copies as you want. As I mentioned in my first post, SyncBack has a feature called Versioning. However, that feature is not in the Free version — it's in only SE and Pro. It allows you to specify the number of copies of a file that it will keep. When it reaches that limit, in will delete the oldest one. Here's a screenshot of one of my backup profiles with Versioning configured to keep 20 copies for zero days (which means forever):

SyncBack SE-Pro Versioning
Regards, Joe
0
 
LVL 24

Assisted Solution

by:NVIT
NVIT earned 250 total points
ID: 41865368
Using a built-in method, i.e. no 3rd party programs, use robocopy or xcopy, and 2 scheduled task triggers to run it.

Task action 1:
robocopy /e /r:1 /w:1 /dcopy:t "c:\users\username\documents" "\\serverne\sharename\backups\copy1"

Open in new window

Task action2:
robocopy /e /r:1 /w:1 /dcopy:t "c:\users\username\documents" "\\serverne\sharename\backups\copy2"

Open in new window

0
 
LVL 53

Expert Comment

by:Joe Winograd, EE MVE
ID: 41865375
Adding to my previous post, if you want to keep two (or more) copies of the same file in different folders (or even on different devices), it can also do that. In other words, not just Versioning of a file, but multiple copies of it. I do that, too, as you can see in the list of some of my profiles:

SyncBack copy to multiple locations
The "J" drive is my data drive and it gets backed up to many different devices/folders, both onsite and offsite, all throughout the day and night. Regards, Joe
0
 
LVL 93

Expert Comment

by:John Hurst
ID: 41865378
I know there is a built in command line, but I prefer the east flexibility of the GUI available in Sync Back Pro.
0
 
LVL 53

Expert Comment

by:Joe Winograd, EE MVE
ID: 41865438
Putting a +1 on John's comment about the GUI. It is excellent, providing a flexible, robust, easy-to-use interface for a product that has a large number of options. Here's what the GUI looks like with one of the options expanded (Copy/Delete>Advanced):

SyncBack GUI
However, using the GUI ultimately results in a command line that is called in Task Scheduler, such as this one from one of my actual backup profiles — in fact, the one shown above (this is from the Actions tab in Task Scheduler):

C:\Program Files (x86)\2BrightSparks\SyncBackPro\SyncBackPro.exe -m "Backup J to M"

Open in new window

Regards, Joe
0
 

Author Comment

by:eemoon
ID: 41867513
Thank you so much for your reply. I would like to use application from windows7. So the below commands need to perform. how can i do that? type it into text file and then put it into Action of Task Scheduler? If windows 7 has GUI to do that, it would be great


Task action 1:
 robocopy /e /r:1 /w:1 /dcopy:t "c:\users\username\documents" "\\serverne\sharename\backups\copy1"

Select all
 
Open in new window
Task action2:
 robocopy /e /r:1 /w:1 /dcopy:t "c:\users\username\documents" "\\serverne\sharename\backups\copy2"
0
 
LVL 93

Expert Comment

by:John Hurst
ID: 41867527
Robocoy does not have a GUI interface. Sync Toy might, but I do not trust Sync Toy and will not use it.
0
 
LVL 53

Expert Comment

by:Joe Winograd, EE MVE
ID: 41867539
> how can i do that? type it into text file and then put it into Action of Task Scheduler? If windows 7 has GUI to do that, it would be great

Yes, you can do it in Task Scheduler, which has a very nice GUI in W7 for creating tasks (and you are right about putting the calls to Robocopy in the Action tab). This 5-minute EE video Micro Tutorial explains how to do it:
How to use the Windows Task Scheduler - An Introduction

Regards, Joe
0
 
LVL 24

Accepted Solution

by:
NVIT earned 250 total points
ID: 41867569
@eemoon

- Pick the Windows Start button.
- Type Task Scheduler. The icon should appear. Pick it to start Task Scheduler
- On menu, pick Action. Pick Create Basic Task.
- Give the task a Name and Description. Backup 1 should be good. Pick Next.
- Set desired Trigger. In your case, pick Daily. Pick Next.
- Enter desired Start date and time. Pick Next.
- For Action, choose "Start a program". Pick Next.
- In the Program/Script field, type robocopy
- In the Add Argument field, paste the rest of the robocopy line, i.e. /e /r:1 /w:1 /dcopy:t "c:\users\username\documents" "\\serverne\sharename\backups\copy1"
- Pick Next.
- On the Finish page, pick Finish.

Repeat above for the second robocopy copy. Of course, it will have a different Argument values based on your 2nd robocopy: /e /r:1 /w:1 /dcopy:t "c:\users\username\documents" "\\serverne\sharename\backups\copy2"

Also, be sure the Trigger date and times differ from the first robocopy, so that they run at different times.

Regarding your desire to "...delete older one from two copies automatically", you need to add the /mir switch, i.e. /mir /e /r:1 /w:1 /dcopy:t "c:\users\username\documents" "\\serverne\sharename\backups\copy1". This way, you will always have 2 backup copies.
0
 

Author Comment

by:eemoon
ID: 41878150
Thank you NVIT and others.
0

Featured Post

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

New Windows 7 Installations take days for Windows-Updates to show up and install. This can easily be fixed. I have finally decided to write an article because this seems to get asked several times a day lately. This Article and the Links apply to…
By default the complete memory dump option is disabled in windows . If we want to enable the complete memory dump for a diagnostic purpose, we have a solution for it. here we are using the registry method to enable this.
This tutorial will walk an individual through setting the global and backup job media overwrite and protection periods in Backup Exec 2012. Log onto the Backup Exec Central Administration Server. Examine the services. If all or most of them are stop…
This Micro Tutorial will give you basic overview of the control panel section on Windows 7. It will depth in Network and Internet, Hardware and Sound, etc. This will be demonstrated using Windows 7 operating system.

792 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question