mirror of
https://github.com/Tautulli/Tautulli.git
synced 2025-07-11 07:46:07 -07:00
Rename database backup to tautulli
This commit is contained in:
parent
2bb691966e
commit
84aad638ac
1 changed files with 2 additions and 2 deletions
|
@ -63,9 +63,9 @@ def make_backup(cleanup=False, scheduler=False):
|
||||||
""" Makes a backup of db, removes all but the last 5 backups """
|
""" Makes a backup of db, removes all but the last 5 backups """
|
||||||
|
|
||||||
if scheduler:
|
if scheduler:
|
||||||
backup_file = 'plexpy.backup-%s.sched.db' % arrow.now().format('YYYYMMDDHHmmss')
|
backup_file = 'tautulli.backup-%s.sched.db' % arrow.now().format('YYYYMMDDHHmmss')
|
||||||
else:
|
else:
|
||||||
backup_file = 'plexpy.backup-%s.db' % arrow.now().format('YYYYMMDDHHmmss')
|
backup_file = 'tautulli.backup-%s.db' % arrow.now().format('YYYYMMDDHHmmss')
|
||||||
backup_folder = plexpy.CONFIG.BACKUP_DIR
|
backup_folder = plexpy.CONFIG.BACKUP_DIR
|
||||||
backup_file_fp = os.path.join(backup_folder, backup_file)
|
backup_file_fp = os.path.join(backup_folder, backup_file)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue