|
Search tenon.com
Thanks to:
|
|
iTools
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>
|
- Backup Script,
Alain Russell <=
|
| Tenon Home |
Products |
Order |
Contact Us |
About Tenon |
Register |
Tech Support |
Resources |
Press Room |
Mailing Lists |
|
Copyright©2003 Tenon Intersystems, 232 Anacapa Street, Suite 2A, Santa Barbara,
CA 93101. All rights reserved.
Questions about our website - Contact:
webmaster@tenon.com.
|
|