[SGVLUG] Dev-sig location

Claude Felizardo cafelizardo at gmail.com
Thu Apr 23 16:30:48 PDT 2009


I use rsnapshot which is based on Mike Rubel's original set of
scripts.  I use it both at home and at work.  I don't know if it
supports compression but it pretty much takes care of rotations and
stuff.   Each backup set is named hourly.0 to .n or daily.0 to .n so
if you do run out of space, you just remove the oldest ones.  At work,
I go back 40 days and at home I went back 90 days until I ran out of
room on my fileshare partition and had to resize my lvm partitions so
I just redid that last night.

>From the description at http://rsnapshot.org/

"rsnapshot is a filesystem snapshot utility for making backups of
local and remote systems.

Using rsync and hard links, it is possible to keep multiple, full
backups instantly available. The disk space required is just a little
more than the space of one full backup, plus incrementals.

Depending on your configuration, it is quite possible to set up in
just a few minutes. Files can be restored by the users who own them,
without the root user getting involved.

There are no tapes to change, so once it's set up, your backups can
happen automatically untouched by human hands. And because rsnapshot
only keeps a fixed (but configurable) number of snapshots, the amount
of disk space used will not continuously grow.

rsnapshot is written entirely in Perl. It should work on any
reasonably modern UNIX compatible OS, including: Debian GNU/Linux, Red
Hat Linux, Fedora Linux, SuSE Linux, Gentoo Linux, Slackware Linux,
FreeBSD, OpenBSD, NetBSD, Solaris, Mac OS X, and even IRIX.
"

BTW, has anyone set this up to backup stuff remotely via ssh?  I've
got root on my desktop Linux box but i'd like to back up my work area
on another Linux box which is maintained by someone else so I just
have a regular user login.  You can set it up to use sshkeys w/o a
passphrase but I'd rather not or at least restrict it to a specific
command between just the two machines.

claude


On Thu, Apr 23, 2009 at 4:12 PM, Emerson, Tom (*IC)
<Tom.Emerson at wbconsultant.com> wrote:
> I just got a letter from the Pasadena library reminding us it is time to make a reservation for the next year.  I've found another location where we don't have to go through this administration, plus there are more outlets as well as wired access to the internet.  (and a decent pizza place next door)
>
> In return, I've offered for our group to help "maintain" their webserver [linux "admin" stuff, not web design]
>
> First up: actually doing something usefull with the "backups".  Currently there are cron jobs that essentially do this:
>
>   cp /home /storage/backups/$da -R
>   gzip /storage/backups/$da
>
> i.e., a full DAILY backup of the entire /home hierarchy.
>
> These files then accumulate -- there are no provisions to purge old backups
>
> They run out of room (often)
>
> But it is on a separate partitition (/storage), and silently fails (no e-mail, or if there is, nobody reads it)
>
> Suggestions?
>


More information about the SGVLUG mailing list