Gossamer Forum
Home : Products : Links 2.0 : Installation -- Unix :

back up database

Quote Reply
back up database
As my links database grows my back up file only has the fist two entries and doesn't grow. Anyone have any ideas where to look to solve this problem? Also i noticed that it saves files each day and keeps them, over time you would have a lot of backup files. Does the program only keep so many or do you have to eventualy start erasing some of them manualy?

------------------
Quote Reply
Re: back up database In reply to
 
Code:
rm /path/to/cgi-bin/links/backup/*

For more information about using Cron, read the FAQ in the Resource Center.

2) Create a separate shell file that will delete the backup files after a certain number of days. This shell file should look like the following:

Code:
rm /path/to/cgi-bin/links/backup/*

Again, read the FAQ about setting up the crontabs.

3) Read the Topic in the LINKS Discussion Forum where Widgetz provided some codes for deleting backups after a certain number of days within the nph-build.cgi file. Search that forum for backup delete.

Regards,

------------------
Eliot Lee....
Former Handle: Eliot
Anthro TECH, L.L.C
anthrotech.com
* Check Resource Center
* Search Forums
* Thinking out of the box (codes) is not only fun, but effective.