Is there any way how to limit the number of backup files generated each time I build? Space on the server is limited
Jul 13, 2002, 11:40 AM
Veteran (17240 posts)
Jul 13, 2002, 11:40 AM
Post #2 of 3
Views: 1104
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
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