Bacula-users

Re: [Bacula-users] Problems restoring data

2010-06-07 19:32:00
Subject: Re: [Bacula-users] Problems restoring data
From: Jerry Lowry <jlowry AT edt DOT com>
To: Doug Forster <dforster AT part DOT net>
Date: Mon, 07 Jun 2010 16:15:18 -0700
Well, the difference between the system is only about 7 minutes, so I don't think that would cause it. 

Any other ideas?  I don't want to lose anything at some point down the road.  We were able to get past it this time.
jerry

Doug Forster wrote:
Jerry,

I would check your backup server to ensure the correct time is listed there. There is usually an error from the bacula client if time is off with Linux hosts. I do not know if the same is true for windows systems. That is the only thing that I would think that would give you this discrepancy. especially since the time stamps are more like 4PM on June 3rd and not like 12:01 AM. That is more than a standard deviation of timezone would cause. 

On 06/04/2010 12:21 PM, jlowry wrote:
Hello users,

I have a user that wants to restore one particular directory as of  June 2.  Not a problem.  using bat with the version browser I go out to the users backup and based on the 'End Time' date I selected the correct 'JobID'.  I then walked thru the directory structure and select the directory to restore.  When I restore I always restore to a new directory structure, that way I don't make a mistake and wipe anything out.

When I look at the directory structure of the date of ' 2010=06-02 23:19:28' ( end time of backup) I find the directory restored but the dates are wrong.  The dates on the most recent files are from June 3.

-rw-r--r-- 1 root root  66332 Jun  1 14:02 p53a.frm
-rw-r--r-- 1 root root  68128 Jun  1 14:02 p53a21L.frm
-rw-r--r-- 1 root root  68128 Jun  1 14:02 p53a21.frm
-r--r--r-- 1 root root  50877 Jun  2 17:00 pdb.c
drwxr-xr-x 2 mark root   4096 Jun  2 17:02 SCCS
-rw-r--r-- 1 root root  10650 Jun  3 16:38 p53b_lnx.c
-rw-r--r-- 1 root root  11658 Jun  3 16:38 p53bioctl.c
-rw-r--r-- 1 root root 153803 Jun  3 16:38 p53bdep.cpp
-rw-r--r-- 1 root root  19874 Jun  3 16:38 edt_set.c
-r--r--r-- 1 root root   4263 Jun  3 16:39 trace.c
-r--r--r-- 1 root root   1116 Jun  3 16:39 synctest.c
-r--r--r-- 1 root root   2216 Jun  3 16:39 syncsec.c
-r--r--r-- 1 root root   4553 Jun  3 16:39 syncp53b.c
-r--r--r-- 1 root root  14133 Jun  3 16:39 setdebug.c
-r--r--r-- 1 root root  17251 Jun  3 16:39 rttest.c
-r--r--r-- 1 root root   2936 Jun  3 16:39 rtmodecode.c
-r--r--r-- 1 root root   3643 Jun  3 16:39 rtblktest.c
-r--r--r-- 1 root root  31813 Jun  3 16:39 pdbold.c
-rw-r--r-- 1 root root  51232 Jun  3 16:39 p53dbg.c
-rw-r--r-- 1 root root  87524 Jun  3 16:39 p53btest.c
-r--r--r-- 1 root root   3749 Jun  3 16:39 modecode.c
-r--r--r-- 1 root root  15391 Jun  3 16:39 libp53b.c
-r--r--r-- 1 root root 215758 Jun  3 16:39 libedt.c
-r--r--r-- 1 root root   9135 Jun  3 16:39 gtestsim.c
-r--r--r-- 1 root root   9471 Jun  3 16:39 gtest_hwint.c
-r--r--r-- 1 root root  11797 Jun  3 16:39 gtest.c
-r--r--r-- 1 root root   3839 Jun  3 16:39 embselect.c
-r--r--r-- 1 root root  43560 Jun  3 16:39 edt_trace.c
-rw-r--r-- 1 root root  69117 Jun  3 16:39 edt_lnx_kernel.c
-r--r--r-- 1 root root  19447 Jun  3 16:39 edt_error.c
-r--r--r-- 1 root root   1806 Jun  3 16:39 checkp53b.c
-r--r--r-- 1 root root  19865 Jun  3 16:39 bm.c
-r--r--r-- 1 root root   5988 Jun  3 16:39 bm2bc.c
-r--r--r-- 1 root root  12583 Jun  3 16:39 bctest.c
-r--r--r-- 1 root root   2920 Jun  3 16:39 bcsim.c
-r--r--r-- 1 root root   5143 Jun  3 16:39 bcblktest.c
-rw-r--r-- 1 root root  66332 Jun  3 16:46 p53rnc.frm
-rw-r--r-- 1 root root  66332 Jun  3 16:46 p53bnc.frm
-rw-r--r-- 1 root root  66332 Jun  3 16:46 p53anc.frm

