backup

Creating a shadow copy using the “Backup” context in a PowerShell

一世执手 提交于 2019-12-02 20:09:45
I am in the process of writing a PowerShell script for backing up a windows computer using rsync. To this end, I am attempting to use WMI from said script to create a non-persistent Shadow copy with writer participation (as is apparently recommended for backups). I found out from another question ( Accessing Volume Shadow Copy (VSS) Snapshots from powershell ) a way to create a shadow copy in general, but the example given there uses "ClientAccessible" as the context parameter, which result in the creation of a persistent Shadow Copy, without writer participation. While searching for a

On XP, best way to synchronize files and folders [closed]

女生的网名这么多〃 提交于 2019-12-02 19:48:55
Closed. This question is off-topic. It is not currently accepting answers. Learn more . Want to improve this question? Update the question so it's on-topic for Stack Overflow. I'm using SyncToy 1.4 and it would be fine for what I need except that: It can't handle the assigned drive letter changing between systems (e.g. syncing a USB drive), it leaves its own (hidden) files in the folders being synched (is this a limitation of the OS/FS?), it recreates empty folders for ones that have been deleted, it syncs new sub folders in folders that have been unselected from syncing and sometimes finds

Creating SQL Server backup file (.bak) with c# to any location

蓝咒 提交于 2019-12-02 19:44:19
I'm trying to write simple application in C# which will allow me to backup, zip and send over ftp my SQL Server database. One problem I have encountered is that I'm not able to create the backup file (.bak) if I try to do it in different location than "C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\Backup" or "C:\Program Files\Microsoft SQL Server\MSSQL.3\MSSQL\Data" folder. I understand that this is a premission problem. Could someone point me to the resources or write here a short snippet how to programmatically add such a permission to any folder on my system. Regards Kris Andreas

Parsing “date” field of iPhone SMS file from backup

萝らか妹 提交于 2019-12-02 19:32:13
While this isn't a programming question per se, it IS related. So I'm trying to figure out how to parse the SMS DB that gets backed up from the iPhone. I'm looking at the "messages" table, specifically the "date" field. I noticed that the more recent messages are using a different numbering system to indicate the date/time. I've narrowed it down to the switch to iMessage, as I have a message sent at 1318470904, with a reply sent at 340164736. I know for a fact that these messages were sent less than an hour apart, yet they're indicating > 30 years' difference. Anybody know how to accurately

iOS: How can I create a backup copy of my core data base? And how to export/import that copy?

人盡茶涼 提交于 2019-12-02 18:53:44
I want to offer the users of my app the possibility to create a backup of the core data database, especially in case he switches to a new device etc. How would I do that? Especially how can I reimport that file? I mean let's say he makes a backup copy of the database, then changes a ton of stuff and wants to reset to the previous saved backup copy. How would I do that? Thx! Take a look at this sample app, it includes functions for making backups, copying backups to and from iCloud, emailing backups and importing backups from email. http://ossh.com.au/design-and-technology/software-development

I need to automate SQL Azure database backup in SQL Script files. How can i do so?

不羁岁月 提交于 2019-12-02 18:28:25
Presently i am generating SQL scripts everyday to take the backup of SQL Azure database. I need to automate this process using some freeware. How can i achieve this? Note:- I need to take the backup in form of SQL Script to some local machine. Option 1: Run some code/script to backup the database You could run the SQL using the SQLCMD utility. http://msdn.microsoft.com/en-us/library/ms162773.aspx To schedule this, just use the Windows Task Scheduler. http://msdn.microsoft.com/en-us/library/bb756979.aspx Option 2: Use Azure Data Sync Keep a local database in sync with your SQL Azure database,

What's the best way to back up data on Google App Engine?

泪湿孤枕 提交于 2019-12-02 17:19:32
Google itself provides two solutions. http://code.google.com/appengine/docs/python/tools/uploadingdata.html One of these is new and experimental and requires you to run a separate command (and separately enter your username and password) for each kind of data you want to back up. The other requires you to twice write out information on the structure of all the kinds of your data, information that is already implicit in your models file. (We've got 25 different kinds of data so I'm sensitive to this kind of stuff. Plus it will mean future changes will have to be made in 3 places.) Then there's

CouchDB backups and cloning the database

冷暖自知 提交于 2019-12-02 17:17:16
We're looking at CouchdDB for a CMS-ish application. What are some common patterns, best practices and workflow advice surrounding backing up our production database? I'm particularly interested in the process of cloning the database for use in development and testing. Is it sufficient to just copy the files on disk out from under a live running instance? Can you clone database data between two live running instances? Advice and description of the techniques you use will be greatly appreciated. CouchDB supports replication, so just replicate to another instance of CouchDB and backup from there

Backup MySQL users

筅森魡賤 提交于 2019-12-02 17:07:02
How do I backup MySQL users and their privileges? Anything like mysqldump? I am looking for something like: mysqldump -d -u root -p MyTable > Schema.sql mysql -BNe "select concat('\'',user,'\'@\'',host,'\'') from mysql.user where user != 'root'" | \ while read uh; do mysql -BNe "show grants for $uh" | sed 's/$/;/; s/\\\\/\\/g'; done > grants.sql You can backup mysql database using mysqldump -u root -p mysql > mysql.sql and restore mysql database by executing mysql -uroot -p mysql < mysql.sql Dont forget to FLUSH PRIVILEGES after restoring dump. Hope it helps... simplyharsh So far my experience

How to take container snapshots in docker

百般思念 提交于 2019-12-02 16:57:31
How do we take container snapshots and load the snapshot in another docker host . I like to know the container snapshoting and not for image. I get confused with export/import and save/load commands in docker. I like to get more clarity or doc to understand them more deeply . The snapshot to have the metadata to run the container and the roofs . The exact state to be there in the other docker host. Help in this direction would be great. qkrijger The command docker commit takes a snapshot of your container. That snapshot is an image, which you can put on a (private) repository to be able to