backup

SQL Server Restore Error - Access is Denied

£可爱£侵袭症+ 提交于 2019-12-02 15:47:52
I created a database on my local machine and then did a backup called tables.bak of table DataLabTables . I moved that backup to a remote machine without that table and tried to do a restore but get the following error: System.Data.SqlClient.SqlError: The operating system returned the error '5(Access is denied.)' while attempting 'RestoreContainer::ValidateTargetForCreation' on 'c:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\DataLabTables.mdf'. How do I fix my rights, if that is the problem? Exile I have just had this issue with SQL Server 2012. It turns out all I had to do was tick the

MongoDB backup plan

回眸只為那壹抹淺笑 提交于 2019-12-02 15:39:10
I want to switch from MySQL to MongoDB but great data losses (more than 1 hour) are not acceptable for me. I need to have 3 backup plans: Hourly backup plan . Data is flushed to disk every X minutes and if something wrong with the server I shall be sure that after reboot it will have all data at least for an hour ago. Can I configure it? Daily backup plan . Data is synced to backup disk every day so even if server explodes I can recover data for yesterday in some hours. Should I use fsync, master-slave or something else? I would like to have minimal traffic so ideally only changes will be sent

Using Subversion with DropBox

孤者浪人 提交于 2019-12-02 15:23:39
Is it a bad idea to use DropBox as a backup system for Subversion repositories? Has anyone tried using Subversion with an an online file sharing utility like DropBox? What's your experiences? My concern is whether this will work - mainly because Subversion maintains locks and it's very specific about it. I'm not sure if DropBox and Subversion can both work together? p.s. I'm thinking of using this for my Xcode projects, and no, i don't want to use github because it's not free - you can't keep your repositories Private with the free account (and other reasons). References: DropBox (file sync,

How can I make robocopy silent in the command line except for progress?

流过昼夜 提交于 2019-12-02 14:34:39
I'm using robocopy to do backups with a PowerShell script, and it's pretty awesome, except that I'd like it to only show the progress percentage while it copies and not all of the other information. The other information clutters the command window, which I'd clean and simple so that it's easy to see the overall progress of the backup. Is this possible? Thanks, Andrew R. Koene I added the following 2 parameters: /np /nfl So together with the 5 parameters from AndyGeek's answer, which are /njh /njs /ndl /nc /ns you get the following and it's silent: ROBOCOPY [source] [target] /NFL /NDL /NJH

copy all files and folders from one drive to another drive using DOS (command prompt)

喜欢而已 提交于 2019-12-02 14:29:17
i want to copy all files and folders from one drive to another drive using MS-DOS. How to do it? I am trying xcopy I:\*.* N:\ But it copies only files, not folders. So how to copy all files and folders both? Thanks. Yahia Use xcopy /s I:\*.* N:\ This is should do. SHABAZ KHAN xcopy c:\ d:\ /h/i/c/k/e/r/y Use the above command. It will definitely work. In this command data will be copied from c:\ to D:\, even folders and system files as well. Here's what the flags do: /h copies hidden and system files also /i if destination does not exist and copying more than one file, assume that destination

How to save Atom editor config and list of packages installed

独自空忆成欢 提交于 2019-12-02 14:14:09
I have recently started using Atom editor. Its pretty great so far. I am planning to install it on several other machines. How can I replicate the config and list of packages installed on my current machine to other machines. Is there a config that I can use to export and import them on other machines. Use Git to version control your config file ( ~/.atom/config.cson ), and any other config files (dotfiles) you may have. You can then host your Git repository for free on somewhere like GitHub , and retrieve it on other computers simply by running git clone https://github.com/{username}/{repo} .

Good Secure Backups Developers at Home [closed]

喜你入骨 提交于 2019-12-02 14:01:49
What is a good, secure, method to do backups, for programmers who do research & development at home and cannot afford to lose any work? Conditions: The backups must ALWAYS be within reasonably easy reach. Internet connection cannot be guaranteed to be always available. The solution must be either FREE or priced within reason, and subject to 2 above. Status Report This is for now only considering free options. The following open-source projects are suggested in the answers (here & elsewhere): BackupPC is a high-performance, enterprise-grade system for backing up Linux, WinXX and MacOSX PCs and

How to decrypt an encrypted Apple iTunes iPhone backup?

时光怂恿深爱的人放手 提交于 2019-12-02 13:47:10
I've been asked by a number of unfortunate iPhone users to help them restore data from their iTunes backups. This is easy when they are unencrypted, but not when they are encrypted, whether or not the password is known. As such, I'm trying to figure out the encryption scheme used on mddata and mdinfo files when encrypted. I have no problems reading these files otherwise, and have built some robust C# libraries for doing so. (If you're able to help, I don't care which language you use. It's the principle I'm after here!) The Apple "iPhone OS Enterprise Deployment Guide" states that "Device

How to save/restore Sublime Text 2 configs/plugins to migrate to another computer?

穿精又带淫゛_ 提交于 2019-12-02 13:46:25
I need to migrate from one Mac to another, and want Sublime Text 2 on a new computer to have all the same configuration/plugins I have installed on the old one. Is there some folder(s) I could just copy and restore on another one to replicate everything? jdc0589 I just set up a good solution for this, it requires dropbox. I am currently using this to sync plugins and settings across ~5 different sublime installs on windows, linux, osx, and a few vm's. Step 1: use PackageControl to manage all your plugins, its awesome. Step 2: Add a "Sublime" directory to your root drop-box directory (I

Is it possible to restore a Postgres database by simply swapping out some files for speed?

北城余情 提交于 2019-12-02 10:35:52
This is a general Postgres backup and restore method question, based on the following use case for a non production server (i.e. a local testing server). I have a ~20gb database that I will mangle during the testing of a php script that will result in the need to drop it and recreate it quite often. Running dumped SQL to restore it takes quite a lot of time, and I'm on a tight deadline, so I wondered if there was a method whereby I could speed up the process. I thought the following may work: Create and populate the database initially Copy its data files to a secondary location mangle the