01,备份

  生成备份数据库

 [gpadmin@greenplum01 ~]$ gpcrondump -l /gpbackup/back2/gpcorndump.log -x postgres -v
 [gpadmin@greenplum01 ~]$ gpcrondump -l /gpbackup/back2/gpcorndump.log -x postgres -v
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Starting gpcrondump with args: -l /gpbackup/back2/gpcorndump.log -x postgres -v
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='template1'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting GpCronDump
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ValidateDatabaseExists
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ValidateDatabaseExists
:::: gpcrondump:greenplum01:gpadmin-[INFO]:----------------------------------------------------
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Master Greenplum Instance dump parameters
:::: gpcrondump:greenplum01:gpadmin-[INFO]:----------------------------------------------------
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump type = Full database
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Database to be dumped = postgres
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Master port =
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Master data directory = /greenplum/data/master/gpseg-
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Run post dump program = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Rollback dumps = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump file compression = On
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Clear old dump files = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Update history table = On
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Secure config files = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump global objects = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Vacuum mode type = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Ensuring remaining free disk > Continue with Greenplum dump Yy|Nn (default=N):
> y
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='postgres'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='postgres'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='postgres'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='postgres'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='postgres'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='postgres'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='postgres'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting DumpDatabase
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ValidateDumpDatabase
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ValidateDatabaseExists
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ValidateDatabaseExists
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ValidateCluster
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ValidateCluster
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ValidateAllDumpDirs
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ValidateDumpDirs
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting CheckDir
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending CheckDir
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Directory /greenplum/data/master/gpseg-/db_dumps/ not found,will try to create
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting MakeDir
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending MakeDir
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Created /greenplum/data/master/gpseg-/db_dumps/
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ValidateDumpDirs
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Checked /greenplum/data/master/gpseg- on master
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ParallelOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-WorkerPool haltWork()
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ParallelOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ValidateAllDumpDirs
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ValidateDumpTargets
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Configuring for single database dump
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ValidateDumpTargets
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Validating disk space
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ValidateDiskSpace
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ParallelOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] got cmd: Remote(ValidateSegDiskSpace)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] got cmd: Remote(ValidateSegDiskSpace)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] got cmd: Remote(ValidateSegDiskSpace)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] got cmd: Remote(ValidateSegDiskSpace)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] got cmd: Remote(ValidateSegDiskSpace)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] got cmd: Remote(ValidateSegDiskSpace)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] got cmd: Remote(ValidateSegDiskSpace)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] got cmd: Remote(ValidateSegDiskSpace)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] finished cmd: Remote(ValidateSegDiskSpace)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] finished cmd: Remote(ValidateSegDiskSpace)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] finished cmd: Remote(ValidateSegDiskSpace)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] finished cmd: Remote(ValidateSegDiskSpace)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] finished cmd: Remote(ValidateSegDiskSpace)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] finished cmd: Remote(ValidateSegDiskSpace)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] finished cmd: Remote(ValidateSegDiskSpace)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] finished cmd: Remote(ValidateSegDiskSpace)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-WorkerPool haltWork()
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ParallelOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ValidateDiskSpace
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ValidateDumpDatabase
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Creating filter file: /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319035503_table
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Adding compression parameter
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Adding --no-expand-children
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump process command line gp_dump -p -U gpadmin --gp-d=db_dumps/ --gp-r=/greenplum/data/master/gpseg-/db_dumps/ --gp-s=p --gp-k= --no-lock --gp-c --no-expand-children "postgres"
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Starting Dump process
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump process returned exit code
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending DumpDatabase
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting PostDumpDatabase
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ListFilesByPattern
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ListFilesByPattern
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Timestamp key =
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting PostDumpSegment
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting CheckFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending CheckFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending PostDumpSegment
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Checked master status file and master dump file.
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ParallelOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-WorkerPool haltWork()
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ParallelOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending PostDumpDatabase
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting UpdateHistoryTable
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='postgres'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting CheckTableExists
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending CheckTableExists
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='postgres'
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Created public.gpcrondump_history in postgres database
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='postgres'
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Inserted dump record into public.gpcrondump_history in postgres database
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending UpdateHistoryTable
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump status report
:::: gpcrondump:greenplum01:gpadmin-[INFO]:----------------------------------------------------
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Target database = postgres
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump subdirectory =
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump type = Full database
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Clear old dump directories = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump start time = ::
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump end time = ::
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Status = COMPLETED
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump key =
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump file compression = On
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Vacuum mode type = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Exit code zero, no warnings generated
:::: gpcrondump:greenplum01:gpadmin-[INFO]:----------------------------------------------------
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting MailDumpEvent
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting CheckFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending CheckFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting CheckFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending CheckFile
:::: gpcrondump:greenplum01:gpadmin-[WARNING]:-Found neither /usr/local/greenplum-db/./bin/mail_contacts nor /home/gpadmin/mail_contacts
:::: gpcrondump:greenplum01:gpadmin-[WARNING]:-Unable to send dump email notification
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-To enable email notification, create /usr/local/greenplum-db/./bin/mail_contacts or /home/gpadmin/mail_contacts containing required email addresses
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending MailDumpEvent
[

在最后面说配置邮件.那我们来试试把

01-1,邮件

   查看怎么配置邮件

gpbackup will send out status email notifications after a back up operation
completes, if you place a file named mail_contacts in the home directory of the
Greenplum database superuser (gpadmin) or in the same directory as the
gpbackup utility ($GPHOME/bin). This file must contain one email address per line. gpbackup issues a warning if
it cannot locate a mail_contacts file in either location. If both locations have a
mail_contacts file, then the one in $HOME takes precedence. Note: The UNIX mail utility must be running on the Greenplum Database host
and must be configured to allow the Greenplum superuser (gpadmin) to send
email.

   编写地址到>$GPHOME/bin/mail_contacts 

  echo "kingle_work@163.com" >mail_contacts

  重新执行就有了.配置邮件的话需要启动邮件服务,具体操作可以回复邮件

02,备份数据

  备份数据 的位置通过上面的备份信息可以看出

03,增量备份

  创建数据:

gpdb=# create database test2
gpdb-# ;
CREATE DATABASE
gpdb=# create table test1 (id int,name varchar(128));
NOTICE: Table doesn't have 'DISTRIBUTED BY' clause -- Using column named 'id' as the Greenplum Database data distribution key for this table.
HINT: The 'DISTRIBUTED BY' clause determines the distribution of data. Make sure column(s) chosen are the optimal data distribution key to minimize skew.
CREATE TABLE
gpdb=# insert into test1 values(1,'hello');
INSERT 0 1
gpdb=# insert into test1 values(2,'hello');
INSERT 0 1
gpdb=# SELECT * from test1
gpdb-# ;
id | name
----+-------
1 | hello
2 | hello
(2 rows)

 开始备份:

 [gpadmin@greenplum01 ~]$ gpcrondump  -x gpdb -v --incremental
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Starting gpcrondump with args: -x gpdb -v --incremental
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='template1'
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Bypassing disk space checks for incremental backup
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319040710.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp =
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting GpCronDump
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ValidateDatabaseExists
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ValidateDatabaseExists
:::: gpcrondump:greenplum01:gpadmin-[INFO]:----------------------------------------------------
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Master Greenplum Instance dump parameters
:::: gpcrondump:greenplum01:gpadmin-[INFO]:----------------------------------------------------
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump type = Incremental
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319040710.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp =
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Database to be dumped = gpdb
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Master port =
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Master data directory = /greenplum/data/master/gpseg-
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Run post dump program = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Rollback dumps = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump file compression = On
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Clear old dump files = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Update history table = On
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Secure config files = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump global objects = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Vacuum mode type = Off Continue with Greenplum dump Yy|Nn (default=N):
> y
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319040710.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp =
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319040710.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp =
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319040710.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp =
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319040710.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp =
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319040710.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp =
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting DumpDatabase
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ValidateDumpDatabase
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ValidateDatabaseExists
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ValidateDatabaseExists
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ValidateCluster
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ValidateCluster
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ValidateAllDumpDirs
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ValidateDumpDirs
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting CheckDir
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending CheckDir
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Directory /greenplum/data/master/gpseg-/db_dumps/ exists
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ValidateDumpDirs
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Checked /greenplum/data/master/gpseg- on master
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ParallelOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-WorkerPool haltWork()
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ParallelOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ValidateAllDumpDirs
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ValidateDumpDatabase
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Creating filter file: /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319044402_table
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Adding compression parameter
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Adding --no-expand-children
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Adding --incremental
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump process command line gp_dump -p -U gpadmin --gp-d=db_dumps/ --gp-r=/greenplum/data/master/gpseg-/db_dumps/ --gp-s=p --gp-k= --no-lock --gp-c --no-expand-children "gpdb" --table-file=/tmp/dirty_backup_list_otvbnB --incremental
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Starting Dump process
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump process returned exit code
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending DumpDatabase
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting PostDumpDatabase
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ListFilesByPattern
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ListFilesByPattern
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Timestamp key =
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting PostDumpSegment
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting CheckFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending CheckFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending PostDumpSegment
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Checked master status file and master dump file.
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ParallelOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Releasing pg_class lock
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-WorkerPool haltWork()
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ParallelOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending PostDumpDatabase
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Adding cmd to work_queue: rm -f /tmp/dirty_backup_list_otvbnB
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Adding cmd to work_queue: rm -f /tmp/dirty_backup_list_otvbnB
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] got cmd: rm -f /tmp/dirty_backup_list_otvbnB
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] got cmd: rm -f /tmp/dirty_backup_list_otvbnB
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] finished cmd: greenplum02 cmdStr='ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=60 greenplum02 ". /usr/local/greenplum-db/./greenplum_path.sh; rm -f /tmp/dirty_backup_list_otvbnB"' had result: cmd had rc= completed=True halted=False
stdout=''
stderr=''
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] finished cmd: greenplum03 cmdStr='ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=60 greenplum03 ". /usr/local/greenplum-db/./greenplum_path.sh; rm -f /tmp/dirty_backup_list_otvbnB"' had result: cmd had rc= completed=True halted=False
stdout=''
stderr=''
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-WorkerPool haltWork()
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319044402.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp = None
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319040710.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp =
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting CreateIncrementsFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending CreateIncrementsFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319044402.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp = None
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319040710.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp =
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting UpdateHistoryTable
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting CheckTableExists
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending CheckTableExists
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Inserted dump record into public.gpcrondump_history in gpdb database
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending UpdateHistoryTable
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump status report
:::: gpcrondump:greenplum01:gpadmin-[INFO]:----------------------------------------------------
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Target database = gpdb
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump subdirectory =
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump type = Incremental
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Clear old dump directories = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump start time = ::
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump end time = ::
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Status = COMPLETED
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump key =
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump file compression = On
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Vacuum mode type = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Exit code zero, no warnings generated
:::: gpcrondump:greenplum01:gpadmin-[INFO]:----------------------------------------------------
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting MailDumpEvent
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting CheckFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending CheckFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting CheckFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending CheckFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting MailEvent
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Sending mail to kingle_work@.com
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Email command string= echo "Completed for database gpdb with return code 0 [Start=04:44:02 End=04:44:09] Options passed [-x gpdb -v --incremental]" | /bin/mail -s "Report from gpcrondump on host greenplum01 [COMPLETED]" kingle_work@.com
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending MailEvent
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending MailDumpEvent

