1.

Solve : Batch File for Backing up User Folder and all the contents within?

Answer»

Hi!
I have Windows 7 Professional and I create a LOT of files. I have an on line business and I need to get a backup every night. I bought a $1400. Nas Black Hawk 8TB machine to do that for me but for some reason, there are always issues with it. I contacted the company Several times and I always end up having to delete the files and start over. I just can't do this anymore as it takes too much time. I am now just using it as a huge network drive to store me files on.
Here is what I need it to do:

1. I need is a batch file that I can run from the desktop to initially copy the entire User Folder, Diane-702X
2. Name it DianeBackUp folder with the date (ex. DianeBU 7-2012)
3. The modified files should be put in a new folder and named with the current date so that I can keep all the updated files day by day. (ex. BU 7-5-12)
4. I would LIKE to keep the modified files in their dated folder for at least 30 days and then the oldest of the modified files folder should be removed.
So after 30 days, the oldest folder will be removed and the others stay. This way I have 30 days of older files I can refer to if I need them.
5. Every 30 days, the entire folder, Diane-L702X, should be backed up again and the previous full backup folder should be deleted.
The modified files in their dated folders should not be effected by the full backup of the Diane-L702X folder.

My path to my folder is: C:/Users/Diane-L702X. There are several folder contained in the Diane-L702X folder and most of those have sub folders also.
I want it on the desktop so that I can click it everyday to run it but I would also like it to run as soon as my computer starts up.

The Network Server:
System Information
Device Name NAS-SERVER
LAN 1 IP Address 192.168.1.64
RAID5 RAID Type Raid 5

Path to the Network:
Network/NAS-SERVER/DataBackup
There is a user name and password to access the server

I hope someone out there can help me as the software from the expensive network backup does not work for me. You would think that there would be options to do a simple task. They do allow you to pick your folder and files but if they are oddly named or if it is a system file, it dies. It also does not allow some files. I think that I should be allowed to backup what files I want.

BackupBlues,
Diane
[emailprotected]
609-296-1811
I think you would better off finding a better backup software. I have never heard of the one you have now. But there are plenty of really good free backup applications out there.

http://download.cnet.com/Easeus-Todo-Backup-Free/3000-2242_4-10964460.html
http://www.paragon-software.com/home/br-free/
http://www.2brightsparks.com/downloads.html#freeware
http://www.cobiansoft.com/cobianbackup.htm

Doing what you want with a batch file is probably possible but would be very tedious.Really? I just thought it would be SOMETHING simple like this:
Copy c:\users\Diane-L702X to Network/nas-server/DianeBU with today date
user name: Password:
Copy c:\users\Diane-L702X to Network/nas-server/BU with todays date if the files were changed
Delete BU folder if older than 30 days
If DianeBU folder date is older than 30 days, delete it and then Copy c:\users\Diane-L702X to Network/nas-server/DianeBU with today date

I don't know the syntax but I thought it would be easy for a batch file pro. I will check out the software you listed.
Thanks!
DianeYou did ask for a batch file. Yet many here think that batch is not a wise choice when other tools are free and work so easy. Butch should be used for spacial cases with unusual conditions.

A free tool called 'Sync Toy' fro Microsoft makes regular automatic backups easy. It is used to copy one folder set into another folder set, possibly on a network server. It LOOKS for just the differences. The same in batch is rather involved. But you could if you would.

http://www.microsoft.com/en-us/download/details.aspx?id=15155



Discussion

No Comment Found