'Takes a new dump if existing file is old
and sends the link to the file as email'

def get_backup(self, older_than=24, ignore_files=False, force=False):

    if (not force):
        (last_db, last_file, last_private_file) = self.get_recent_backup(older_than)
    else:
        (last_db, last_file, last_private_file) = (False, False, False)
    if (not (self.backup_path_files and self.backup_path_db and self.backup_path_private_files)):
        self.set_backup_file_name()
    if (not (last_db and last_file and last_private_file)):
        self.take_dump()
        if (not ignore_files):
            self.zip_files()
    else:
        self.backup_path_files = last_file
        self.backup_path_db = last_db
        self.backup_path_private_files = last_private_file