04,继续增量备份

备份:

gpcrondump  -x gpdb -v --incremental
 [gpadmin@greenplum01 ~]$ gpcrondump  -x gpdb -v --incremental
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Starting gpcrondump with args: -x gpdb -v --incremental
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='template1'
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Bypassing disk space checks for incremental backup
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319044402.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp = None
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319040710.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp =
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting GpCronDump
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ValidateDatabaseExists
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ValidateDatabaseExists
:::: gpcrondump:greenplum01:gpadmin-[INFO]:----------------------------------------------------
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Master Greenplum Instance dump parameters
:::: gpcrondump:greenplum01:gpadmin-[INFO]:----------------------------------------------------
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump type = Incremental
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319044402.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp = None
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319040710.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp =
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Database to be dumped = gpdb
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Master port =
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Master data directory = /greenplum/data/master/gpseg-
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Run post dump program = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Rollback dumps = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump file compression = On
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Clear old dump files = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Update history table = On
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Secure config files = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump global objects = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Vacuum mode type = Off Continue with Greenplum dump Yy|Nn (default=N):
> y
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319044402.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp = None
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319040710.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp =
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319044402.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp = None
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319040710.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp =
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319044402.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp = None
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319040710.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp =
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319044402.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp = None
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319040710.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp =
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319044402.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp = None
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319040710.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp =
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting DumpDatabase
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ValidateDumpDatabase
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ValidateDatabaseExists
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ValidateDatabaseExists
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ValidateCluster
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ValidateCluster
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ValidateAllDumpDirs
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ValidateDumpDirs
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting CheckDir
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending CheckDir
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Directory /greenplum/data/master/gpseg-/db_dumps/ exists
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ValidateDumpDirs
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Checked /greenplum/data/master/gpseg- on master
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ParallelOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] got cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] finished cmd: Remote(ValidateDumpDirs)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-WorkerPool haltWork()
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ParallelOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ValidateAllDumpDirs
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ValidateDumpDatabase
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Creating filter file: /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319050016_table
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Adding compression parameter
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Adding --no-expand-children
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Adding --incremental
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump process command line gp_dump -p -U gpadmin --gp-d=db_dumps/ --gp-r=/greenplum/data/master/gpseg-/db_dumps/ --gp-s=p --gp-k= --no-lock --gp-c --no-expand-children "gpdb" --table-file=/tmp/dirty_backup_list_8b9DHz --incremental
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Starting Dump process
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump process returned exit code
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending DumpDatabase
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting PostDumpDatabase
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ListFilesByPattern
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ListFilesByPattern
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Timestamp key =
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting PostDumpSegment
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting CheckFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending CheckFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending PostDumpSegment
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Checked master status file and master dump file.
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting ParallelOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] got cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Releasing pg_class lock
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-N. :::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending RemoteOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] finished cmd: Remote(PostDumpSegment)
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-WorkerPool haltWork()
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker4] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker2] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker3] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker6] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending ParallelOperation
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending PostDumpDatabase
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker5] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker7] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Adding cmd to work_queue: rm -f /tmp/dirty_backup_list_8b9DHz
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Adding cmd to work_queue: rm -f /tmp/dirty_backup_list_8b9DHz
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] got cmd: rm -f /tmp/dirty_backup_list_8b9DHz
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] got cmd: rm -f /tmp/dirty_backup_list_8b9DHz
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] finished cmd: greenplum02 cmdStr='ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=60 greenplum02 ". /usr/local/greenplum-db/./greenplum_path.sh; rm -f /tmp/dirty_backup_list_8b9DHz"'had result: cmd had rc= completed=True halted=False
stdout=''
stderr=''
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] finished cmd: greenplum03 cmdStr='ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=60 greenplum03 ". /usr/local/greenplum-db/./greenplum_path.sh; rm -f /tmp/dirty_backup_list_8b9DHz"'had result: cmd had rc= completed=True halted=False
stdout=''
stderr=''
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-WorkerPool haltWork()
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] haltWork
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker0] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-[worker1] got a halt cmd
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319050016.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp = None
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319044402.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp = None
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319040710.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp =
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting CreateIncrementsFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending CreateIncrementsFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319050016.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp = None
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319044402.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp = None
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Checking for latest timestamp in report file /greenplum/data/master/gpseg-/db_dumps//gp_dump_20190319040710.rpt
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Timestamp =
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting UpdateHistoryTable
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting CheckTableExists
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending CheckTableExists
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Inserted dump record into public.gpcrondump_history in gpdb database
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending UpdateHistoryTable
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump status report
:::: gpcrondump:greenplum01:gpadmin-[INFO]:----------------------------------------------------
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Target database = gpdb
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump subdirectory =
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump type = Incremental
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Clear old dump directories = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump start time = ::
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump end time = ::
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Status = COMPLETED
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump key =
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Dump file compression = On
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Vacuum mode type = Off
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Exit code zero, no warnings generated
:::: gpcrondump:greenplum01:gpadmin-[INFO]:----------------------------------------------------
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting MailDumpEvent
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting CheckFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending CheckFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting CheckFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending CheckFile
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Starting MailEvent
:::: gpcrondump:greenplum01:gpadmin-[INFO]:-Sending mail to kingle_work@.com
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Email command string= echo "Completed for database gpdb with returncode 0 [Start=05:00:16 End=05:00:23] Options passed [-x gpdb -v --incremental]" | /bin/mail -s "Report from gpcrondump on host greenplum01 [COMPLETED]" kingle_work@.com
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending MailEvent
:::: gpcrondump:greenplum01:gpadmin-[DEBUG]:-Ending MailDumpEvent

