Questions tagged [backup]

The act of saving one's files, data, applications, etc. to secondary media, allowing for the recovery of the files, data, applications, etc. in the event that the primary media becomes unavailable (fails). Also the secondary media used for storage.

5770 questions
100
votes
6 answers

How do you organise multiple git repositories, so that all of them are backed up together?

With SVN, I had a single big repository I kept on a server, and checked-out on a few machines. This was a pretty good backup system, and allowed me easily work on any of the machines. I could checkout a specific project, commit and it updated the…
dbr
  • 165,801
  • 69
  • 278
  • 343
97
votes
7 answers

PostgreSQL: improving pg_dump, pg_restore performance

When I began, I used pg_dump with the default plain format. I was unenlightened. Research revealed to me time and file size improvements with pg_dump -Fc | gzip -9 -c > dumpfile.gz. I was enlightened. When it came time to create the database…
Joe Creighton
  • 1,132
  • 1
  • 9
  • 13
92
votes
16 answers

Table-level backup

How to take table-level backup (dump) in MS SQL Server 2005/2008?
user82431
  • 1,671
  • 2
  • 14
  • 7
92
votes
4 answers

How to decrypt an encrypted Apple iTunes iPhone backup?

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…
Aidan Fitzpatrick
  • 1,950
  • 1
  • 21
  • 26
89
votes
4 answers

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

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…
earlyadopter
  • 1,537
  • 4
  • 16
  • 21
87
votes
4 answers

mysqldump with create database line

I'm in the process of moving my files onto another computer, and one thing I would like to do is to transfer the data in my MySQL database. I want to dump the databases into .sql files, but also have the create database db_name including in the…
Vince
  • 2,596
  • 11
  • 43
  • 76
84
votes
10 answers

DBCC SHRINKFILE on log file not reducing size even after BACKUP LOG TO DISK

I've got a database, [My DB], that has the following info: SQL Server 2008 MDF size: 30 GB LDF size: 67 GB I wanted to shrink the log file as much as possible and so I started my quest to figure out how to do this. Caveat: I am not a DBA (or even…
Ed Sinek
  • 4,829
  • 10
  • 53
  • 81
84
votes
8 answers

How to parse the Manifest.mbdb file in an iOS 4.0 iTunes Backup

In iOS 4.0 Apple has redesigned the backup process. iTunes used to store a list of filenames associated with backup files in the Manifest.plist file, but in iOS 4.0 it has moved this information to a Manifest.mbdb You can see an example of this…
Padraig
  • 1,569
  • 2
  • 15
  • 21
82
votes
6 answers

How can I slow down a MySQL dump as to not affect current load on the server?

While doing a MySQL dump is easy enough, I have a live dedicated MySQL server that I am wanting to setup replication on. To do this, I need dumps of the databases to import to my replication slave. The issue comes when I do the dumps, MySQL goes…
z33k3r
  • 831
  • 1
  • 7
  • 5
79
votes
2 answers

How to take container snapshots in docker

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…
tanmally
  • 996
  • 1
  • 9
  • 13
78
votes
7 answers

SQL server 2008 backup error - Operating system error 5(failed to retrieve text for this error. Reason: 15105)

Can anyone help me, I'm trying to backup a database located on localhost\SQLEXPRESS but i keep getting the following error: Backup failed for Server 'localhost\SqlExpress'. (Microsoft.SqlServer.SmoExtended) For help, click:…
c11ada
  • 4,302
  • 15
  • 48
  • 62
76
votes
3 answers

Best method for PostgreSQL incremental backup

I am currently using pg_dump piped to gzip piped to split. But the problem with this is that all output files are always changed. So checksum-based backup always copies all data. Are there any other good ways to perform an incremental backup of a…
Dennis Thrysøe
  • 1,791
  • 4
  • 19
  • 31
75
votes
10 answers

How to import a SQL Server .bak file into MySQL?

The title is self explanatory. Is there a way of directly doing such kind of importing?
Marcel
  • 6,143
  • 15
  • 46
  • 52
73
votes
8 answers

Is "git push --mirror" sufficient for backing up my repository?

I'm a solo developer, working in a local Git repository. For backups, I want to send an exact copy of that repository off to another server. Is it sufficient to do this? git push --mirror I'm asking because I can sometimes run this command two or…
Thomas
  • 174,939
  • 50
  • 355
  • 478
71
votes
5 answers

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

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.
gautamlakum
  • 11,815
  • 23
  • 67
  • 90