[Engine-devel] Backing up the DB

Yair Zaslavsky yzaslavs at redhat.com
Sat Apr 7 08:49:14 UTC 2012


On 04/06/2012 04:51 AM, Eli Mesika wrote:
> 
> 
> ----- Original Message -----
>> From: "Douglas Landgraf" <dougsland at redhat.com>
>> To: "Ofer Schreiber" <oschreib at redhat.com>
>> Cc: engine-devel at ovirt.org
>> Sent: Thursday, April 5, 2012 10:57:15 PM
>> Subject: Re: [Engine-devel] Backing up the DB
>>
>>
>> Hi,
>>
>> On 04/05/2012 04:27 AM, Ofer Schreiber wrote:
>>
>>
>> We already have the backup code in python - under engine-cleanup
>> What about using the same code-base?
>> or adding --backup-db-only to engine-cleaup?
> 
> I think that we should do simple bash wrapper scripts for backup/restore that calls pg_dump/pg_restore , put those scripts in dbscripts where all db stuff is located and print a message that other options are available using the original pg_dump/pg_restore 
+1 - the scripts should use the options for pg_dump as specified in the
script provided by Douglas (the py version)
> 
> 
>>
>> From my point of view, it's ok. If we are going to use
>> engine-cleanup, let's keep in mind the restore mode too.
>> For while, I will use engine-db-tool that's already ready.
>>
>> --
>> Cheers
>> Douglas
>> _______________________________________________
>> Engine-devel mailing list
>> Engine-devel at ovirt.org
>> http://lists.ovirt.org/mailman/listinfo/engine-devel
>>
> _______________________________________________
> Engine-devel mailing list
> Engine-devel at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/engine-devel




More information about the Devel mailing list