一,恢复

  01,数据删除恢复

gpdb=# DELETE FROM test1
gpdb-# ;
DELETE
gpdb=# SELECT * from test1;
id | name
----+------
( rows)

  02, 恢复全量

gpdbrestore -l /gpbackup/back3/gpcorndump.log -t  -T public.test1 --truncate --redirect gpdb

  -t 后面的是时间戳,每个日志生成都有,选择对应的时间就行

 删除数据后的恢复:
[gpadmin@greenplum01 ~]$ gpdbrestore -l /gpbackup/back4/gpcorndump.log -t -T public.test1 --truncate --redirect gpdb
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Starting gpdbrestore with args: -l /gpbackup/back4/gpcorndump.log -t -T public.test1 --truncate --redirect gpdb
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-------------------------------------------
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Greenplum database restore parameters
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-------------------------------------------
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Restore type = Table Restore
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Database name = gpdb
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-------------------------------------------
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Table restore list
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-------------------------------------------
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Table = public.test1
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Redirect Restore database = gpdb
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Restore method = Specific table restore
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Restore timestamp =
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Restore compressed dump = On
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Restore global objects = Off
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Array fault tolerance = f
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:------------------------------------------- Continue with Greenplum restore Yy|Nn (default=N):
> y
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Creating Database gpdb
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Created Database gpdb
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Running metadata restore
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Invoking commandline: gp_restore -i -h greenplum01 -p -U gpadmin --gp-d=db_dumps/ --gp-i --gp-k= --gp-l=p --gp-f=/tmp/table_list_5PvlS8 --gp-c -d "gpdb" -s /greenplum/data/master/gpseg-/db_dumps//gp_dump_-1_1_20190320015752.gz -P
:::: gpdbrestore:greenplum01:gpadmin-[WARNING]:-gpdbrestore finished but ERRORS were found, please check the restore report file for details
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Expanding parent partitions if any in table filter
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-gp_restore commandline: gp_restore -i -h greenplum01 -p -U gpadmin --gp-d=db_dumps/ --gp-i --gp-k= --gp-l=p --gp-f=/tmp/table_list_RH6W_s --gp-c -d "gpdb" -a:
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-gpdbrestore finished successfully
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Running post data restore
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-gp_restore commandline: gp_restore -i -h greenplum01 -p -U gpadmin --gp-d=db_dumps/ --gp-i --gp-k= --gp-l=p --gp-f=/tmp/table_list_RH6W_s --gp-c -d "gpdb" -P:
:::: gpdbrestore:greenplum01:gpadmin-[WARNING]:-gpdbrestore finished but ERRORS were found, please check the restore report file for details
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Updating AO/CO statistics on master
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-No AO/CO tables restored, skipping statistics update...
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Commencing analyze of restored tables in 'gpdb' database, please wait
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-'Analyze' of restored tables in 'gpdb' database completed without error
[gpadmin@greenplum01 ~]$ psql -d gpdb
psql (8.3.)
Type "help" for help. gpdb=# SELECT * from test1;
id | name
-----+-------
| linda
| lily
| tom
| jack
( rows)

