Creative Communities of the World Forums

The peer to peer support community for media production professionals.

Activity Forums DaVinci Resolve Full Database Backup

  • Full Database Backup

    Posted by Vladimir Kucherov on November 9, 2010 at 1:01 am

    Hi 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
  • Ola Haldor voll

    November 9, 2010 at 8:29 am

    Good question – I’m interested as well.

  • Michael Cinquin

    November 9, 2010 at 12:39 pm

    open 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_ARCHIVE

    use 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 pm

    The 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

  • Vladimir Kucherov

    November 9, 2010 at 3:25 pm

    Perfect! Thank you Rohit and Michael.

  • Ola Haldor voll

    November 22, 2010 at 3:50 pm

    Hmm 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 pm

    Hi Ola,

    Did you found out how to do the datadase backup ?

  • Ola Haldor voll

    November 27, 2010 at 6:52 pm

    Nope.

  • Kevin Cannon

    December 12, 2010 at 7:41 pm

    I’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.

We use anonymous cookies to give you the best experience we can.
Our Privacy policy | GDPR Policy