backup

Azure Export SQL database example

痞子三分冷 提交于 2019-12-12 10:44:29
问题 Given Microsoft is deprecating the previous method of exporting a SQL DB they have put up a suggested example here: $subscriptionId = "YOUR AZURE SUBSCRIPTION ID" Login-AzureRmAccount Set-AzureRmContext -SubscriptionId $subscriptionId # Database to export $DatabaseName = "DATABASE-NAME" $ResourceGroupName = "RESOURCE-GROUP-NAME" $ServerName = "SERVER-NAME" $serverAdmin = "ADMIN-NAME" $serverPassword = "ADMIN-PASSWORD" $securePassword = ConvertTo-SecureString -String $serverPassword

sqlite3 shell command '.backup' and transaction

大城市里の小女人 提交于 2019-12-12 10:44:20
问题 I have sqlite database on my local host (Win NT) and want to back it up. I want to use shell command '.backup' to accomplish this task. But it seems I can insert a new rows into database during backup process. Does '.backup' shell command starts new exclusive transaction on my database? I thought when I execute '.backup' shell command it locks my database. 回答1: The sqlite3 backup method does not lock the database. I would suggest to use the following workaround if you would like to lock the

Automatically synchronising to remote git repository

醉酒当歌 提交于 2019-12-12 10:18:16
问题 Is there an automatic way to synchronise a local git repository with a remote one, for backup? Basically the structure that I'm envisaging is this: "Master" repository on a central server User A's PC has a local clone of the master repo Backup server has a mirror of user A's repo User B's PC has a local clone of the master repo Backup server has a mirror of user B's repo Interaction between the users and the master is manual -- the users have to choose when to push or pull changes.

Mercurial between server and local?

血红的双手。 提交于 2019-12-12 09:59:28
问题 I have a portal development work in process... I had some troubles time to time like losing, overwriting wrong files, etc... So I decided to go for Mercurial for this development. My first experience with Source Control. I work on server [bluehost] for this project, is there any way to keep update backups at local? Do I have to setup Mercurial to Bluehost? any way to sync changes on server to my local mac? 回答1: Here is a proposed configuration: a Mercurial repository on your server. That

Is there a simple automatic backup system for Visual Studio projects?

筅森魡賤 提交于 2019-12-12 09:50:38
问题 I'm using Visual Studio 2008 Express and I would like Visual Studio (or perhaps an Add-in) to save my whole project to some sort of auto-incrementing archive or whatever would help me recover from disasters. I don't have much need for SVN or complex versioning systems. I'm just looking for something simple and lean. Any help would be much appreciated. Jenny PS : I looked into the built-in AutoRecover feature but it doesn't seem to save more than a few files. 回答1: You're describing a source

SQL Server Partial Database Backup (excluding some tables)

扶醉桌前 提交于 2019-12-12 09:39:49
问题 I'm managing a reasonably large SQL Server database. Some tables contain data that are business-critical and must be backed up offsite daily. But we also have other (read-write) tables that take up about half the size of the database that aren't business-critical. What I would like to do is something like this: Primary filegroup: Tables A, B, C --> daily backup Secondary filegroup: Tables D, E, F --> monthly (or occasional manual) backup When I tried to test this, I got errors while trying to

How do I do incremental backups for SQLite?

旧时模样 提交于 2019-12-12 08:53:54
问题 I have a program that saves logging data to an SQLite3 database. I would like to back up the database while the program is still running. I have accomplished this by using the SQLite Online Backup API (http://www.sqlite.org/backup.html) and it works fine, however it lags the process until the backup is complete... Does anyone know of a way to do incremental backups in SQLite? I would preferably only backup new data, not the entire database each time I run the backup. 回答1: I don't think there

TF400997: Configuring Scheduled backup with TFS 2013

耗尽温柔 提交于 2019-12-12 08:22:49
问题 I am getting TF400997 when I am trying to configure TFS Scheduled backup using TFS Admin console. Here is my setup: SQL Server name: Machine1 SQL Server service running under: sqlserverservice@domain.com (which is a domain user and local admin on Machine1 and Machine2) SQL Server agent service running under: sqlserverservice@domain.com TFS server name: Machine2 TFS service running under: tfsservice@domain.com (local admin on Machine2 and Machine1) Network backup path: \Machine2\Backup (gave

Backup MySQL database

我们两清 提交于 2019-12-12 08:09:46
问题 I have a MySQL Database of about 1.7GB. I usually back it up using mysqldump and this takes about 2 minutes. However, I would like to know the answers to the following questions: Does mysqldump block read and/or write operations to the database? Because in a live scenario, I would not want to block users from using the database while it is being backed up. It would be ideal for me to only backup the WHOLE database once in, say, a week, but in the intermediate days only one table needs to be

Tar and save results directly to an SSH directory

那年仲夏 提交于 2019-12-12 06:15:40
问题 I have a server that I would like to make a tar backup of, but the server itself doesn't have enough disk space that is equal to the data it contains. Therefore, I would like to tar it directly to an ssh directory, such that it would dump the tar data into the ssh target without taking huge temporary disk space from the source server. The server is supposed to do an ssh connection and use a directory of the form: ssh user@server.com:/home/user/backupfolder/ Is this possible with simple Linux