Activity › Forums › DaVinci Resolve › Full Database Backup
-
Full Database Backup
Posted by Vladimir Kucherov on November 9, 2010 at 1:01 amHi guys,
Going to be doing a system reinstall on my mac and I’m trying to figure out how to do a full database backup. Is that possible? I know I can do backups of my projects, but can I just backup my full database with all the users, settings, stills, in one go?
Kevin Cannon replied 15 years, 5 months ago 6 Members · 8 Replies -
8 Replies
-
Michael Cinquin
November 9, 2010 at 12:39 pmopen the Terminal and :
* to save the database on your Desktop, with a name of davinci_currentdate.tar
/Library/PostgreSQL/8.4/pgAdmin3.app/Contents/SharedSupport/pg_dump -h localhost -U postgres resolve --blobs -f ~/Desktop/davinci_`date "+%y_%m_%d_%H_%M"`.tar --format=custom --verbose* to restore the database from an archive (WARNING : current database will be erased)
/Library/PostgreSQL/8.4/pgAdmin3.app/Contents/SharedSupport/pg_restore -h localhost -U postgres --single-transaction --clean --dbname=resolve FULLPATH_OF_THE_ARCHIVEuse at your own risks ! the password that the terminal will ask is that of the PostgreSQL database : DaVinci
I use it here successfully up to now
Michael Cinquin
Final Cut Pro – Avid Media Composer editor
DaVinci – Color – Baselight colorist
http://www.michaelcinquin.com/tools : tools for FCP | Color | RED | subtitles | Cinema Tools | Timecode – Keycode calculator -
Rohit Gupta
November 9, 2010 at 2:17 pmThe pgAdmin tool has a nice GUI to backup/restore your databases. This is included with the Resolve install (search in spotlight – pgAdmin).
When backing up, remember to add the .backup extension to the filename, else you will have to rename it in Finder.
When restoring, you will have to create a new database, and restore to that database to avoid over-writing the current database.
Hope this helps!
Regards,
Rohit -
Ola Haldor voll
November 22, 2010 at 3:50 pmHmm where exactly am I supposed to find the file or database to backup? I opened pgAdmin and it says there’s no servers.
Nor do I understand how I can open one.
-
Guilherme Ramalho
November 27, 2010 at 6:31 pmHi Ola,
Did you found out how to do the datadase backup ?
-
Kevin Cannon
December 12, 2010 at 7:41 pmI’m not 100% sure here, but nobody else seems to be chiming in…
It looks like you open pgadmin, then “add a connection to a server,” you’ll be prompted for a name (perhaps “resolve”) a host, port, username, password (case sensitive)…
Most of which can be found in the login screen>database manager>connect screen.
Then you’ll be connected to your resolve server and can select it and access the “backup” tool, which the documentation says is simply a GUI for the pgdump tool.
It generated a 1 GB file for me, I haven’t confirmed that it worked.
Reply to this Discussion! Login or Sign Up