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
69
votes
8 answers

Should full backup content xml file be empty or not added at all to include all?

So I was adding some stuff to my application manifest and I saw that I had a warning on my application tag: On SDK version 23 and up, your app data will be automatically backed up and restored on app install. Consider adding the attribute…
Chaoz
  • 2,119
  • 1
  • 20
  • 39
69
votes
12 answers

postgresql where does the output of pg_dump go

I am trying to backup a db of postgresql and I want to use pg_dump command. I tried : psql -U postgres postgres-# pg_dump test > backup.sql But I don't know where the output file goes. Any help will be appreciated
Dariush Jafari
  • 5,223
  • 7
  • 42
  • 71
68
votes
6 answers

Moving a Subversion repository to another server

I have a server that hosts my Subversion code base. That server is currently a Windows Server 2003 box, and my IT administrator wants to update it to Windows Server 2008. This means that I'm going to need to move my Subversion repository while the…
Ryan Smith
  • 8,344
  • 22
  • 76
  • 103
67
votes
3 answers

sql server restoring back up error

I have backed up a database I had created on an other machine running SQL server 2012 express edition and I wanted to restore it on my machine, which is running the same. I have ticked the checkbox overwriting existing one, and got this…
danarj
  • 1,798
  • 7
  • 26
  • 54
67
votes
8 answers

How to take complete backup of mysql database using mysqldump command line utility

How can I make a complete backup of mysql database using mysqldump? When I am making a backup, my tables from specified database are only getting backed up. The procedures and functions are not. Here's the backup command I am using : (Operating…
MySQL DBA
  • 5,692
  • 21
  • 54
  • 71
66
votes
10 answers

Firestore new database - How do I backup

Does the google firestore database service provides a backup? If so, how do I backup the database and how do I restore in case of an error?
Gal Bracha
  • 19,004
  • 11
  • 72
  • 86
64
votes
6 answers

How can I schedule a daily backup with SQL Server Express?

I'm running a small web application with SQL server express (2005) as backend. I can create a backup with a SQL script, however, I'd like to schedule this on a daily basis. As extra option (should-have) I'd like to keep only the last X backups (for…
edosoft
  • 17,121
  • 25
  • 77
  • 111
61
votes
10 answers

How do I backup a database file to the SD card on Android?

I'd like to add a feature to my Android app that automatically backs up the SQLite database to the SD card. What's the best way to go about this? Are any examples or tutorials available?
CodeFusionMobile
  • 14,812
  • 25
  • 102
  • 140
61
votes
4 answers

Backup a GitHub repository

What is the best way to create a local backup of a git repository hosted on GitHub, given the following requirements?: The local backup should be a bare repo. The backup should include all branches. It should be easy to (incrementally) update the…
Michael Goerz
  • 4,300
  • 3
  • 23
  • 31
59
votes
7 answers

How to save Atom editor config and list of packages installed

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…
jsbisht
  • 9,079
  • 7
  • 50
  • 55
58
votes
14 answers

What is the best way to implement soft deletion?

Working on a project at the moment and we have to implement soft deletion for the majority of users (user roles). We decided to add an is_deleted='0' field on each table in the database and set it to '1' if particular user roles hit a delete button…
Josh Smeaton
  • 47,939
  • 24
  • 129
  • 164
56
votes
2 answers

meteor: how can I backup my mongo database

How can I make a backup of my meteor mongo database? If I run: meteor mongo the mongodump command does not work inside the meteor mongoshell
kask
  • 1,759
  • 2
  • 15
  • 21
55
votes
10 answers

Export MySQL database using PHP

I've build a php/mysql (wamp) application and deployed on a local workstation. My customer wants to save db and restore it when he likes. I've found this code for saving:
Daan
  • 12,099
  • 6
  • 34
  • 51
53
votes
10 answers

Using Subversion with DropBox

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…
Mustafa
  • 20,504
  • 42
  • 146
  • 209
52
votes
6 answers

restoring git repository from bundle backup

i created backups of my git repository like in How to backup a local Git repository? proposed with git bundle create /tmp/foo-all --all I can see all refs are in there, including a remote ref created by git-svn. Now I can't figure out how to…
user1283719
  • 531
  • 1
  • 4
  • 5