backup

Question mark characters displaying within text, why is this?

江枫思渺然 提交于 2019-12-28 03:04:24
问题 I have a backup server that automatically backs up my live site, both files and database. On the live site, the text looks fine, but when you view the mirrored version of it, it displays '?' within some of the text. This text is stored within the news database table. Here is a screen shot of it being on the live server and of it on the mirrored server. What could happen within the process of backing it up to the mirrored server? 回答1: The following articles will be useful http://dev.mysql.com

Maintaining and synchronizing a mirror remote Git repository

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-28 02:16:12
问题 I am recently using a remote git server (my own computer), and the server malfunctioned and can't be remotely accessed. I was wondering if there is a proper way to maintain TWO remote depositories, so that the second depository on my other computer can be automatically used when the first one fails? My second question is how to automatically (e.g. via a script) to synchronize the primary and backup remote depositories periodically, and how can I change which one is the default/primary depo?

Dump a mysql database to a plaintext (CSV) backup from the command line

北战南征 提交于 2019-12-27 18:20:11
问题 I'd like to avoid mysqldump since that outputs in a form that is only convenient for mysql to read. CSV seems more universal (one file per table is fine). But if there are advantages to mysqldump, I'm all ears. Also, I'd like something I can run from the command line (linux). If that's a mysql script, pointers to how to make such a thing would be helpful. 回答1: If you can cope with table-at-a-time, and your data is not binary, use the -B option to the mysql command. With this option it'll

Taking a backup of Pentaho

人走茶凉 提交于 2019-12-26 06:07:53
问题 How to take a backup of Pentaho BA server related files? What are the necessary DBs needed to take a backup of? Answer is provided below. 回答1: The necessary steps are mentioned below. 1) Login to the Pentaho installed server with a user who has necessary permission to OS related files. 2) Stop BA server. 3) Take a complete database backup of the quartz, hibernate, and jackrabbit databases. If you’re using Postgresql, use the command‐line tool pg_dump in the postgresql bin folder. You will

Taking a backup of Pentaho

99封情书 提交于 2019-12-26 06:05:33
问题 How to take a backup of Pentaho BA server related files? What are the necessary DBs needed to take a backup of? Answer is provided below. 回答1: The necessary steps are mentioned below. 1) Login to the Pentaho installed server with a user who has necessary permission to OS related files. 2) Stop BA server. 3) Take a complete database backup of the quartz, hibernate, and jackrabbit databases. If you’re using Postgresql, use the command‐line tool pg_dump in the postgresql bin folder. You will

Using Volumerize to backup my docker volumes with scp ?

旧城冷巷雨未停 提交于 2019-12-25 12:42:33
问题 I have a couple of docker volumes i want to backup onto another server, using scp/sftp. I don't know how to deal with that so i decided to have a look at blacklabelops/volumerize GitHub project. This tool is based on the command line tool Duplicity. Dockerized and Parameterized for easier use and configuration. Tutorial is dealing with a jenkins docker, but i don't understand how to mention i'm want to use a pem file. I've tried different solution (adding -i option to scp command line)

SonarQube backup restore procedure with ElasticSearch

落爺英雄遲暮 提交于 2019-12-25 08:24:12
问题 I'm writing an internal manual for SonarQube administration but after getting ElasticSearch engine into the product I have not been able to close the circle. Before this, a DB backup and copy some folders where enough to save SQ status, but what should I do now with ElasticSearch? Should I simply use one more node of ES so to have a live duplicate of indexes? Should I make a copy of the new node shards and keep it as backup? And how can I restore the SQ status if required? 回答1: No need to

psql error for restoring pgsl backup on cmd

扶醉桌前 提交于 2019-12-25 08:07:41
问题 I'm having a hard time understanding what this error means. The command I used was: psql -U postgres -d app -1 -f postgres.sql and this is the error: psql:postgres.sql:1879: ERROR: current transaction is aborted, commands ignored until end of transaction block ROLLBACK psql:postgres.sql:0: WARNING: there is no transaction in progress Not really sure how to make a transaction in progress. This is the sql file that I was trying to import to postgresl: http://pastebin.com/2xMGhstd 回答1: As joop

Hotback of Git Server Using RSync?

安稳与你 提交于 2019-12-25 07:14:04
问题 I'm wondering if it is safe to use rsync to hotbackup a git server (The /home/git folder containing multiple repositories). I'm assuming that this could introduce race conditions, but perhaps git commit is an atomic operation such that rsync either sees the files as they are before the commit or after the commit but not somewhere inbetween. I'll provide an example as well just to make sure I'm illustrating this properly. Suppose file A and file B are being committed to one of the repositories

Backup and Restore Filtered Data from SQL Server database using C#

痴心易碎 提交于 2019-12-25 06:37:47
问题 I wish to implement backup and restore feature for my application. Here I want to backup filtered data(not the whole database). Like Select * from Sales where CompanyId=1 For all tables in database and write these data to a file.bak file, later which I can be used for restore purpose. My Question here is Is there any way to implement this feature using SMO? If you have any other suggestion about how to implement this, I am very happy to hear it. Please help me friends.. 回答1: There is no