[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[no subject]



I think I need to do something like:

------------------------
#!/bin/bash

/bin/tar -zcpf /usr/local/share/data/`date +%Y-%m-%d`.tar.gz /usr/local/share/data/

rsync -CPaur /usr/local/share/data/ /backup/data/
-------------------------

Does this look remotely correct to anyone?  Anything I am forgetting?

Preston


</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<ul><li><strong>Follow-Ups</strong>:
<ul>
<li><strong><a name="00408" href="msg00408.html">[ale] tar and date</a></strong>
<ul><li><em>From:</em> esoteric at 3times25.net (Geoffrey)</li></ul></li>
<li><strong><a name="00412" href="msg00412.html">[ale] tar and date</a></strong>
<ul><li><em>From:</em> fletch at phydeaux.org (Fletch)</li></ul></li>
</ul></li></ul>
<!--X-Follow-Ups-End-->
<!--X-References-->
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00404.html">[ale] OT: sync iPod with Sunbird Calendar (sortof)</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00406.html">[ale] OT free news server</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00404.html">[ale] OT: sync iPod with Sunbird Calendar (sortof)</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00408.html">[ale] tar and date</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00405"><strong>Date</strong></a></li>
<li><a href="threads.html#00405"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>

<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>