Tenon Intersystems Please see text links at bottom of page for navigation
Please see text links at bottom of page for navigation

Search tenon.com

Thanks to:

iTools

Backup Script

To: <itools@xxxxxxxxxxxxxxx>
Subject: Backup Script
From: Alain Russell <alain.russell@xxxxxxxxxxxxxxxxx>
Date: Wed, 26 Sep 2001 10:18:07 +1200
I have a backup script that runs every day and tars the items need to backup
on my server and then ftp's the file across to a remote backup server.

What I would like to do is keep 7 days worth of backups on the local machine
and have then removed automatically as time moves on.

Does anyone know what I would need to modify below to do this. .
Thanks
Alain

<script follows>

#!/bin/sh

cd /
tar czvf blackpepper-backup.tar.gz \
        /Library/WebServer \
        /Library/MySQL \
        /etc/httpd \
        /etc/ftpaccess
ncftpput -u user -p password backup.visp.co.nz / /blackpepper-backup.tar.gz






---------                   ----------
Tenon Intersystems' iTools Mailing List
To unsubscribe: send mailto://itools-request@xxxxxxxxxxxxxxx
with the body: unsubscribe
Find searchable Mailing List archives at:
http://itools.blackpepper.co.nz/

<Prev in Thread] Current Thread [Next in Thread>

| Tenon Home | Products | Order | Contact Us | About Tenon | Register | Tech Support | Resources | Press Room | Mailing Lists |

Powered By iTools

Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara, CA 93101. All rights reserved.
Questions about our website - Contact: webmaster@tenon.com.


Tenon Home  Tenon Home  Tenon Home  Tenon Home Product Info  Tenon Ordering Contact About Register Support Resources Press Mailing Lists