LinHES Forums
http://forums.linhes.org/

Automatic backup storage
http://forums.linhes.org/viewtopic.php?f=21&t=22652
Page 1 of 1

Author:  marc.aronson [ Fri Jul 06, 2012 10:04 am ]
Post subject:  Automatic backup storage

LINHES 7.2 automatically creates nightly backups for the database. My /myth/system_backups directories currently contains 3.0GB of backups.

Question -- is there anything that automatically limits the amount of space used for these backups, or will they continue to accumulate until I run out of disk space?

Author:  jams [ Fri Jul 06, 2012 10:23 am ]
Post subject:  Re: Automatic backup storage

With 7.2 the file will keep building up.
With 7.3 the backup files are removed after 21 days.

Author:  marc.aronson [ Fri Jul 06, 2012 2:31 pm ]
Post subject:  Re: Automatic backup storage

Jams, thanks for the info! I just added this to my daily cronjob script to keep things tidy in the meantime:

Code:
find /myth/system_backups/ -mtime +90 -name \*.tgz -print -exec rm \{\} \; >> /var/log/marc/cron_daily.log 2>&1

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/