Subject : Re: LUG: Automatic backups within AFS space
From : Brian <spiffytech@gmail.[redacted]>
Date : Tue, 16 Jun 2009 10:07:22 -0400
I have two locker on AFS space:
(1) /afs/unity/users/d/djunderw
(2) /afs/eos/lockers/people/d/djunderw
I keep a frequently updated backup of important files in locker (1),
using rsync on a single local folder (~/ncsu). There is only a single
backup, of course, because I use the "-vhaul --delete" option set to
create a mirror of my local copy of ~/ncsu.
I want to use locker (2) to keep weekly backups of ~/ncsu from locker
(1), such that I can "roll back" to a previous time (i.e., no weekly
backup overwrites a previous weekly backup).
--What's the "best" way of going about this?
--Should I simply set up a weekly cron job to create a gunzipped tarball
of ~/ncsu and place it in locker (2)?
--In any case, how can I set the archive's filename to automatically
contain the date it is created (e.g., "ncsu_2009-06-16.tar.gz")?
Thanks,
Daniel
--
Daniel Underwood
North Carolina State University
Graduate Student - Operations Research
email: daniel.underwood@ncsu.[redacted]
phone: XXX.302.3291
web: http://www4.ncsu.edu/~djunderw/
Replies :