Bacula-users

Re: [Bacula-users] Is it a good idea to use bacula if Irarely havenetwork connection?

2009-05-27 11:02:06
Subject: Re: [Bacula-users] Is it a good idea to use bacula if Irarely havenetwork connection?
From: John Lockard <jlockard AT umich DOT edu>
To: bacula-users <Bacula-users AT lists.sourceforge DOT net>
Date: Wed, 27 May 2009 10:57:31 -0400
For backing up a laptop locally, bacula seems to be HUGE
overkill.  How long will you be keeping these backups?  How many
backups will you be keeping?  My guess is that you'd be better
served by a little scripting, rsync and cron.

Each day, establish a new directory by date, then hourly run rsync
to that location.
Or, Each day establish a new directory by date, create
a "watcher" file, then hourly run a 'find [dir] -newer
/path/to/watcher' to establish a list of files which have
changed, then 'touch /path/to/watcher'.  From the list of
files which changed, tar them to backup location.

Depending on how you want to keep files, you'll either have
a date directory (/backups/20090527) with all of the days
changed files in it, or you'll have a date directory with hourly
subdirs with the hourly changes (/backups/20090527/01, etc.).

Then, when you're back at the office, where the bacula server
is, you kick off a backup manually which will backup your
/backups directory.

-John

On Sun, May 24, 2009 at 06:29:28PM -0500, Zhengquan Zhang wrote:
> On Sun, May 24, 2009 at 06:50:52PM -0400, Dan Langille wrote:
> > -----BEGIN PGP SIGNED MESSAGE-----
> > Hash: SHA1
> > 
> > John Drescher wrote:
> > >>> So, if you run backups locally to an external disk, you could back up 
> > >>> the
> > >>> catalog by taking an ascii dump of the database, and copying the dump 
> > >>> file
> > >>> to the same disk used for actual backup data.
> > >> So Can I just back the directory where the database is?
> > >>
> > > That is not a good way to backup a database. You need to run mysqldupm
> > > instead and backup the text file it generates.
> > 
> > What John said.
> > 
> > Not only does this ensure that your backup contains a valid MySQL dump,
> > it also exercises the database.  That is, the act of running mysqldump
> > reads every part of the databases and dumps it out.  If there is any
> > 'hidden' problem with the databases, chances are, you'll find out about
> > it during the dump process itself.
> > 
> > Said explanation applies to all databases IMHO.
> 
> Thanks John and Dan for pointing out this for me. I will definetely do
> that.
> 
> Zhengquan
> 
> > 
> > - --
> > Dan Langille
> > 
> > BSDCan - The Technical BSD Conference : http://www.bsdcan.org/
> > PGCon  - The PostgreSQL Conference:     http://www.pgcon.org/
> > -----BEGIN PGP SIGNATURE-----
> > Version: GnuPG v2.0.11 (FreeBSD)
> > Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> > 
> > iEYEARECAAYFAkoZz0wACgkQCgsXFM/7nTxhwACffVigKxm386DGzYhGlxBkqIhv
> > 0usAoJnpJxahzI+T8sppKdJtG9g7J4fm
> > =lzRI
> > -----END PGP SIGNATURE-----
> 
> -- 
> Zhengquan
> 
> 
> ------------------------------------------------------------------------------
> Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT
> is a gathering of tech-side developers & brand creativity professionals. Meet
> the minds behind Google Creative Lab, Visual Complexity, Processing, & 
> iPhoneDevCamp asthey present alongside digital heavyweights like Barbarian
> Group, R/GA, & Big Spaceship. http://www.creativitycat.com 
> _______________________________________________
> Bacula-users mailing list
> Bacula-users AT lists.sourceforge DOT net
> https://lists.sourceforge.net/lists/listinfo/bacula-users
> 
> 

-- 
"Yes, evil comes in many forms, whether it be a man-eating cow or Joseph
 Stalin, but you can't let the package hide the pudding! Evil is just
 plain bad! You don't cotton to it. You gotta smack it in the nose with
 the rolled-up newspaper of goodness!  Bad dog! Bad dog!" - The Tick
-------------------------------------------------------------------
         John M. Lockard |  U of Michigan - School of Information
 Unix and Security Admin |      1214 SI North - 1075 Beal Ave.
      jlockard AT umich DOT edu |        Ann Arbor, MI  48109-2112
 www.umich.edu/~jlockard |     734-615-8776 | 734-647-8045 FAX
-------------------------------------------------------------------

------------------------------------------------------------------------------
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers & brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing, & 
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
_______________________________________________
Bacula-users mailing list
Bacula-users AT lists.sourceforge DOT net
https://lists.sourceforge.net/lists/listinfo/bacula-users