Showing posts with label Backup Exec. Show all posts
Showing posts with label Backup Exec. Show all posts

Wednesday, September 23, 2009

Recovering a file from Backup


Earlier today I've received a call from one of my users asking to recover a file from backup. He explained that last week's power shutdown caused some files mess up in his home directory.
Blame it on the network, that's the way to go!

I wrote down the file name and exact path and loaded Backup Exec's Restore wizard. Looking at all my weekly full backups I found the Friday prior to the power shutdown and restored the file he was looking for. He wasn't happy.

The explanation I received was that "the system" saved a second copy of that file under a different name!
I had to insist it is not possible since systems do not save files or rename them and no other user has access to the home folder of that user.
More to the fire he claimed that the recovered file is older then the one he was looking for. At this point I had to ask him how does it relate to the power shutdown if whatever happened more then a week earlier???

Went back to Backup Exec and located the file from previous week where the creation date and modified date where exactly identical, similar to the date he created the file. That file also was "wrong".

At this point I innocently suggested that he might have saved it in a different location. 10 minutes and a long lecture on his methodical file organization system later he called again: He found the file under a different folder.

One technical tip I want to share from my experience this morning relate to the recovered file.
I did not want to recover the file to the original location (and by now you understand why). I usually recover files to the local disk at c:\BE_Recovery
When the recovered file come from a home folder the NTFS permissions are still in affect and you can't access it.
In order to see the files at \\Home\DomainName\Username, copy them to any other location or delete the folder and files when you're done, you have to do 2 things:
Add the domain admin with modify permissions
Allow permission inheritance to sub folders

Tuesday, August 18, 2009

Guidelines for a good Backup plan


I had to restore a file this morning using my B2D job. While I had no problems and everyone is happy I found it to be the perfect opportunity to go over my backup plan. It can’t hurt.

I backup 3 data types:
Email (Domino Server)
User data (aka files)
Active Directory

I’m using Backup Exec for all my backup jobs and most of the time I’m happy with the performance.

Domino backup is done using the Domino agent. Using this article as a reference I backup the Lotus\Domino\Data folder. Weekly cycle to tape with daily full backup to disk provide a strong backup. One important note that helps me keeping the backup in reasonable size is old users nsf files. When a user leave the company we still need to keep the mailbox (compliance, compliance, compliance) but it is not changing and there is no point in backing the same file every day. I have this folder with old nsf files that I backup once a quarter or after an employee left and the file was moved (that require shutting down the server so waiting for few mailboxes to pile up is a smart move).

User data files like emails change on a daily basis but unlike a mailbox that is one file that changes daily, there are thousands of different file that only few of them get changed daily or even weekly. I personally do not like the differential backup schema so I keep a full backup over the weekend and daily incremental backup on top of it. I also keep a full daily backup for important directories, those with critical data and frequent changes. Just in case. That is one of the big advantages of a small shop.

Active Directory is in IT perspective the most critical backup. Using this as a reference guideline it is important to understand the core idea: System State backup is the heart of AD backup and MUST be properly backed up.
Active Directory MUST be backed up in FULL BACKUP mode.
A good backup includes at least the system state and the contents of the system disk. Backing up the system disk ensures that all the required system files and folders are present so you can successfully restore the data.

One last aspect of a good backup plan is testing. You should recover random files on a regular basis. You do not want to be in the position where someone deleted an important file and you can’t restore it!