Gossamer Forum
Home : Products : Gossamer Links : Discussions :

How to limit the number of backup files?

Quote Reply
How to limit the number of backup files?
Is there any way how to limit the number of backup files generated each time I build? Space on the server is limited Unsure
Quote Reply
Re: [Robo] How to limit the number of backup files? In reply to
You could write a shell script or Perl script that deletes the backup files before the new ones are built.

SHELL example:

# Delete Backup Files
rm /dir/subdir/yourdir/yoursubdir/cgibin/links/admin/backups/*

Then schedule this shell script to run on a nightly basis to remove the backup files.

Or you could download all your backup files to your local harddrive and delete the old backups in your server.
========================================
Buh Bye!

Cheers,
Me
Quote Reply
Re: [Stealth] How to limit the number of backup files? In reply to
thank you, i will see what i can do...