• April 19, 2024, 08:58:22 AM
  • Welcome, Guest
Please login or register.

Login with username, password and session length
Advanced search  

News:

This Forum Beta is ONLY for registered owners of D-Link products in the USA for which we have created boards at this time.

Author Topic: Trying to Backup Laptop to NAS-320  (Read 2444 times)

Barney1963

  • Level 1 Member
  • *
  • Posts: 18
Trying to Backup Laptop to NAS-320
« on: February 05, 2014, 09:13:28 AM »

I have attempted to backup my C drive three times and on each occasion it has failed.
Here are the logs :-



What could be causing the problem?

Barney
Logged

ivan

  • Level 8 Member
  • ***
  • Posts: 1480
Re: Trying to Backup Laptop to NAS-320
« Reply #1 on: February 05, 2014, 01:28:10 PM »

How are you setting up your proposed backup?  The Remote Backups application on the NAS is normally for backing up the NAS to either another NAS or remote system.

The easiest way is to open a command window the type in:  XCOPY c:\* <drive letter of nas drive>\C_backup /h/o/t/s/e/r/v  then hit enter but make sure you have the 'C_backup' directory on your NAS first.

That line is what we use in scripts to backup the working directories on our various machines to the NAS every night  OK, in our case the specific directory to copy is named and the scripts create and delete directories on the NAS as necessary so that we always have the last 4 days backed up.
Logged

Barney1963

  • Level 1 Member
  • *
  • Posts: 18
Re: Trying to Backup Laptop to NAS-320
« Reply #2 on: February 05, 2014, 02:14:11 PM »

Hi thanks for the reply.
When I execute that command I get a warning :-
Quote
File creation error - This security ID may not be assigned as the owner of this object.

Unable to create directory - Z:\C_Backup\$AVG
I have created the directory C_Backup on drive Z:

What am I doing wrong?
I am logged in as the admin on my windows7 laptop.

Barney
Logged

ivan

  • Level 8 Member
  • ***
  • Posts: 1480
Re: Trying to Backup Laptop to NAS-320
« Reply #3 on: February 05, 2014, 04:19:03 PM »

OK, I am not very familiar with Win 7 (we don't use windows here) but the command must be issued from an administrator account otherwise the security built into win 7 goes nuts.

There may be something in XCOPY in win 7 that will override the security settings but how you would find that I don't know (help xcopy or xcopy /? in a command window might give all the options)

The other thing you should be aware of is that command will dump everything on drive C: to the NAS except, I think open files.  Depending on what exactly you want to do (do you want a copy of everything including the operating system or just all your data files) there may be other options.  For instance, we have disk images of clients systems so that if a disk goes down or we need to wipe the disk all we have to do is copy the image back to the disk and OS and programs are there ready to go, then we copy back the daily backup from the NAS and they are back in business ( the longest down time with that system was 2 hours and that was because we had to wait for a replacement drive to be delivered).

If you need a copy of the state of your disk there are several free disk imaging programs that will boot from CD and create an image file over a network to another device (NAS).  Just remember that win 7 uses a small hidden boot partition so you will need to include that in the image.

If, on the other hand, you only need to backup your data you should make a batch file that has several xcopy statements for copying different root directories.  For instance, the machine I'm typing this on has its working data files on drive F:  so the xcopy for that is:  XCOPY f:\* j:\f-bak1 /h/o/t/s/e/r/v  and everything on drive F: is copied, but there may also be something that was downloaded to the download directory on drive E: so the next xcopy statement is:  XCOPY e:\download\* j:\back1-down /h/o/t/s/e/r/v

I hope this may be of some help.
Logged