postactiv expire script during backups
This commit is contained in:
parent
e30de6328f
commit
3afb3077c8
|
@ -393,7 +393,7 @@ function backup_local_postactiv {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# don't backup more data than we need to
|
# don't backup more data than we need to
|
||||||
postactiv-expire
|
/etc/cron.daily/postactiv-expire
|
||||||
|
|
||||||
source_directory=/var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/backup
|
source_directory=/var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/backup
|
||||||
if [ ! -d $source_directory ]; then
|
if [ ! -d $source_directory ]; then
|
||||||
|
@ -473,7 +473,7 @@ function backup_remote_postactiv {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# don't backup more data than we need to
|
# don't backup more data than we need to
|
||||||
postactiv-expire
|
/etc/cron.daily/postactiv-expire
|
||||||
|
|
||||||
source_directory=/var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/backup
|
source_directory=/var/www/${POSTACTIV_DOMAIN_NAME}/htdocs/backup
|
||||||
if [ ! -d $source_directory ]; then
|
if [ ! -d $source_directory ]; then
|
||||||
|
|
Loading…
Reference in New Issue