Gossamer Forum
Home : Products : Links 2.0 : Discussions :

Simple Questions..

Quote Reply
Simple Questions..
Pertaining to the BACKUP directory, i have a couple of quick questions:

#1 I seem to have like 2 months worth of backups.. Do i have to manually go into this directory every now & then and delete old backups?

#2 Is there something you can set or a mod you can install to set it to store only so many days worth of backups?


LMK.. Thanks.


Jeff

Quote Reply
Re: Simple Questions.. In reply to
Hi Jeff!

We arranged with our hosting service to set up a cron job to delete the files every week, as well as using a cron job to build the site every nite just after midnite.



------------------
www.nzcid.godzone.net.nz
New Zealand Christian Internet Directory




Quote Reply
Re: Simple Questions.. In reply to
I delete files every night via Cron.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------



Quote Reply
Re: Simple Questions.. In reply to
Links will keep accumulating backup files unless you manually delete them. I do this every few weeks -- takes less than a minute. Optionally, you can use the cronjob method (located in the resource center) of building remotely via telnet, which also includes code for deleting the previous day's backup before creating a new one. I like to keep several backup files, in case one gets corrupted before I catch it...

I believe Links SQL keeps 7 days worth of backups, but I haven't had the opportunity to use it yet.

Dan
Quote Reply
Re: Simple Questions.. In reply to
is this the file you use to delete every back up file, http://www.gossamer-threads.com/...es/Detailed/244.html ?

------------------
LookHard Search
lookhard.hypermart.net
Lavon Russell
Quote Reply
Re: Simple Questions.. In reply to
I use a shell file similar to the one in the Resource Center to delete the tar.gz file that includes all the data files on a daily basis.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
----------------------