Initial Commit
This commit is contained in:
18
source/backup.h
Normal file
18
source/backup.h
Normal file
@@ -0,0 +1,18 @@
|
||||
/*
|
||||
* OmniNX Installer - Backup and Restore Operations
|
||||
* For preserving user data during clean installs
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
#include <utils/types.h>
|
||||
|
||||
#define TEMP_BACKUP_PATH "sd:/temp_backup"
|
||||
|
||||
// Backup user data (DBI, Tinfoil, prod.keys) before clean install
|
||||
int backup_user_data(void);
|
||||
|
||||
// Restore user data after clean install
|
||||
int restore_user_data(void);
|
||||
|
||||
// Clean up temporary backup directory
|
||||
int cleanup_backup(void);
|
||||
Reference in New Issue
Block a user