You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
#!/bin/bash
|
|
|
|
BACKUP_RETENTION_DAYS="{{ orientdb_automatic_backup_retention_days }}"
|
|
BACKUP_DIRECTORY="{{ orientdb_automatic_backup_directory }}"
|
|
|
|
find ${BACKUP_DIRECTORY} -atime +${BACKUP_RETENTION_DAYS} -type f -exec rm -f {} \;
|
|
|
|
exit 0
|