On 09/26/2018 10:21 AM, Donna Hofmeister wrote:
> here's a directory listing for one of my systems that i backup to disk using
> bacula:
> 
> -rw-r----- 1 root root 1073737486 Sep  3 00:21
> Vol-wilbur-fd-File-20180525-1307-5-18
> -rw-r----- 1 root root      64757 Sep  6 00:05
> Vol-wilbur-fd-File-20180525-1346-5-21
> -rw-r----- 1 root root  457116760 Aug 31 00:43
> Vol-wilbur-fd-File-20180531-2307-47-73
> -rw-r----- 1 root root  823524551 Sep  2 00:09
> Vol-wilbur-fd-File-20180601-2309-53-79
> -rw-r----- 1 root root   26998392 Sep  3 02:23
> Vol-wilbur-fd-File-20180604-2308-65-95
> -rw-r----- 1 root root     387319 Sep  5 00:05
> Vol-wilbur-fd-File-20180605-2311-71-102
> -rw-r----- 1 root root  564021120 Sep  6 00:40
> Vol-wilbur-fd-File-20180606-2308-77-110
> -rw-r----- 1 root root 1073737929 Sep 13 00:32
> Vol-wilbur-fd-File-20180608-2305-83-116
> -rw-r----- 1 root root  452439405 Sep 13 00:34
> Vol-wilbur-fd-File-20180608-2307-83-117
> -rw-r----- 1 root root  728482499 Sep 14 23:09
> Vol-wilbur-fd-File-20180609-2305-89-121
> -rw-r----- 1 root root 1073737938 Sep 15 23:38
> Vol-wilbur-fd-File-20180610-2308-95-132
> -rw-r----- 1 root root 1073737897 Sep 16 23:38
> Vol-wilbur-fd-File-20180611-2305-101-143
> -rw-r----- 1 root root     258296 Sep 18 23:05
> Vol-wilbur-fd-File-20180613-2306-113-154
> -rw-r----- 1 root root  882710992 Sep 18 23:09
> Vol-wilbur-fd-File-20180613-2306-113-155
> -rw-r----- 1 root root  500824681 Sep 19 23:43
> Vol-wilbur-fd-File-20180614-2308-119-165
> -rw-r----- 1 root root    5556210 Sep 21 23:07
> Vol-wilbur-fd-File-20180615-2307-125-171
> -rw-r----- 1 root root 1073685732 Sep 23 23:12
> Vol-wilbur-fd-File-20180617-2306-137-186
> -rw-r----- 1 root root 1073737883 Sep 23 23:22
> Vol-wilbur-fd-File-20180617-2309-137-187
> *-rw-r----- 1 root root  824325732 Sep 25 23:09
> Vol-wilbur-fd-File-20180618-2305-143-197*
> -rw-r----- 1 root root   10358557 Aug 29 00:05
> Vol-wilbur-fd-File-20180619-2307-149-203
> -rw-r----- 1 root root 1073737823 Sep  3 00:10
> Vol-wilbur-fd-File-20180702-0113-221-237
> -rw-r----- 1 root root 1073737722 Sep  3 00:29
> Vol-wilbur-fd-File-20180702-0157-221-238
> -rw-r----- 1 root root 1073737940 Sep  3 00:54
> Vol-wilbur-fd-File-20180702-2305-227-244
> -rw-r----- 1 root root 1073737891 Sep  3 01:23
> Vol-wilbur-fd-File-20180704-2305-239-245
> -rw-r----- 1 root root    2333013 Sep  4 00:05
> Vol-wilbur-fd-File-20180705-2305-245-246
> *-rw-r----- 1 root root        248 Sep 14 23:05
> Vol-wilbur-fd-File-20180709-2305-269-253*
> 
> you can see that last night's backup was written
> to *Vol-wilbur-fd-File-20180618-2305-143-197*. the date embedded in the file's
> name is 20180618 not 20180925 which was my intention when i added the
> following to my bacula-dir.conf file:
> 
>  Label Format         =
> "Vol-${Client}-${Pool}-${Year}${Month:p/2/0/r}${Day:p/2/0/r}-${Hour:p/2/0/r}${Minute:p/2/0/r}-${JobId}-${NumVols}"
> 
> i guess to answer another question -- i have other systems that *do not* use
> bacula that also do nightly backups. i use a similar naming scheme (of
> embedding the date in the file name) for these systems. at a glance, i know
> what file i would want to use to do a restore from "last night's" backup, for
> example.
> 
> obviously, i'm not understanding something about bacula.  anyone want to
> explain?      - donna

Hello Donna,

Check your backup joblog(s) from last night.

I suspect that this volume from June 18th was recycled.

You probably want to disable volume recycling in your Pool configurations
(Recycle = no), and/or use a setting like "UseVolumeOnce = yes" so that you
get the desired results. Although this UseVolumeOnce option is documented to
phased out at some point in favor of setting "MaximumVolumeJobs = 1"

Chapter 20 "Automatic Volume Recycling", and chapter 12.16 "The pool Resource"
 in the main manual explains some of this pretty well.

Hope this helps.

Bill


-- 
Bill Arlofski
http://www.revpol.com/bacula
-- Not responsible for anything below this line --


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

Reply via email to