backup

MySQL Wrong Restore Data Recovery

I'm almost certain about the answer, but the situation is so critical that I have to ask this question even though I'm %99 sure about the answer. Someone in our office made a backup of a MySQL database and he restored it on a wrong destination database overwriting everything on that destination (The schema of both databases were the sam...

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. ...

Automated incremental backups from Plesk on Centos to Amazon S3

Hi, I've done a far bit of research on this via Google and there seems to be quite a few ways of possibly doing this. I'm looking to incrementally backup new and updated files in two directories on my Plesk run Centos 5.2 server: /backups and /var/www/vhosts (preferable only httdocs within each vhost) Has anyone got some great feedback...

How do I copy only the values and not the references from a Python list?

Specifically, I want to create a backup of a list, then make some changes to that list, append all the changes to a third list, but then reset the first list with the backup before making further changes, etc, until I'm finished making changes and want to copy back all the content in the third list to the first one. Unfortunately, it see...

Sql Server Backup and move backup file: How to cope with file permissions?

With our product we have a simple backup tool for the sql server database. This tool should just make a full backup and restore to and from any folder. Of course, the user (usually an administrator) needs permission to write to the target folder. To avoid the problem of not being able to perform a backup to a network drive, I write the...

Custom Online Backup Solution Advice

I have to implement a way so our customers can backup their SQL 2000/5/8 databasase online. The application they use is a C#/.NET35 Winforms application that connects to a SQL Server (can be 2000/2005/2008, sometimes express editions). The SQL Server is on the same LAN. Our application has a very specific UI and we must code each for...

spring roo backup command lost my files

I generated spring roo project and modifies .jspx files to my styles. Unfortunately, when i used the backup command, spring roo was auto-generated files to the original one. Thus, my .jspx files are noy my styles. How should i do to recovery my files back from this command. ...

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 directories (I have a few of them) contains a hierarchy of c++ files in it, and interspersed wi...

Can I restore my source code that has been uploaded into Google AppEngine?

I recently had a hard drive crashed and lost all of my source code. Is it possible to pull/checkout the code that I have already uploaded to Google App Engine (like the most recent version)? ...

Is the RESTORE process dependent on schema?

Let's say I have two database instances: InstanceA - Production server InstanceB - Test server My workflow is to deploy new schema changes to InstanceB first, test them, and then deploy them to InstanceA. So, at any one time, the instance schema relationship looks like this: InstanceA - Schema Version 1.5 InstanceB - Schema Vers...

Is copying /var/lib/mysql a good alterntive to mysqldump?

Since I'm making a full backup of my entire debian system, I was thinking if having a copy of /var/lib/mysql directory is a viable alternative to dumping tables with mysqldump. are all informations needed contained in that directory? can single tables be imported in another mysql? can there be problems while restoring those files on a ...

Mercurial Backup

How could I enable automatic (incremental) backups of a Mercurial (central/main) repository? I'm coming from subversion where I was able to make a commit-hook that uploaded changes to S3. Edit: If this sort of strategy doesn't make sense for Mercurial, what backup strategy would make sense? ...

Filesystem synchronization library?

Hi, I've got 10 GB of files to back up daily to another site. The client is way out in the country so bandwidth is an issue. Does anyone know of any existing software or libraries out there that help with keeping a folder with its files synchronized across a slow link, that is it only sends files across if they have changed? Some kind o...

Backup of folder + database - Python

Hi there, I feel like this is quite delicate, I have various folders whith projects I would like to backup into a zip/tar file, but would like to avoid backing up files such as pyc files and temporary files. I also have a Postgres db I need to backup. Any tips for running this operation as a python script? Also, would there be an...

Mercurial local repository backup

I'm a big fan of backing things up. I keep my important school essays and such in a folder of my Dropbox. I make sure that all of my photos are duplicated to an external drive. I have a home server where I keep important files mirrored across two drives inside the server (like a software RAID 1). So for my code, I have always used Subve...

Backing Up Database from Remote Server to Local in VB.NET

Hi, I am making a VB.NET application that can download/backup the database that is currently on a remote server. I have Remote Server IP,Username,Password and Database name. I am also able to connect to it. But i don't know what to do after connecting to it. I don't know what all files are need to be backed up. ( i think database and ...

SQL Server database backup: Network Service file access

When trying to run the following database backup command from my code I get an "Operating system error 5(Access is denied.)" error. This is because the log on account for the SQL Server Windows Service is 'Network Service' and that does not have access to right to this folder. BACKUP DATABASE [AE3DB] TO DISK = 'c:\AE3\backup\AE3DB.bak' ...

MySQL database - backup problem

Hi I need to backup MySQL database and then deploy it on another MySQL server. The problem is, I need it backup without data , just script which creates database, tables, procedures, users, resets autoincrements etc. ... I tried MySQL administrator tool (Windows) and UNchecked "complete inserts check box", but it still created it ... T...

db2 online backup to tape

SAP : ecc 6.0 os : linux 64 db : DB2 Tape : Hp data protector 6.0 Issue : Online backup to tape fails Running : db2 backup db hcp online to /dev/rst0 /dev/rst0==> is a tape volume Trying to take online backup from db2 from command prompt to the tape. hclprdm:~ # su - db2hcp hclprdm:db2hcp 51> db2 backup db hcp online to /dev/rst...

Restore latest backup from bak file with script

I create backups using the same .bak file. I've made a script to automagically restore this backup. RESTORE DATABASE [xxx] FROM DISK = N'xxx.bak' WITH FILE = 10, NOUNLOAD, REPLACE, STATS = 10 GO Here, the backup set to restore is explicitly specified. However, I always want to restore the latest set available. By default, it us...