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.
Questions tagged [backup]
5770 questions
2
votes
1 answer
Batch File backup - compare current file to most recent differently named file in irregularly named child DIRs
Along with Dropbox's Packrat I have a Batch file that I have scheduled to request to run on Mon, Wed and Friday to backup my current project's Photoshop, Fireworks and PHP/WWW files onto a server.
The command is along the lines of:
PAUSE
set…

ZZ9
- 2,177
- 2
- 27
- 38
2
votes
1 answer
Loading PostgreSQL Database Backup Into Docker/Initial Docker Data
I am migrating an application into Docker. One of the issues that I am bumping into is what is the correct way to load the initial data into PostgreSQL running in Docker? My typical method of restoring a database backup file are not working. I…

Sagebrush GIS
- 207
- 4
- 14
2
votes
2 answers
Git as a backup tool: how to keep only latest N git commits both in local and remote?
In a scenario when git is used as a backup tool from let's say daily cron commit/push to remote, is it possible to force git to keep only the latest 30 commits (both in local and remote) that is, to permanently remove (both in local and remote) all…

Antonello
- 6,092
- 3
- 31
- 56
2
votes
2 answers
Copy Wordpress to Staging losing wp_options
I'm copying wordpress from my production to my staging site.
I do this by:
copying all files
making a mysql dump
importing mysql dump
updating urls in the database with:
Statements:
UPDATE wp_options SET option_value = REPLACE(option_value,…

Manuel
- 9,112
- 13
- 70
- 110
2
votes
1 answer
Backup failed using C# Code
My problem is that I can't backup my database in wpf using C# code. The error is 'Backup failed for Server 'DELL/LOCALSERVER'. The code I'm using is this:
private void btnBackup_Click(object sender, RoutedEventArgs e)
{
if…

psyche
- 75
- 9
2
votes
3 answers
Quick backup system for large projects
I've always backed up all my source codes into .zip files and put it in my usb drive and uploaded to my server somewhere else in the world.. however I only do this once every two weeks, because my project is a little big.
Right now my project…

kamziro
- 7,882
- 9
- 55
- 78
2
votes
3 answers
Bash: for loop, copy, backup
Hey, not 100% sure what this error means.
% for f in "*" ; do cp $f ../backup/backup$f ; done
cp: ../backup/backup* not found
The purpose is to copy all the files into a folder into a backup folder and rename the files to backup.

sixtyfootersdude
- 25,859
- 43
- 145
- 213
2
votes
1 answer
Why pg_dump was not getting the password in cron job?
We are using cron job to backup Postgres database on Ubuntu 12.04. The pg_dump command was added to a bash script which has been running for backing up SQLite. The command is:
pg_dump -U postgres -Fc mydbname > /home/myback_$now #$now append last…

user938363
- 9,990
- 38
- 137
- 303
2
votes
0 answers
Magento changes file permission of cron.sh after backup
If I do a backup magento always changes the file permission of the cron.sh to 644 and the cron daemon sends me an error message "/bin/sh: /magento/cron.sh: Permission denied". The error is correct because the user doing the cronjob hasn't permission…

Tobi
- 65
- 1
- 10
2
votes
1 answer
replace azure database with backup
I have a backup file (.bacpac) of an azure database. I'd like to replace the existing azure database with that backup. What is the recommended procedure:
importing the backup into a new database and rename the database to the old one?
using SSMS…

purbsel
- 307
- 8
- 21
2
votes
1 answer
Create backup of MS SQL 2005 DB without full-text indexes and catalogs
Good day!
My new hosting provider doen't support restoring MS SQL backups with full-text indexes\catalogs inside.
I can't found any way to create a backup without full-text capabilities inside. One way is to drop fulltext catalog and indexes, do a…

artvolk
- 9,448
- 11
- 56
- 85
2
votes
1 answer
backup_data: SKIP_PADDING FAILED at line X
I am using the Google Backup API for SharedPreferences as described here:
http://developer.android.com/guide/topics/data/backup.html#RequestingRestore
When using bmgr, as described here:
http://developer.android.com/tools/help/bmgr.html
I do get the…

Demonick
- 2,116
- 3
- 30
- 40
2
votes
1 answer
create mongodb backup and upload to amazon s3
I was trying to create MongoDB backup and upload it to amazon s3. This is my script.
#!/bin/bash
#Force file syncronization and lock writes
mongo admin --eval…

V Manikandan
- 370
- 6
- 24
2
votes
1 answer
Backup data unlogged table
I'm trying to understand if it's possible to include in database backup also unlogged table.
http://www.postgresql.org/docs/9.3/static/sql-createtable.html
Here it's explained that on crash table is truncated (as expected), but no reference to…

Luigi Saggese
- 5,299
- 3
- 43
- 94
2
votes
0 answers
Inno setup: copy file to backup folder only if it doesn't match file to be installed?
I've written an Inno Setup script that copies a few existing files to a backup folder, appending the date of the current installation to the backed-up filename, like this:
Source: "{app}\vDosDisk\WP51\VDOSPCL.PRS"; DestDir:…

emendelson
- 416
- 5
- 18