03,恢复增量

gpdbrestore -t  -T public.test1 -v --truncate --noplan --redirect gpdb
 [gpadmin@greenplum01 ~]$ gpdbrestore -t  -T public.test1 -v --redirect gpdb --noplan --truncate
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Starting gpdbrestore with args: -t -T public.test1 -v --redirect gpdb --noplan --truncate
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='template1'
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Starting GpdbRestore
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Starting ValidateTimestamp
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Ending ValidateTimestamp
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Starting GetLocalDumpTablesOperation
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Ending GetLocalDumpTablesOperation
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-------------------------------------------
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Greenplum database restore parameters
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-------------------------------------------
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Restore type = Incremental Table Restore
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Database name = gpdb
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-------------------------------------------
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Table restore list
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-------------------------------------------
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Table = public.test1
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Redirect Restore database = gpdb
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Restore method = Specific table restore
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Restore timestamp =
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Restore compressed dump = On
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Restore global objects = Off
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Array fault tolerance = f
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:------------------------------------------- Continue with Greenplum restore Yy|Nn (default=N):
> y
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Starting RestoreDatabase
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Starting ValidateSegments
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Ending ValidateSegments
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='template1'
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Creating Database gpdb
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Created Database gpdb
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Adding cmd to work_queue: /bin/scp /tmp/table_list_FhYgsu greenplum02:/tmp/table_list_FhYgsu
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Adding cmd to work_queue: /bin/scp /tmp/table_list_FhYgsu greenplum03:/tmp/table_list_FhYgsu
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] got cmd: /bin/scp /tmp/table_list_FhYgsu greenplum02:/tmp/table_list_FhYgsu
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] got cmd: /bin/scp /tmp/table_list_FhYgsu greenplum03:/tmp/table_list_FhYgsu
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] finished cmd: Copying table_filter_file to greenplum02 cmdStr='/bin/scp /tmp/table_list_FhYgsu greenplum02:/tmp/table_list_FhYgsu' had result: cmd had rc= completed=True halted=False
stdout=''
stderr=''
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] finished cmd: Copying table_filter_file to greenplum03 cmdStr='/bin/scp /tmp/table_list_FhYgsu greenplum03:/tmp/table_list_FhYgsu' had result: cmd had rc= completed=True halted=False
stdout=''
stderr=''
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-WorkerPool haltWork()
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] haltWork
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] haltWork
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] got a halt cmd
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] got a halt cmd
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Adding cmd to work_queue: /bin/scp /tmp/table_list_TKsXql greenplum02:/tmp/table_list_TKsXql
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Adding cmd to work_queue: /bin/scp /tmp/table_list_TKsXql greenplum03:/tmp/table_list_TKsXql
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] got cmd: /bin/scp /tmp/table_list_TKsXql greenplum02:/tmp/table_list_TKsXql
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] got cmd: /bin/scp /tmp/table_list_TKsXql greenplum03:/tmp/table_list_TKsXql
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] finished cmd: Copying table_filter_file to greenplum02 cmdStr='/bin/scp /tmp/table_list_TKsXql greenplum02:/tmp/table_list_TKsXql' had result: cmd had rc= completed=True halted=False
stdout=''
stderr=''
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] finished cmd: Copying table_filter_file to greenplum03 cmdStr='/bin/scp /tmp/table_list_TKsXql greenplum03:/tmp/table_list_TKsXql' had result: cmd had rc= completed=True halted=False
stdout=''
stderr=''
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-WorkerPool haltWork()
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] haltWork
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] haltWork
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-gp_restore commandline: gp_restore -i -h greenplum01 -p -U gpadmin --gp-d=db_dumps/ --gp-i --gp-k= --gp-l=p --gp-f=/tmp/table_list_TKsXql --gp-c -d "gpdb" -a:
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] got a halt cmd
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] got a halt cmd
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-gpdbrestore finished successfully
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Updating AO/CO statistics on master
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-No AO/CO tables restored, skipping statistics update...
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Commencing analyze of restored tables in 'gpdb' database, please wait
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-'Analyze' of restored tables in 'gpdb' database completed without error
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Adding cmd to work_queue: rm -f /tmp/table_list_TKsXql
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Adding cmd to work_queue: rm -f /tmp/table_list_TKsXql
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] got cmd: rm -f /tmp/table_list_TKsXql
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] got cmd: rm -f /tmp/table_list_TKsXql
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] finished cmd: greenplum02 cmdStr='ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=60 greenplum02 ". /usr/local/greenplum-db/./greenplum_path.sh; rm -f /tmp/table_list_TKsXql"' had result: cmdhad rc= completed=True halted=False
stdout=''
stderr=''
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] finished cmd: greenplum03 cmdStr='ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=60 greenplum03 ". /usr/local/greenplum-db/./greenplum_path.sh; rm -f /tmp/table_list_TKsXql"' had result: cmdhad rc= completed=True halted=False
stdout=''
stderr=''
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-WorkerPool haltWork()
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] haltWork
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] haltWork
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Ending RestoreDatabase
[gpadmin@greenplum01 ~]$ psql -d gpdb
psql (8.3.)
Type "help" for help. gpdb=# SELECT * from test1;
id | name
-----+-------
| tom
| lily
| xixi
| linda
| jack
( rows)
gpdbrestore -t  -T public.test1 -v --truncate --noplan --redirect gpdb
 [gpadmin@greenplum01 ~]$ gpdbrestore -t  -T public.test1 -v --redirect gpdb --noplan --truncate
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Starting gpdbrestore with args: -t -T public.test1 -v --redirect gpdb --noplan --truncate
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='template1'
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Starting GpdbRestore
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Starting ValidateTimestamp
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Ending ValidateTimestamp
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Starting GetLocalDumpTablesOperation
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Ending GetLocalDumpTablesOperation
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-------------------------------------------
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Greenplum database restore parameters
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-------------------------------------------
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Restore type = Incremental Table Restore
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Database name = gpdb
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-------------------------------------------
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Table restore list
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-------------------------------------------
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Table = public.test1
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Redirect Restore database = gpdb
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Restore method = Specific table restore
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Restore timestamp =
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Restore compressed dump = On
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Restore global objects = Off
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Array fault tolerance = f
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:------------------------------------------- Continue with Greenplum restore Yy|Nn (default=N):
> y
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Starting RestoreDatabase
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Starting ValidateSegments
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Ending ValidateSegments
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='template1'
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Creating Database gpdb
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Created Database gpdb
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Adding cmd to work_queue: /bin/scp /tmp/table_list_WHMO0U greenplum02:/tmp/table_list_WHMO0U
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Adding cmd to work_queue: /bin/scp /tmp/table_list_WHMO0U greenplum03:/tmp/table_list_WHMO0U
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] got cmd: /bin/scp /tmp/table_list_WHMO0U greenplum02:/tmp/table_list_WHMO0U
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] got cmd: /bin/scp /tmp/table_list_WHMO0U greenplum03:/tmp/table_list_WHMO0U
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] finished cmd: Copying table_filter_file to greenplum02 cmdStr='/bin/scp /tmp/table_list_WHMO0U greenplum02:/tmp/table_list_WHMO0U' had result: cmd had rc= completed=True halted=False
stdout=''
stderr=''
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] finished cmd: Copying table_filter_file to greenplum03 cmdStr='/bin/scp /tmp/table_list_WHMO0U greenplum03:/tmp/table_list_WHMO0U' had result: cmd had rc= completed=True halted=False
stdout=''
stderr=''
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-WorkerPool haltWork()
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] haltWork
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] haltWork
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] got a halt cmd
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] got a halt cmd
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Adding cmd to work_queue: /bin/scp /tmp/table_list_Q5X_Q3 greenplum02:/tmp/table_list_Q5X_Q3
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Adding cmd to work_queue: /bin/scp /tmp/table_list_Q5X_Q3 greenplum03:/tmp/table_list_Q5X_Q3
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] got cmd: /bin/scp /tmp/table_list_Q5X_Q3 greenplum02:/tmp/table_list_Q5X_Q3
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] got cmd: /bin/scp /tmp/table_list_Q5X_Q3 greenplum03:/tmp/table_list_Q5X_Q3
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] finished cmd: Copying table_filter_file to greenplum02 cmdStr='/bin/scp /tmp/table_list_Q5X_Q3 greenplum02:/tmp/table_list_Q5X_Q3' had result: cmd had rc= completed=True halted=False
stdout=''
stderr=''
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] finished cmd: Copying table_filter_file to greenplum03 cmdStr='/bin/scp /tmp/table_list_Q5X_Q3 greenplum03:/tmp/table_list_Q5X_Q3' had result: cmd had rc= completed=True halted=False
stdout=''
stderr=''
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-WorkerPool haltWork()
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] haltWork
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] haltWork
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] got a halt cmd
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] got a halt cmd
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-gp_restore commandline: gp_restore -i -h greenplum01 -p -U gpadmin --gp-d=db_dumps/ --gp-i --gp-k= --gp-l=p --gp-f=/tmp/table_list_Q5X_Q3 --gp-c -d "gpdb" -a:
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-gpdbrestore finished successfully
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Updating AO/CO statistics on master
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-No AO/CO tables restored, skipping statistics update...
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-Commencing analyze of restored tables in 'gpdb' database, please wait
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Connecting to dbname='gpdb'
:::: gpdbrestore:greenplum01:gpadmin-[INFO]:-'Analyze' of restored tables in 'gpdb' database completed without error
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Adding cmd to work_queue: rm -f /tmp/table_list_Q5X_Q3
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Adding cmd to work_queue: rm -f /tmp/table_list_Q5X_Q3
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] got cmd: rm -f /tmp/table_list_Q5X_Q3
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] got cmd: rm -f /tmp/table_list_Q5X_Q3
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] finished cmd: greenplum02 cmdStr='ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=60 greenplum02 ". /usr/local/greenplum-db/./greenplum_path.sh; rm -f /tmp/table_list_Q5X_Q3"' had result: cmdhad rc= completed=True halted=False
stdout=''
stderr=''
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] finished cmd: greenplum03 cmdStr='ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=60 greenplum03 ". /usr/local/greenplum-db/./greenplum_path.sh; rm -f /tmp/table_list_Q5X_Q3"' had result: cmdhad rc= completed=True halted=False
stdout=''
stderr=''
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-WorkerPool haltWork()
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker0] haltWork
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-[worker1] haltWork
:::: gpdbrestore:greenplum01:gpadmin-[DEBUG]:-Ending RestoreDatabase
[gpadmin@greenplum01 ~]$ psql -d gpdb
psql (8.3.)
Type "help" for help. gpdb=# SELECT * from test1;
id | name
-----+-------
| jack
| lily
| xixi
| tom
| hhaa
| linda
( rows) gpdb=# exit

 

  

  

  

  

 
 
 
 
 
 
 
 
 

