backup

Mysql Backup with Mercurial

旧巷老猫 提交于 2019-12-04 04:19:41
is it possible to take ? I researched at Google, I found few articles, but in German and other langs, so didnt understand well. It would be great if we could get mysql back-up from server to localhost with Mercurial [at localhost]. maybe with Remote Mysql Connection, etc. do you know any way of doing this? is it possible? Thanks!! Regards... Presuming you want to store a periodic backup in a version control repository there are three steps: Setup the mercurial repository where you want to store the database snapshots. mkdir db-backup hg init db-backup Get the database in a file format. The

PostgreSQL备份与恢复

我是研究僧i 提交于 2019-12-04 02:23:22
PostgreSQL备份与恢复 官方文档(英文): http://www.postgresql.org/docs/9.4/static/backup.html 官方文档(中文): http://58.58.27.50:8079/doc/html/9.3.1_zh/backup.html 逻辑备份: 1.SQL转储(pg_dump,pg_dumpall) SQL转储不包括索引,可以自定义要备份的对象及其内容,将备份内容生成不同的格式。可以通过pg_restore还原备份。 是pg_dump的输出通常可以重新载入到PostgreSQL新版本, 然而文件级别备份和连续归档都限于原服务器版本。pg_dump是将数据库传输到另一台机器体系结构工作时唯一的方法, 如从32位变到64位服务器。 由pg_dump创建的备份在内部是一致的, 也就是说,pg_dump转储的pg_dump开始运行时的数据库快照。pg_dump工作的时候并不阻塞其它的对数据库的操作 (但是会阻塞那些需要排它锁的操作,比如多数形式的ALTER TABLE)。 Important: 如果你的数据库结构依赖于OID(比如说用做外键), 那么你必须告诉pg_dump把OID也导出来。要导出OID, 可以使用-o命令行选项。 物理备份: 1.文件系统备份 文件系统级别备份,就是直接copy数据库目录,必须关闭服务

Amazon RDS instance backup window duration?

核能气质少年 提交于 2019-12-04 02:20:16
What does the backup window duration setting mean when configuring an Amazon RDS instance? Ratan Sharma If you are using automated backup for a DB instance, by enabling backups. The Backup Window time is the time in which the instance’s back up will be created. Start time : This means the time of the day you configure the backup to take place. Duration : This is the time window where back up will be taken - Default is 30 minutes. For details : http://aws.typepad.com/aws/2011/03/amazon-rds-maintenance-windows-shortened.html from Working With Backups documentaion Below is the answer for "what if

Sql to get most recent full backup file for a specific database in sql server

自闭症网瘾萝莉.ら 提交于 2019-12-04 00:07:52
I need an sql command (dbcc or extended stored procedure?) or something that can be called from a sql server stored procedure to get the most recent full backup file available for a specific database. The name of the backup file will be placed in a varchar variable that I can use with a RESTORE DATABASE command in the stored procedure. This procedure will be used to restore from production database to a sandbox/training database, so after the restore completes I need the procedure to continue running so I can make a few modifications to the db. Just query msdb..backupset (MSDN) on the "source"

ffmpeg rtmp and local file output

家住魔仙堡 提交于 2019-12-03 22:30:23
问题 I have a trouble with ffmpeg I receive a rtsp stream from a grabbing device (camera) and I stream-out it to rtmp (Youtube Live) I want to have a copy of the stream in my computer so I write at the same time in a local file I use this command : ffmpeg -y -i 'RTSP_SOURCE' -c:v copy -c:a libvo_aacenc -map 0:v -bsf:v dump_extra -fflags +genpts -flags +global_header -movflags +faststart -map_metadata 0 -metadata title= -f tee -filter_complex aevalsrc=0 '[f=mp4]/tmp/backup.mp4|[f=mpegts]/tmp/backup

Where is the backup application log for SQL Server 2008?

邮差的信 提交于 2019-12-03 22:08:00
I need to check out why a database backup failed in one of our systems. The log says the following: BACKUP failed to complete the command BACKUP LOG XXXXXX. Check the backup application log for detailed messages. I went into Windows event logs , checked the application logs, and guess what I have found for this specific error in those logs BACKUP failed to complete the command BACKUP LOG XXXXXX. Check the backup application log for detailed messages. Where is the actual backup application log stored at by default? maSTAShuFu open SSMS and connect to the database go to MANAGEMENT > MAINTENANCE

Backup and Restore Database android studio

眉间皱痕 提交于 2019-12-03 21:46:38
I want to make backup and restore for the database in my app, so that when the users delete the application and reinstall it again they can recover their data. What is the best way to do that in Android Studio? There are several types available in back up and restore to your db file like Google drive, drop box and one drive. if you want to do the back up from your local storage try below given code. Backup code: public void backUp() { try { File sd = Environment.getExternalStorageDirectory(); File data = Environment.getDataDirectory(); if (sd.canWrite()) { String currentDBPath = "//data//your

Backup core data with RestKit 0.20

别来无恙 提交于 2019-12-03 21:35:18
I am fairly new to RestKit and in general with synching core data with a RESTful web service. To simplify this I have decided to use RestKit for only backing up the local store to our rails backend. So here are two questions that are currently on top of my list: 1) What is the best practice for using RestKit to backup core data? I was thinking to create a local context that my apps uses to do all the fetch/create/update/delete operations (locally and persist them on the persistent store) Then in background allow RestKit via RKManagedObjectStore to do the backup using its own MOC every 5

How to reliably restore MySQL blobs

自作多情 提交于 2019-12-03 17:15:30
问题 I have been backing up a MySQL database for several years with the command: mysqldump myDatabaseName -u root > myBackupFile.sql The backups have appeared to work fine... I then wanted to restore one of the backups to a different named database so I did: mysql myNewDatabaseName -u root < myBackupFile.sql I got some errors about logfile size so I stopped Mysql and removed the logfiles and set the following parameters in the my.ini file and restarted mysql. innodb_log_file_size=64M innodb_log

Windows 7 Action Center

旧巷老猫 提交于 2019-12-03 17:05:22
I would appreciate it if someone can guide me to the new MS APIs necessary for modifying/controlling the Windows 7 Action Center. What I need to do is integrate the Backup notification messages in my application which is a backup application in the Action Center. In other words, I want Windows to show that the backup operation was successful after the third-party software completes its backup operation. To be even more specific.... is there a way to treat backup notifications the same way as the security notification/status messages... for example after installing an Anti Virus application...