Join Us and become a Member for a Verified Badge to access private areas with the latest PS4 PKGs.
Status
Not open for further replies.
Recently @stooged lent a hand sharing both details with source code on Backing Up and Restoring the PS4 Database, and he followed up with a handy DbBackup.bin Payload compiled for PS4 4.05 OFW users to backup their PlayStation 4 database to a USB Drive alongside one for dumping save data below. :love:

Download: DbBackup.zip / Source Code / DB_SG_Backup.zip (8.79 KB - dumps save data into a folder called GameSaves) / DB_SG_Backup_v2.zip (8.27 KB - Dumps All User Accounts) / DB_SG_Backup3.zip (8.82 KB - Adds Notification Messages from 2much4u) / DB_Backup_455.zip (Updated for 4.55) / usb_455_db_backup.zip (0.02 MB) / Cache-Install: ApplicationCache.db / DB_SG_Backup-50X (Latest) / GIT

To quote from his recent post with usage instructions:

just put a usb stick/drive into the usb port and run the DbBackup.bin payload

it will save the addcont.db and app.db files inside a folder called DB_Dackup on the usb drive.

if you do not use a usb stick/drive it will backup the database into the /system_data/priv/mms/ folder on the ps4 and it will be called app.db_backup.

to restore the db just ftp into the /system_data/priv/mms/ directory and upload your backup copy.

credit to @XVortex for the neat way to check which usb port has the drive in it in their ps4dumper source, I tried a few other things with no decent result but @XVortex had a simple method to do the trick :)
DbBackup.bin Payload Backup PS4 Database to USB Drive by Stooged.jpg
 

Comments

@stooged Would it be possible to ask for a database restore payload? To restore backed up database from usb?

This would make the backup and restore process of the database very easy as no FTP would be required.
 
@stooged thank you so much. This is very helpful.

my ps4 shuts down immediately after I use this restore payload. No notification messages. It's almost like a kernel panic but I don't have to press the power button twice to turn on the ps4, I can turn it on via the PS button on the controller. The DB does not get restored.

I'm using Al Azif exploit and have tried sending the payload both via bin file (original option) or via index.html file. Same issue. My usb drive was connected in both cases as the backup I'm trying to restore is on my usb drive.
 
@stooged Is there any way you could make DB_Restore create another backup of the db files just before it restores them so that you could UNDO the restore process if it is run by mistake.

e.g. If you had an old internal db backup on your PS4 and ran DB_Restore by mistake it would restore that old db. Any games installed after the db backup was made would now not show up.
 
@Xylon851 It is made to shut down the console after the payload is run.
I will have to test it in the morning to see if its failing to restore.

@Leeful
I can but then you would need to use ftp to restore the backup it makes before the restore.
 
@stooged That would be fine. at least there would be a backup somwhere that you could use to undo the restore.

I'm just worried that how it works now, if you restored an old backup by mistake there would be no going back at all. Apart from re-installing whatever games were missing from the db.
 
https://github.com/stooged/Db_Restore/releases

I made it wait to show messages then reboot the console (not shutdown) so it is not mistaken for a kernel panic.

it will also make a temp backup before it restores like app.db_rest-bak in the folder you are loading the backup db from as requested by @Leeful

testing:
I made a backup using the DB_SG_Backup payload.
then I forced a rebuild of the database which wiped out the installed fpkg games as expected.
I ran the Db_Restore payload and waited for the reboot to complete and the fpkg games were all restored.
 
Status
Not open for further replies.
Back
Top