GreenPlum 大数据平台--备份-邮件配置-gpcrondump & gpdbrestore(五)的更多相关文章

  1. GreenPlum 大数据平台--非并行备份(六)

    一,非并行备份(pg_dump) 1) GP依然支持常规的PostgreSQL备份命令pg_dump和pg_dumpall 2) 备份将在Master主机上创建一个包含所有Segment数据的大的备份 ...

  2. GreenPlum 大数据平台--并行备份(四)

    01,并行备份(gp_dump) 1) GP同时备份Master和所有活动的Segment实例 2) 备份消耗的时间与系统中实例的数量没有关系 3) 在Master主机上备份所有DDL文件和GP相关的 ...

  3. GreenPlum 大数据平台--监控

    数据库状态监控活动 活动 过程 纠正措施 列出当前状态为down的Segment.如果有任何行被返回,就会生成一个警告或者告警. 推荐频率:每5到10分钟 重要度: IMPORTANT 在postgr ...

  4. GreenPlum 大数据平台--介绍

    一,GreenPlum 01,介绍: Greenplum是一种基于PostgreSQL的分布式数据库,其采用shared-nothing架构,主机.操作系统.内存.存储都是自我控制的,不存在共享. 官 ...

  5. GreenPlum 大数据平台--外部表(三)

    一,外部表介绍 Greenplum 在数据加载上有一个明显的优势,就是支持数据的并发加载,gpfdisk是并发加载的工具,数据库中对应的就是外部表 所谓外部表,就是在数据库中只有表定义.没有数据,数据 ...

  6. GreenPlum 大数据平台--运维(三)

    一,操作命令 01,启动gpstart 参数说明 COMMAND NAME: gpstart Starts a Greenplum Database system. ***************** ...

  7. GreenPlum 大数据平台--常用命令

    gpstate 命令 参数 作用 gpstate -b => 显示简要状态 gpstate -c => 显示主镜像映射 gpstart -d => 指定数据目录(默认值:$MASTE ...

  8. GreenPlum 大数据平台--安装

    1. 环境准备 01, 安装包准备: Greenplum :  >>>>链接地址 Pgadmin客户端 :  >>>链接地址 greenplum-cc-web ...

  9. GreenPlum 大数据平台--运维(二)

    .如何获取查询运行时和已用时间. 例子: Select tstart, tfinish, (tfinish-tstart) as total_time, trim(query_text) from q ...

随机推荐

  1. ASP.NET中Service接受前端单个及多个数据的写法

    MVC中的Service主要是用来处理数据交互的. 前端页面传递一个或者多个参数到Service的写法: 一个参数写法: public DataTable 方法名 (Pagination pagina ...

  2. 20169219《移动平台开发实践》移动APP设计应该考虑到的问题

    1.开发流程包括: (1)用户需求分析 (2)产品原型设计 (3)UI视觉设计 (4)APP开发 (5)项目测试 (6)发布 App开发经过UI设计完成之后,便会进入开发阶段. (1)服务器端:编写接 ...

  3. C#向服务器上传文件问题

    最近在写服务器端web上传的接口.但一直报错,上传不上去,后来发现是在分隔符中出现的问题. 错误的写法: var boundary = "---------------" + Da ...

  4. ubuntu 下安装ffmpeg

    FFmpeg是一套可以用来记录.转换数字音频.视频,并能将其转化为流的开源计算机程序.采用LGPL或GPL许可证.它提供了录制.转换以及流化音视 频的完整解决方案.它包含了非常先进的音频/视频编解码库 ...

  5. javascript ie8兼容 a标签href javascript:void(0);

    ie8兼容 a标签href javascript:void(0); 尽量不要用javascript:协议做为A的href属性,这样不仅会导致不必要的触发window.onbeforeunload事件;

  6. Selenium辅助工具

    下载Firefox39.0版本浏览器,安装firebug和FirePath.最新版的Firefox在扩展组件中无法找到firebug,可以使用旧的版本的Firefox浏览器. FirePath插件的使 ...

  7. 20165219 《Java程序设计》实验三(敏捷开发与XP实践)实验报告

    20165219 <Java程序设计>实验三(敏捷开发与XP实践)实验报告 一.实验报告封面 课程:Java程序设计 班级:1652班 姓名:王彦博 学号:20165219 成绩: 指导教 ...

  8. 【python】使用python smtplib库发邮件添加cc,bcc

    #!/usr/bin/env python# -*- coding: utf-8 -*- '''@author@mail @date 2017/03/16 发送邮件'''import smtplibf ...

  9. how to use windows azure market

    here is the sample. namespace USCrime2006and2007 { class Program { static void Main(string[] args) { ...

  10. 关于hive Metadata 使用 MsSQL

    下面的页面里说明, http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.0.6.0-Win/bk_installing_hdp_for_window ...