Re: [Bacula-users] Full backup every day instead of Incremental backup
On Mon, Jan 16, 2012 at 19:14, Alan Brown a...@mssl.ucl.ac.uk wrote: But Bacula make a full backup each day: Is the new job starting before the old one finished? Hi Alan, no, jobs finished on time. -- Sebastien Douche sdou...@gmail.com Twitter: @sdouche / G+: +sdouche -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Full backup every day instead of Incremental backup
On Mon, Jan 16, 2012 at 15:05, Sebastien Douche sdou...@gmail.com wrote: Why mday are set? I'm a bit lost :(. Ok, it's work with that: Schedule { Name = WeeklyCycle Run = Level=Full on 1, 8, 15, 22, 29 at 23:05 Run = Level=Incremental 2-7, 9-14, 16-21, 23-28, 30-31 at 23:05 } Schedule: name=WeeklyCycle -- Run Level=Full hour=23 mday=0 7 14 21 28 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=0 1 2 3 4 5 6 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 -- Run Level=Incremental hour=23 mday=1 2 3 4 5 6 8 9 10 11 12 13 15 16 17 18 19 20 22 23 24 25 26 27 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=0 1 2 3 4 5 6 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 16-Jan 23:05 backup-dir JobId 55: Start Backup JobId 55, Job=Fileserver.2012-01-16_23.05.00_59 16-Jan 23:05 backup-dir JobId 55: Using Device File 16-Jan 23:05 fileserver-fd JobId 55: DIR and FD clocks differ by -4 seconds, FD automatically compensating. 16-Jan 23:05 backup-sd JobId 55: Volume Inc0032 previously written, moving to end of data. 16-Jan 23:05 backup-sd JobId 55: Ready to append to end of Volume Inc0032 size=117761375 16-Jan 23:06 backup-sd JobId 55: Job write elapsed time = 00:00:17, Transfer rate = 0 Bytes/second 16-Jan 23:06 backup-dir JobId 55: Bacula backup-dir 5.0.2 (28Apr10): 16-Jan-2012 23:06:07 Build OS: x86_64-pc-linux-gnu debian squeeze/sid JobId: 55 Job:Fileserver.2012-01-16_23.05.00_59 Backup Level: Incremental, since=2012-01-15 23:12:03 Client: fileserver-fd 2.4.4 (28Dec08) x86_64-pc-linux-gnu,debian,lenny/sid FileSet:Fileserver 2012-01-12 23:05:00 Pool: BackupInc (From Job IncPool override) Catalog:SA1 (From Client resource) Storage:BackupFile (From Pool resource) -- Sebastien Douche sdou...@gmail.com Twitter: @sdouche / G+: +sdouche -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Disk backup strategy advice / help
On Mon, Jan 16, 2012 at 19:15, Adrian Reyer bacula-li...@lihas.de wrote: Well, as you copy the matching catalog as well it should just be fine. It depends all on what you want to be your backup be for. In my case I want to be save from loosing single/some backup media while the backup server is still fine as I run redundant servers anyway. You obviously plan for a complete backup system breakdown on the expense of a harder time while restoring single lost media. On the other hand, if I experience a complete backup server outage I have to bscan the offsite tapes. Benefits of both ways you get by e.g. - copyjob for media offsite, if some medium fail, the copy job gets active if you delete it. - sql-server replication offsite, alternatively dumprestore - having all configuration files ready offsite. As I run 'Linux-VServers' I would just rsync the backup-server itself. Thank you Adrian for your explanation. -- Sebastien Douche sdou...@gmail.com Twitter: @sdouche / G+: +sdouche -- Keep Your Developer Skills Current with LearnDevNow! The most comprehensive online learning library for Microsoft developers is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3, Metro Style Apps, more. Free future releases when you subscribe now! http://p.sf.net/sfu/learndevnow-d2d ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Disk backup strategy advice / help
On Wed, Jan 4, 2012 at 22:52, Adrian Reyer bacula-li...@lihas.de wrote: Hi Adrian I think bacula is not the ideal tool for running additional offsite backups. And very likely rsync is not a good way if you use bacula. I rsync data, catalog and bsr files on external disks and I would know what it's not a goold solution. -- Sebastien Douche sdou...@gmail.com Twitter: @sdouche / G+: +sdouche -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Run scripts fails
On Tue, Dec 27, 2011 at 16:13, Konstantin Khomoutov flatw...@users.sourceforge.net wrote: I suspect the problem is that running an internal command does not have shell semantics, or, to put differently, the call does not go through the shell. Same issue with a scrip shell. I write a workaround with cron. -- Sebastien Douche sdou...@gmail.com Twitter: @sdouche / G+: +sdouche -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Full backup every day instead of Incremental backup
Hi :), I define a weekly schedule (full backup thes unday and incremental for the rest): Schedule { Name = WeeklyCycle Run = Full sun at 23:05 Run = Incremental mon-fri at 23:05 } But Bacula make a full backup each day: JobId LevelFiles Bytes Status FinishedName 40 Full12057.09 M OK 15-Jan-12 23:12 Deb 41 Full 72,26898.79 G OK 16-Jan-12 01:31 Fileserver 42 Full67412.21 G OK 16-Jan-12 01:45 Clonezilla Schedule: name=WeeklyCycle -- Run Level=Full hour=23 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=0 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 -- Run Level=Incremental hour=23 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=1 2 3 4 5 6 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 Why mday are set? I'm a bit lost :(. -- Sebastien Douche sdou...@gmail.com Twitter: @sdouche / G+: +sdouche -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] Full backup every day instead of Incremental backup
On Mon, Jan 16, 2012 at 15:16, John Drescher dresche...@gmail.com wrote: Do you have the messages or the log for the last few jobs? I suspect the incremental is getting upgraded from a full because bacula believes no prior full exists. Hi John, Right for the first jobs : 12-Jan 23:05 backup-dir JobId 1: No prior Full backup Job record found. 12-Jan 23:05 backup-dir JobId 1: No prior or suitable Full backup found in catalog. Doing FULL backup. But not that kind of messages with the last jobs: 16-Jan 02:51 backup-dir JobId 48: Start Backup JobId 48, Job=DagobahEtc.2012-01-15_23.05.00_43 16-Jan 02:51 backup-dir JobId 48: Using Device File 16-Jan 02:51 backup-sd JobId 48: Volume Full0063 previously written, moving to end of data. 16-Jan 02:51 backup-sd JobId 48: Ready to append to end of Volume Full0063 size=411133107 16-Jan 02:51 backup-sd JobId 48: Job write elapsed time = 00:00:02, Transfer rate = 1.184 M Bytes/second 16-Jan 02:51 backup-dir JobId 48: Bacula backup-dir 5.0.2 (28Apr10): 16-Jan-2012 02:51:55 Build OS: x86_64-pc-linux-gnu debian squeeze/sid JobId: 48 Job:DagobahEtc.2012-01-15_23.05.00_43 Backup Level: Full Note: MonthlyCycle is good for the mday: Schedule { Name = MonthlyCycle Run = Full on 1 at 23:05 Run = Incremental mon-fri at 23:05 } Schedule: name=MonthlyCycle -- Run Level=Full hour=23 mday=0 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=0 1 2 3 4 5 6 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 -- Run Level=Incremental hour=23 mday=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 month=0 1 2 3 4 5 6 7 8 9 10 11 wday=1 2 3 4 5 wom=0 1 2 3 4 woy=0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 mins=5 I guess the schedule is correctly set only whis mday but not with wday. Bug or am I stupid? -- Sebastien Douche sdou...@gmail.com Twitter: @sdouche / G+: +sdouche -- RSA(R) Conference 2012 Mar 27 - Feb 2 Save $400 by Jan. 27 Register now! http://p.sf.net/sfu/rsa-sfdev2dev2 ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] Run scripts fails
Hi, The command is not launched w/o error in the log. My config file: Job { Name = BackupDagobah JobDefs = SA1Job FileSet = Wordpress Set Client = dagobah-fd RunScript { Command = /usr/bin/mysqldump --user=wordpress --password=XXX wordpress /srv/wordpress/db/wordpress.sql RunsWhen = Before } But the director display something when it parses the config file: $ sudo /usr/sbin/bacula-dir -f -d -c /etc/bacula/bacula-dir.conf -t bacula-dir: dird_conf.c:1860-0 runscript cmd=/usr/bin/mysqldump --user=wordpress --password=XXX wordpress /srv/wordpress/db/wordpress.sql type=| Any ideas? -- Sebastien Douche sdou...@gmail.com Twitter: @sdouche / G+: +sdouche -- Write once. Port to many. Get the SDK and tools to simplify cross-platform app development. Create new or port existing apps to sell to consumers worldwide. Explore the Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join http://p.sf.net/sfu/intel-appdev ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
[Bacula-users] File storage : Device is BLOCKED waiting for media
Hi, I trying to add a remote file server (from default configuration on Debian Etch) : Storage { Name = backup-file Address = xxx SDPort = 9103 Password = Device = FileStorage Media Type = File } First run : 4 Increme Client1.2008-01-03_16.30.28 is waiting for an appendable Volume Il add one volume with label command : Device status: Device FileStorage (/srv/backup) is not open. Device is BLOCKED waiting for media. Missed a step ? -- Solution Linux (février) XPDays FR (mai) Journée Francophone Python (juin) - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users
Re: [Bacula-users] File storage : Device is BLOCKED waiting for media
On Jan 3, 2008 6:50 PM, John Drescher [EMAIL PROTECTED] wrote: Are there any labeled volumes on /srv/backup for the pool that the current backup is running? No, but If understand correctly the manual, a good practice is to waiting the message for creating a volume. Do you have autolabeling enabled? here my configuration of storage : Device { Name = FileStorage Media Type = File Archive Device = /tmp LabelMedia = yes; # lets Bacula label unlabeled media Random Access = Yes; AutomaticMount = yes; # when device opened, read it RemovableMedia = no; AlwaysOpen = no; } -- Solution Linux (février) XPDays FR (mai) Journée Francophone Python (juin) - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/ ___ Bacula-users mailing list Bacula-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/bacula-users