Difference between revisions of "Backup on Windows"

From ITSwiki
Jump to: navigation, search
[unchecked revision][unchecked revision]
(More Background Information)
(robocopy sessions)
Line 35: Line 35:
  
 
====robocopy sessions====
 
====robocopy sessions====
 +
 +
If there is no local immbackup.ini file, the default ini file with a standard set of folders to back up is used.
 +
 +
If you need to change which folders are backed up or not backed up, you have to edit a local ini file. This file will be used instead of the default ini file.
  
 
If c:\util\username\immbackup.ini does not exists copy \\nas1.imm.dtu.dk\util\immbackup.ini to <br /> c:\util\username\immbackup.ini (''username'' is your logon name, e.g. 'abcd')
 
If c:\util\username\immbackup.ini does not exists copy \\nas1.imm.dtu.dk\util\immbackup.ini to <br /> c:\util\username\immbackup.ini (''username'' is your logon name, e.g. 'abcd')

Revision as of 14:13, 29 April 2016

This howto describes how to back up data stored locally on Windows PC's (desk- and laptops).

For a description of the general backup concepts please refer to this link.

The information found on this page is specific for windows PC's. Linux, Mac or other *NIX PC users should refer to the 'rzyncbackup' guide found here.

General information about the DTU Compute backup program

This backup program is run the first time each day a Windows user logs on to the Windows domain. Therefore remember to logout when you leave DTU Compute. DTU Compute backup may also be run on demand. For this setup please contact ITSupport . Please note, that your laptop/PC must be connected to the cabled network at DTU Compute (not wireless) and your laptop/PC must be registered by ITS.

The program is especially useful for Notebook users that can not use our file servers for general storage of data, but need local copies when they are outside DTU Compute.

Customization

As default the backup program uses a server side initialization file for defining the files and directories to backup. The program can be customized to special needs by copying this . Per default Documents, Desktop plus various "settings directories" are being backed up (Internet Explorer bookmarks, Firefox settings, etc.).

Technique

The backup is using Robocopy for creating a server side copy of your local data. This server side copy is always online and is included in the nightly backup to tape. Robocopy is a Microsoft utility that can synchronize files and directories. The synchronization method is used in order to only copy data that has changed since the last backup.

To check what has been backed up

The files are backup to the share \\nas1.compute.dtu.dk\backups under username -> machine name . The structure is rather self-explaining.

Note: please do not manually write to this share - files here should only be written by the immbackup utility.

How to

...make sure that a backup is performed

Whenever the user log on to the PC/notebook and the PC is attached to the DTU Compute network immbackup will be executed. However, if the user already logged on earlier the same day no backup will be performed, i.e. at most one backup per day. If an extra backup is desired, run immbackup.exe manually without any arguments. Do this by go to \\nas1.compute.dtu.dk\util and find the immbackup.exe and run it.

...add folders to the backup set.

robocopy sessions

If there is no local immbackup.ini file, the default ini file with a standard set of folders to back up is used.

If you need to change which folders are backed up or not backed up, you have to edit a local ini file. This file will be used instead of the default ini file.

If c:\util\username\immbackup.ini does not exists copy \\nas1.imm.dtu.dk\util\immbackup.ini to
c:\util\username\immbackup.ini (username is your logon name, e.g. 'abcd')

Edit the sections [robocopyfolders2include], [robocopyfolders2exclude] and [robocopyfiles2exclude] according to need.

...restore files which have been backed up.

Look for the files under \\nas1.imm.dtu.dk\Backups\username\pcname\robocopy\driveletter\...


If the files are not there (because the desired file(s) is not from the most the recent robocopy session) you might find it using snapshots: look for the folder \\nas1.imm.dtu.dk\Backups\username\pcname\robocopy\~snapshot and go to the folder nightly.0 for how it looked last midnight, nightly.1 2 nights ago, etc. For older versions than one week, please contact ITSupport which will then restore from tape. Describe which files/folders and from which day.

More Background Information

See the following document.