forked from project-rainstorm/rainstorm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathtest.py
18 lines (16 loc) · 807 Bytes
/
test.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
from raincloud.rainstick.BackupManager import BackupManager
from raincloud.rainstick.config import app_config
# print(app_config)
# BackupManager.create_rclone_config()
# BackupManager.create_restic_repo()
# print(app_config['path_to_password_hash_file'])
# print(BackupManager.consolidate_backupable_files())
# BackupManager.create_restic_repo_for_service("plex")
# BackupManager.backup_all_services()
# print(BackupManager.get_backupable_service_paths())
# print(BackupManager.get_available_backups())
# BackupManager.restore_from_backup('39239fcd')
# print(BackupManager.get_available_backups_for_all_services())
# print(BackupManager.get_available_backups_for_service('transmission'))
# BackupManager.restore_service_from_backup('transmission', 'fe8b3a89')
BackupManager.backup_service("transmission")