Why do these files show up having these dates when the 'end time' of the backup is 0602 23:19:28?

If I restore the files from the previous days backup the dates are fine:

-r--r--r-- 1 root root   3839 Jun  1 13:33 embselect.c
-r--r--r-- 1 root root  43560 Jun  1 13:33 edt_trace.c
-rw-r--r-- 1 root root  69117 Jun  1 13:33 edt_lnx_kernel.c
-r--r--r-- 1 root root  19447 Jun  1 13:33 edt_error.c
-r--r--r-- 1 root root   5217 Jun  1 13:33 checkp53b.c
-r--r--r-- 1 root root  19865 Jun  1 13:33 bm.c
-r--r--r-- 1 root root   5988 Jun  1 13:33 bm2bc.c
-r--r--r-- 1 root root  12583 Jun  1 13:33 bctest.c
-r--r--r-- 1 root root   2920 Jun  1 13:33 bcsim.c
-r--r--r-- 1 root root   5143 Jun  1 13:33 bcblktest.c
-rw-r--r-- 1 root root  66332 Jun  1 14:02 p53rnc.frm
-rw-r--r-- 1 root root  66332 Jun  1 14:02 p53r.frm
-rw-r--r-- 1 root root  66332 Jun  1 14:02 p53bnc.frm
-rw-r--r-- 1 root root  66332 Jun  1 14:02 p53b.frm
-rw-r--r-- 1 root root  66332 Jun  1 14:02 p53anc.frm
-rw-r--r-- 1 root root  66332 Jun  1 14:02 p53a.frm
-rw-r--r-- 1 root root  68128 Jun  1 14:02 p53a21L.frm
-rw-r--r-- 1 root root  68128 Jun  1 14:02 p53a21.frm
drwxr-xr-x 2 mark root   4096 Jun  1 14:12 SCCS
-rw-r--r-- 1 root root  87350 Jun  1 14:23 p53btest.c
-rw-r--r-- 1 root root 155061 Jun  1 17:08 p53bdep.cpp

And when I restore the same directory from the backup of June 3 the dates are the same as June 2.

Is bacula pulling in both dates even though I only select the backup for June 2?

I'm at a loss right now for an answer.

thanks,
jerry
------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________ Bacula-users mailing list Bacula-users AT lists.sourceforge DOT net https://lists.sourceforge.net/lists/listinfo/bacula-users

------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo

_______________________________________________ Bacula-users mailing list Bacula-users AT lists.sourceforge DOT net https://lists.sourceforge.net/lists/listinfo/bacula-users

--

---------------------------------------------------------------------------
Jerold Lowry
IT Manager / Software Engineer
Engineering Design Team (EDT), Inc. a HEICO company
1400 NW Compton Drive, Suite 315
Beaverton, Oregon 97006 (U.S.A.)
Phone: 503-690-1234 / 800-435-4320
Fax: 503-690-1243
Web:
www.edt.com

 


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users
<Prev in Thread] Current Thread [Next in Thread>