Backup webmail weekly and monthly

This commit is contained in:
Bob Mottram 2014-08-04 20:49:57 +01:00
parent 367012e986
commit 374ce1f890
1 changed files with 8 additions and 0 deletions

View File

@ -4346,6 +4346,10 @@ umask 0077
cp -f /var/backups/friendica_weekly.sql /var/backups/friendica_2weekly.sql cp -f /var/backups/friendica_weekly.sql /var/backups/friendica_2weekly.sql
cp -f /var/backups/friendica_daily.sql /var/backups/friendica_weekly.sql cp -f /var/backups/friendica_daily.sql /var/backups/friendica_weekly.sql
# Roundcube
cp -f /var/backups/roundcubemail_weekly.sql /var/backups/roundcubemail_2weekly.sql
cp -f /var/backups/roundcubemail_daily.sql /var/backups/roundcubemail_weekly.sql
# Red Matrix # Red Matrix
#cp -f /var/backups/redmatrix_weekly.sql /var/backups/redmatrix_2weekly.sql #cp -f /var/backups/redmatrix_weekly.sql /var/backups/redmatrix_2weekly.sql
#cp -f /var/backups/redmatrix_daily.sql /var/backups/redmatrix_weekly.sql #cp -f /var/backups/redmatrix_daily.sql /var/backups/redmatrix_weekly.sql
@ -4368,6 +4372,10 @@ Enter the following
cp -f /var/backups/friendica_monthly.sql /var/backups/friendica_2monthly.sql cp -f /var/backups/friendica_monthly.sql /var/backups/friendica_2monthly.sql
cp -f /var/backups/friendica_weekly.sql /var/backups/friendica_monthly.sql cp -f /var/backups/friendica_weekly.sql /var/backups/friendica_monthly.sql
# Roundcube
cp -f /var/backups/roundcubemail_monthly.sql /var/backups/roundcubemail_2monthly.sql
cp -f /var/backups/roundcubemail_weekly.sql /var/backups/roundcubemail_monthly.sql
# Red Matrix # Red Matrix
#cp -f /var/backups/redmatrix_monthly.sql /var/backups/redmatrix_2monthly.sql #cp -f /var/backups/redmatrix_monthly.sql /var/backups/redmatrix_2monthly.sql
#cp -f /var/backups/redmatrix_weekly.sql /var/backups/redmatrix_monthly.sql #cp -f /var/backups/redmatrix_weekly.sql /var/backups/redmatrix_monthly.sql