backup

Android 1.5: Reading SMS messages.

I'm creating a backup utility for Android and I need to read content of inbox, outbox and dratfs. How can I accomplish that on SDK v1.5? ...

Unable to stop the creation of backups to root by Vim/Emacs

Problem 1: my Vim makes backups with the extension ~ to my root I have the following line in my .vimrc set backup backupdir=~/tmp/vim//,~/tmp//,.//,/var/tmp//,/tmp//$ However, I cannot see a root directory in the line. Why does my Vim make backups of my shell scripts with the extension ~ to my root? Problem 2: my Zsh run my shel...

Optimal combination of files to the blocks of 4.8GB

My drive has DMG-blocks. The sum of their sizes is strictly below 47GB. I have 11 DVDs, each of the size 4.7GB. I want to use as small amount of DVDs as possible, without using compressing (the problem may be superflous, since it considers the most optimal combinations in terms of DMG-files. You can think it in terms of compressed files,...

Editing files remotely on network storage

I would love to have a fat RAID drive array sitting somewhere on the Internet, and just use it for media storage -- essentially I want to play and edit files transparently whether I'm at work or at home. Is this possible? I'm looking at various NAS solutions like this, and while they all tout iTunes streaming and FTP access, I'd like to...

How do I rescue a small portion of data from a SQL Server database backup?

I have a live database that had some data deleted from it and I need that data back. I have a very recent copy of that database that has already been restored on another machine. Unrelated changes have been made to the live database since the backup, so I do not want to wipe out the live database with a full restore. The data I need is ...

Download emails(backup) from gmail programatically

Does anyone know a way to execute a bulk dump of every email of a gmail account and write the emails to a file? I'm looking to write a program that would let users back up there gmail ( probably via imap) and back it up to either individual files or as a pst ( i know pst will probably be much harder) Thanks if you can help ...

Managing a social networking website - what should I do and how?

This isnt actually a programming related query but again - I've set up a free social networking site on a small level. However I need to know what procedures do I need to follow to make sure that in a bad situation I can recover with minimal embarrasment. Everything like what conventions should I follow when I need to : Make updates t...

mysqldump or mysqlhotcopy to backup large MySQL database?

I have some NAS storage to do backups to with my dedicated hosting provider. I setup automatic daily backups with WHM to backup the databases and accounts. The server is hosting one site. When it does the backup, it does a mysql dump, and essentially takes the site down for the whole time it is doing the backup because nobody can connect...

How can I use rsync to backup files changed within a recent period?

Is it possible to specify a time range so that rsync only operates on recently changed files. I'm writing a script to backup recently added files over SSH and rsync seems like an efficient solution. My problem is that my source directories contain a huge backlog of older files which I have no interest in backing up. The only solution I...

How to validate database backups

I have a few remote databases, hosted at my web hosts. For mysql, I use periodic mysqldump and for MSSQL, I use bcp to back them up. How do I validate those backups? How do I make sure that the backup was not partial (its done over the public network). ...

Using Perl to cleanup a filesystem with one or more duplicates

I have two disks, one an ad-hoc backup disk, which is a mess with duplicates everywhere and another disk in my laptop which is an equal mess. I need to backup unique files and delete duplicates. So, I need to do the following: Find all non-zero size files Calculate the MD5 digest of all files Find files with duplicate file names Separa...

Inserting multiple rows in SQL

How do I restore my data from a backup table table1_bu into a new table new_table1, which has the same structure? I need to insert all the rows from table1_bu into new_table1. ...

Wordpress database backup

does anyone know of a good way to automatically backup databases used for wordpress blogs? Preferably a way of getting the backup emailed as a .zip file to the admin user so they can be stored remotely? ...

What is not persisted in a database backup / restore? (SQL Server 2005)

If I take a backup of a database on a SQL 2005 Server, and then restore that backup to a different (new) database on the same database server instance, what things will not be persisted (things like cached execution plans, statistics etc...) ...

How do you backup CRM3.0 when the 'ftcat_documentindex' is offline?

My organisation uses Microsoft CRM 3.0, and I am attempting to backup the database. The following error is preventing me from doing so, does anyone know how to resolve this issue? Error: System.Data.SqlClient.SqlError: The backup of full-text catalog 'ftcat_documentindex' is not permitted because it is not online. Check errorlog file f...

mysql backup preserving relationships

Hi, I would like to know how to backup my data from 2 separate tables (CATEGORIES and SUBCATEGORIES, where SUBCATEGORIES belong to a CATEGORY) in such a way that I can restore the relationship at a later time. I am not sure if mysqldump --opt db_name would suffice. Example: Categories: | ID | name ----------- | 1 | Audio | 9 | Video...

Can I restore a single table from a full mysql mysqldump file?

I have a mysqldump backup of my mysql database consisting of all of our tables which is about 440 megs. I want to restore the contents of just one of the tables form the mysqldump. Is this possible? Theoretically, I could just cut out the section that rebuilds the table I want but I don't even know how to effectively edit a text document...

sql-server-2005-backups-not-being-deleted

I have a customer running SQL Server 2005 under a Windows 2008 Server. Even though the Maintenance plan completes sucessfully with No errors, the backup files do not get deleted. Here is the subplan command, it is set to delete files over a day old: EXECUTE master.dbo.xp_delete_file 0,N''C:\Program Files\Microsoft SQL Server\MSSQL.1\MSS...

SourceSafe backup script - best approach?

I was wondering what the best approach might be for creating a backup of my organisation's SourceSafe database, and moving it to a share on another server? Currently we have a scheduled job which runs a batch file, which in turn executes a PowerShell script. This Powershell script creates a backup file (using SourceSafe command-line arg...

how will you take only stored procedure backup in oracle 10g?

how will you take only stored procedure backup in oracle 10g? ...