Your Scheduled parameter mentioned in the Job defination of the client
should have a defination such as below :
Schedule {
Name = "EveryDays"
*Run = level=Full sun at 23:05*
Run = level=Incremental mon-sat at 23:05
}
Regards,
Rupen
Ralf Winkler wrote:
May i ask how bacula should know when you want to have a full backup?
From your definitions, there is only a incremental backup, but no full
backup.
I am sure, if you have such a line in your config, bacula will perform
a full backup too.
BR
Ralf
On 6/16/07, [EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>*
<[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote:
Hello everyone,
I write to you guys because I have a bad error...
bacula seems to work perfectly exept... well, it doesn't
upgrade from Incremental to full when needed... This means
I'm actually without valid backup, if something breaks...
How did I figure this out ? Well, I got a server called
servicos1 for example... it backups 1.4GB of data on it.
It's been a while it did not run a full backup, so I got
curious... Here are the volumes sizes
-rw-r----- 1 bacula wheel 53M Jun 14 04:01 Volume-servicos1-0001
-rw-r----- 1 bacula wheel 70M Jun 15 04:01 Volume-servicos1-0002
-rw-r----- 1 bacula wheel 51M Jun 16 04:01 Volume-servicos1-0003
-rw-r----- 1 bacula wheel 50M Jun 10 04:01 Volume-servicos1-0004
-rw-r----- 1 bacula wheel 54M Jun 11 04:01 Volume-servicos1-0005
-rw-r----- 1 bacula wheel 43M Jun 12 04:01 Volume-servicos1-0006
-rw-r----- 1 bacula wheel 46M Jun 13 04:01 Volume-servicos1-0007
I have in theory a backup per day and at the end of the week, a
full again.
Here is the output of "list jobs" and will be followed by the
director's
config...
+-------+-----------------+---------------------+------+-------+----------+---------------+-----------+
| JobId | Name | StartTime | Type | Level |
JobFiles |
JobBytes | JobStatus |
+-------+-----------------+---------------------+------+-------+----------+---------------+-----------+
| 7 | pierre3 | 2007-05-31 04:01:17 | B | I
| 0 |
0 | E |
| 11 | pierre3 | 2007-06-01 04:11:23 | B | F
| 83 |
2,660,884 | T |
| 16 | pierre3 | 2007-06-02 04:01:21 | B | I
| 0 |
0 | E |
| 21 | pierre3 | 2007-06-03 04:01:23 | B | I
| 0 |
0 | E |
| 26 | pierre3 | 2007-06-04 04:01:21 | B | I
| 0 |
0 | E |
| 30 | RestoreFiles | 2007-06-04 22:31:46 | R | F
| 0 |
0 | f |
| 31 | RestoreFiles | 2007-06-04 22:39:07 | R | F
| 0 |
0 | A |
| 32 | RestoreFiles | 2007-06-05 00:41:33 | R | F
| 0 |
0 | f |
| 33 | RestoreFiles | 2007-06-05 01:00:20 | R | F
| 218 |
137,623,357 | T |
| 36 | pierre3 | 2007-06-05 04:01:29 | B | I
| 0 |
0 | T |
| 41 | pierre3 | 2007-06-06 04:02:13 | B | I
| 0 |
0 | T |
| 45 | RestoreFiles | 2007-06-06 12:13:59 | R | F
| 400 |
180,580,296 | T |
| 49 | pierre3 | 2007-06-07 04:01:28 | B | I
| 0 |
0 | E |
| 55 | pierre3 | 2007-06-08 04:01:27 | B | I
| 0 |
0 | E |
| 60 | pierre3 | 2007-06-09 04:11:39 | B | I
| 0 |
0 | E |
| 63 | servicos1 | 2007-06-10 04:00:07 | B | I
| 621 |
51,721,246 | T |
| 65 | pierre3 | 2007-06-10 04:01:23 | B | I
| 0 |
0 | E |
| 66 | farmacialider50 | 2007-06-10 08:17:05 | B | I
| 0 |
0 | E |
| 67 | pierre2 | 2007-06-10 12:32:51 | B | F |
49,634 |
3,482,004,967 | T |
| 68 | servicos1 | 2007-06-11 04:00:07 | B | I
| 743 |
56,235,219 | T |
| 69 | banda1 | 2007-06-11 04:01:22 | B | I
| 3 |
16,461 | T |
| 70 | pierre3 | 2007-06-11 04:01:24 | B | I
| 0 |
0 | E |
| 71 | farmacialider50 | 2007-06-11 08:17:17 | B | I
| 196 |
14,945,658 | T |
| 72 | pierre2 | 2007-06-11 08:18:26 | B | I
| 0 |
0 | T |
| 73 | servicos1 | 2007-06-12 04:00:07 | B | I
| 676 |
44,456,630 | T |
| 74 | banda1 | 2007-06-12 04:01:19 | B | I
| 4 |
18,579 | T |
| 75 | pierre3 | 2007-06-12 04:01:21 | B | I
| 0 |
0 | E |
| 76 | farmacialider50 | 2007-06-12 08:17:16 | B | I
| 196 |
14,984,876 | T |
| 77 | pierre2 | 2007-06-12 08:18:39 | B | I
| 5 |
94,293 | T |
| 78 | servicos1 | 2007-06-13 04:00:07 | B | I
| 763 |
48,269,398 | T |
| 79 | banda1 | 2007-06-13 04:01:21 | B | I
| 3 |
16,390 | T |
| 80 | pierre3 | 2007-06-13 04:01:23 | B | I
| 0 |
0 | E |
| 81 | farmacialider50 | 2007-06-13 08:17:05 | B | I
| 195 |
15,012,602 | T |
| 82 | pierre2 | 2007-06-13 08:18:18 | B | I
| 0 |
0 | T |
| 83 | servicos1 | 2007-06-14 04:00:07 | B | I
| 922 |
55,295,577 | T |
| 84 | banda1 | 2007-06-14 04:01:24 | B | I
| 14 |
605,619 | T |
| 85 | pierre3 | 2007-06-14 04:01:26 | B | I
| 0 |
0 | E |
| 86 | farmacialider50 | 2007-06-14 08:16:34 | B | F
| 400 |
65,413,171 | T |
| 87 | pierre2 | 2007-06-14 08:19:35 | B | I
| 1 |
3,014 | T |
| 88 | servicos1 | 2007-06-15 04:00:07 | B | I
| 753 |
72,806,052 | T |
| 89 | banda1 | 2007-06-15 04:01:26 | B | F
| 3,430 |
24,610,797 | T |
| 90 | pierre3 | 2007-06-15 04:01:38 | B | I
| 0 |
0 | E |
| 91 | farmacialider50 | 2007-06-15 08:16:48 | B | I
| 197 |
15,228,842 | T |
| 92 | pierre2 | 2007-06-15 08:17:53 | B | I
| 0 |
0 | T |
| 93 | servicos1 | 2007-06-16 04:00:12 | B | I
| 779 |
53,298,975 | T |
| 94 | banda1 | 2007-06-16 04:01:28 | B | I
| 3 |
16,238 | T |
| 95 | pierre3 | 2007-06-16 04:01:31 | B | I
| 0 |
0 | E |
| 96 | farmacialider50 | 2007-06-16 08:16:41 | B | I
| 197 |
15,550,862 | T |
| 97 | pierre2 | 2007-06-16 08:17:49 | B | I
| 4 |
3,194 | T |
+-------+-----------------+---------------------+------+-------+----------+---------------+-----------+
Director's config for this client machine.
#
# Define the main nightly save backup job
# By default, this job will back up to disk in /tmp
Job {
Name = "servicos1"
Type = Backup
Level = Incremental
Client = "servicos1-fd"
FileSet = "servicos1-fileset"
Schedule = "EveryDay"
Storage = "servicos1-storage"
Messages = Standard
Pool = pool-servicos1
#JobDefs = "DefaultJob"
Write Bootstrap = "/var/db/bacula/servicos1.bsr"
Priority = 10
RunScript
{
RunsWhen = After
RunsOnFailure = yes
RunsOnSuccess = yes
Command = "/mycompany/bin/run-after-servicos1-job.sh"
}
}
FileSet {
Name = "servicos1-fileset"
Include {
Options {
compression=GZIP
signature=SHA1
verify=1
wildfile = "*.avi"
exclude = yes
}
File = /usr/local/
File = /var
File = /etc
File = /mycompany
File = /root
}
}
# Client (File Services) to backup
Client {
Name = servicos1-fd
Address = servicos1.mycompany.net <http://servicos1.mycompany.net>
FDPort = 9102
Catalog = MyCatalog
Password =
"N9C+tuKELRT5cibv6yt5g5y4Svpu9zmMB/S5SH9EXTk4t3" #
password for FileDaemon
File Retention = 6 days # 30 days
Job Retention = 7 days # six months
AutoPrune = yes # Prune expired Jobs/Files
}
# Definition of file storage device
Storage {
Name = servicos1-storage
# Do not use "localhost" here
Address = servicos1.mycompany.net
<http://servicos1.mycompany.net> # N.B. Use a fully
qualified
name here
SDPort = 9103
Password = "nj5AmgrVs22ecX8Bvg46y4bg56gytrZsC2MKECY1LBJ8L"
Device = servicos1-device
Media Type = File
}
Pool {
Name = pool-servicos1
Pool Type = Backup
Recycle = yes # Bacula can automatically
recycle Volumes
AutoPrune = yes # Prune expired volumes
Volume Retention = 6 days # one year
LabelFormat = "Volume-servicos1-"
Volume Use Duration = 23h
}
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
<mailto:Bacula-users@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/bacula-users
<https://lists.sourceforge.net/lists/listinfo/bacula-users>
--
Ralf Winkler
Senior Consultant
Mobile: +66 (0)8 9 927 6098
SafeComs Network Security Consulting Co., Ltd.
21/16 Premier Condominium, 4th Floor, Unit 401,
Sukhumvit 24 road, Klongton, Klongtoey
Bangkok 10500 Thailand
P: +66 (0)2 259 6281-3
F: +66 (0)2 661 1271
Note that Bangkok is +7 hrs GMT
------------------------------------------------------------------------
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
------------------------------------------------------------------------
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Bacula-users mailing list
Bacula-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bacula-users