Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Aug 2009 10:57:18 -0400
From:      John Almberg <jalmberg@identry.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: What should be backed up?
Message-ID:  <559375B5-3DCB-42E0-B233-B0916C6FBD9C@identry.com>
In-Reply-To: <4A8FF981.7020707@locolomo.org>
References:  <9F9B85A9-CC10-4793-B38D-4F1E1929BAF6@identry.com> <5A8F63C4-7244-410A-B115-9681709855B5@goldmark.org> <4A8FF981.7020707@locolomo.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> If you have any databases or ldap service, then you want to add  
> those as well, but it is recommended to dump these rather than  
> backup the files themselves.

I'm learning a lot from this thread. Thanks for all the suggestions.

The paragraph above raises one more question... how to use the  
backup_script feature of rsnapshot.

There is a mysql database on the server I want to backup. At the  
moment, I have a cron script on the web server that periodically  
dumps the database into one of the directories that gets backed up.  
This works fine, but I am about to experiment with the backup_script  
feature of rsnapshot.

I'll be darned if I can find an example in the HowTo or on the web  
for using backup_script remotely, but I'm hoping it's possible...

I'd like to have the backup script on the backup server, rather than  
the remote server. The difference is small for one server, but if you  
are backing up several servers, or several hundred servers, it would  
be much nicer for all the backup configuration and scripts to be on  
the backup server, rather than scattered around on the net.

So, I'm going to take the trial and error approach to getting this to  
work today, unless someone has actually done this and can provide any  
information (for example "that's impossible... the backup script  
needs to be on the remote server" would save me a lot of work!)

Thanks: John



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?559375B5-3DCB-42E0-B233-B0916C6FBD9C>